-
Notifications
You must be signed in to change notification settings - Fork 12
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
NODE-65, deps: polkadot sdk migration #36
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dnjscksdn98
added
dependencies
Pull requests that update a dependency file
release
Release a new version
labels
Jan 12, 2024
dnjscksdn98
force-pushed
the
pre-v1.3.0
branch
from
January 12, 2024 08:07
e2b3afa
to
d230dde
Compare
dnjscksdn98
force-pushed
the
NODE-65-deps/polkadot-sdk-migration
branch
from
January 12, 2024 08:22
2fd9be3
to
8881b43
Compare
alstjd0921
approved these changes
Jan 19, 2024
dnjscksdn98
added a commit
that referenced
this pull request
Feb 6, 2024
* NODE-79, bifrost pallets improvements (#34) * NODE-79, feature: migrate to standard storage version for bfc-staking * NODE-79, feature: migrate to use new standard storage version for `bfc-offences`, `bfc-utility`, `relay-manager`. * NODE-79, refactor: replace `OrderedSet` with `BTreeMap` & `BTreeSet` * NODE-79, refactor: calculate translate weight info * NODE-79, refactor: Remove redundant code * NODE-79, refactor: Remove panic point in `bfc-staking` as much as possible * NODE-79, refactor: use btree set in `SelectedCandidates`, `SelectedFullCandidates`, `SelectedBasicCandidates`, `CachedSelectedCandidates` * NODE-79, refactor: remove unnecessary path prefix * NODE-79, refactor: remove unnecessary reverse * NODE-79, refactor: migrate `CandidatePool` to use BoundedBTreeMap * NODE-79, refactor: kill storage `MinTotalSelected` * NODE-79, refactor: remove unnecessary path prefix * NODE-79, fix: typo * NODE-79, refactor: use iter_mut * NODE-79, chore: remove deadcode * NODE-79, refactor: use mutate * NODE-79, refactor: clone in small range * NODE-79, refactor: no need to be complicate * NODE-79, refactor: use getter * NODE-79, fix: should use take instead get * NODE-79, refactor: remove dead code * NODE-79, refactor: no need to be complicated * NODE-79, refactor: use getter * NODE-79, refactor: `relay-manager` * NODE-79, refactor: . * NODE-79, refactor: remove redundant * NODE-79, fix: revert message * NODE-79, refactor: `bfc-staking` * NODE-79, refactor: `relay-manager` * NODE-79, refactor: move under util methods * NODE-79, refactor: impl From<Offence> for EvmOffence * NODE-79, refactor: reduce getter call * NODE-79, refactor: remove unnecessary clone * NODE-79, refactor: `Nominator.initial_nominations` type to BTreeMap * NODE-79, refactor: . * NODE-79, chore: remove dead code * NODE-79, fix: * NODE-79, fix: * NODE-79, test: fit into new storage format * NODE-79, fix: modify if exists else insert * NODE-79, refactor: remove dead code * NODE-79, fix: condition check on OnRuntimeUpgrade * NODE-79, chore: comment * NODE-79, fix: remove duplicate translate in migrations * NODE-65, deps: polkadot sdk migration (#36) * NODE-64, deps: upgrade to bifrost-polkadot-v1.3.0 * NODE-64, chore: use * NODE-64, chore: remove precompile utils * NODE-64, chore: replace to * NODE-64, chore: move to * NODE-65, chore: apply block number prelude to precompiles * NODE-65, chore: add hold/freeze reasons to * NODE-65, chore: remove hold identifier from * NODE-65, chore: add to * NODE-65, chore: add AllowMultipleBlocksPerSlot to pallet_aura * NODE-65, chore: add new types to pallet_treasury * NODE-65, chore: make pallet_preimage use Consideration * NODE-65, chore: add missing generic type to GenesisConfig * NODE-65, chore: update pallet_preimage * NODE-65, chore: add IdentityInformation to pallet_identity * NODE-65, chore: remove MaxPeerDataEncodingSize from pallet_im_online * NODE-65, chore: add SuicideQuickClearLimit to pallet_evm * NODE-65, feat: implement GenesisBuilder runtime api * NODE-65, chore: rename Index to Nonce * NODE-65, chore: specify txpool feature to fc_rpc * NODE-65, fix: pending runtime api for pending state * NODE-65, chore: Removal of execution strategies * NODE-65, chore: Set StateBackend::Transaction to PrefixedMemoryDB * NODE-65, chore: Modular block request handler * NODE-65, chore: implement eth_call state override * NODE-65, fix: resolve service.rs compile errors * NODE-65, fix: replace to RuntimeGenesisConfig in chain_spec * NODE-65, chore: add missing clone() * NODE-65, chore: remove native runtime version api * NODE-65, fix: replace to fp-account * NODE-65, fix: remove RuntimeFreezeReason and sort imports * NODE-65, chore: remove unneccessary self imports * NODE-65, fix: rollback cherry-picked EthereumRuntimeRPCApi changes * NODE-65, fix: add missing evm features * NODE-65, deps: release v1.3.0 * NODE-65, fix: remove unused params * NODE-65, fix: use correct crate features * NODE-65, fix: remove std feature on pallet GenesisConfig Default impl * NODE-65, test: replace deprecated storage * NODE-65, test: estimated gas should be correct * NODE-65, test: split runtime tests * NODE-65, test: check balance consistancy * NODE-65, test: check balance consistancy (2) * NODE-65, feat: Only use substrate-wasm-builder when std feature is enabled * NODE-65, deps: update Cargo.lock * NODE-65, fix: resolve imports * NODE-65, fix: update runtime tests * NODE-65, fix: handle runtime test failures * NODE-65, deps: update node packages * NODE-65, deps: update Cargo.lock * NODE-65, fix: remove test config * NODE-84, chore: bifrost-frontier/pull/12 (#37) * NODE-65, test: bifrost-frontier/pull/12 test code --------- Co-authored-by: Min-seong Kwon <kwonarseus@gmail.com> * NODE-78, fix: delayed relayer address update (#38) * NODE-64, deps: upgrade to bifrost-polkadot-v1.3.0 * NODE-65, fix: pending runtime api for pending state * NODE-65, chore: implement eth_call state override * NODE-65, test: split runtime tests * NODE-65, fix: update runtime tests * NODE-65, fix: handle runtime test failures * NODE-65, fix: remove test config * NODE-78, feat: use delayed relayer sets * NODE-78, feat: handle relayer sets on round update * NODE-78, fix: add verifications on scheduling leaves * NODE-78, test: add basic set relayer tests * NODE-78, test: add advanced tests * NODE-78, feat: add constraints to set_controller * NODE-78, feat: add constraints to set_validator_commission * NODE-78, chore: expect replacement will always succeed * NODE-78, chore: add missing string docs * NODE-78, fix: round update must be priorly set * NODE-78, chore: add missing string docs * NODE-78, fix: remove redundant state checks * deps: increase runtime version * test: update live runtime tests --------- Co-authored-by: Min-seong Kwon <kwonarseus@gmail.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This PR contains major changes occurred by
polkadot-sdk@v1.3.0
Native Changes
Substrate Changes
v1.0.0
Block
toframe_system
instead ofconstruct_runtime
and removesHeader
andBlockNumber
paritytech/substrate#14437Index
forNonce
paritytech/substrate#14290v1.1.0
StateBackend::Transaction
toPrefixedMemoryDB
paritytech/substrate#14612safe-mode
andtx-pause
paritytech/substrate#12092Peerset
compatibility layer paritytech/substrate#14337v1.2.0
v1.3.0
Runtime[Hold/Freeze]Reason
paritytech/polkadot-sdk#1900IdentityInfo
generic inpallet-identity
paritytech/polkadot-sdk#1661Frontier Changes
estimate_gas
result differs widely from theused_gas
polkadot-evm/frontier#1239eth_getBlockReceipts
polkadot-evm/frontier#1156Type of change
Checklist
cargo-clippy
and linted my code.