Skip to content
New issue

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

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

Already on GitHub? # to your account

Adjust vtoken voting storage #1547

Merged
merged 7 commits into from
Dec 9, 2024
Merged

Adjust vtoken voting storage #1547

merged 7 commits into from
Dec 9, 2024

Conversation

SunTiebing
Copy link
Contributor

No description provided.

# Conflicts:
#	pallets/vtoken-voting/src/benchmarking.rs
#	pallets/vtoken-voting/src/lib.rs
#	pallets/vtoken-voting/src/migration.rs
#	pallets/vtoken-voting/src/tests/kusama_common_test.rs
#	pallets/vtoken-voting/src/tests/polkadot_common_test.rs
#	pallets/vtoken-voting/src/tests/vbnc_test.rs
@ark930 ark930 merged commit 37c87f0 into v0.15.3 Dec 9, 2024
1 check passed
@ark930 ark930 deleted the adjust-vtoken-voting-storage branch December 9, 2024 13:37
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 <lark930@gmail.com>
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 <lark930@gmail.com>

* Standardize the inclusion of tokens.

* fmt code

* fix clippy

---------

Co-authored-by: Edwin Wang <lark930@gmail.com>
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants