Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adjust vtoken voting storage #1545

Merged
merged 5 commits into from
Dec 9, 2024
Merged

Adjust vtoken voting storage #1545

merged 5 commits into from
Dec 9, 2024

Conversation

SunTiebing
Copy link
Contributor

No description provided.

@SunTiebing SunTiebing changed the base branch from develop to v0.15.3 December 6, 2024 15:04
@ark930 ark930 merged commit 0fc4928 into v0.15.3 Dec 9, 2024
1 check passed
@ark930 ark930 deleted the adjust-vtoken-voting-storage branch December 9, 2024 07:14
ark930 added a commit that referenced this pull request Dec 12, 2024
* Bifrost v0.15.3

* Adjust vtoken voting storage (#1545)

* change VotingFor and ReferendumTimeout storage type to StorageDoubleMap

* fix clippy

* fix clippy

* adjust test code

* Remove conditional compilation.

* Adjust vtoken voting storage (#1547)

* change VotingFor and ReferendumTimeout storage type to StorageDoubleMap

* fix clippy

* fix clippy

* adjust test code

* Remove conditional compilation.

* Set CurrencyIdOf in the VotingFor storage as mandatory and AccountIdOf as optional.

* Rename storage to fix try-runtime error

* change VotingFor to VotingForV2 and ReferendumTimeout to ReferendumTimeoutV2

---------

Co-authored-by: Edwin Wang <[email protected]>
ark930 added a commit that referenced this pull request Dec 13, 2024
* Bifrost v0.15.3 (#1543)

* Bifrost v0.15.3

* Adjust vtoken voting storage (#1545)

* change VotingFor and ReferendumTimeout storage type to StorageDoubleMap

* fix clippy

* fix clippy

* adjust test code

* Remove conditional compilation.

* Adjust vtoken voting storage (#1547)

* change VotingFor and ReferendumTimeout storage type to StorageDoubleMap

* fix clippy

* fix clippy

* adjust test code

* Remove conditional compilation.

* Set CurrencyIdOf in the VotingFor storage as mandatory and AccountIdOf as optional.

* Rename storage to fix try-runtime error

* change VotingFor to VotingForV2 and ReferendumTimeout to ReferendumTimeoutV2

---------

Co-authored-by: Edwin Wang <[email protected]>

* Standardize the inclusion of tokens.

* fmt code

* fix clippy

---------

Co-authored-by: Edwin Wang <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants