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

Upgrade Substrate to v1.0.0 #821

Merged
merged 114 commits into from
Jul 22, 2024
Merged

Upgrade Substrate to v1.0.0 #821

merged 114 commits into from
Jul 22, 2024

Conversation

surangap
Copy link
Contributor

@surangap surangap commented Mar 20, 2024

This PR upgrades Substrate, Frontier versions from polkadot-v0.9.30 to polkadot-v1.0.0

TRN changes

Several improvements at the TRN codebase level to go with the Substrate v1.0.0

Important PRs/Commits

Frontier changes

polkadot-evm/frontier@polkadot-v0.9.30...polkadot-v1.0.0

Important PRs/Commits

Substrate changes

paritytech/substrate@polkadot-v0.9.30...polkadot-v1.0.0

Important PRs/Commits

Important Migrations

PreRequire

  • Make sure the Scheduler is on storage version 3, force set to 3 if required before the runtime upgrade
    • key - 0x3db7a24cfdc9de785974746c14a99df94e7b9012096b41c4eb3aaf947f6ea429
    • value - 0x0300

PostUpgrade

Known Issues

Refer #860

* GenesisBuild -> BuildGenesisConfig

* Index -> Nonce, #14290

* Bump ethabi v18.0.0, ethereum v14.0.0, ethereum-types v0.14.1

* Transfer merge to Mutate, use of fungibles::metadata::Inspect instead of fungibles::InspectMetadata round 1.

* Update Inspect, Mutate, Unbalanced, TransferExt trait implementations for pallet-assets-ext, update the extrinsics to use new trait updates.

* Update fungible::Inspect, Currency trait implementations for AssetCurrency.

* Update mocks and tests

* Update Multicurrency usage

* fmt

* Update Multicurrency use tests
surangap and others added 17 commits June 11, 2024 11:31
* Add disable-eth-p2p flag to cli

* Remove TODO

* Rename to eth_p2p and add default as true

* Simplify clap rules

* Rename flag to ethy_p2p
* futurepass_registrat -> futurepass-registrat dir

* pallet_vertex -> pallet_vortex_distribution

* pallet-vortex -> pallet-vortex-distribution

* updated root cargo.toml with workspace features and all deps

* client crate cargo workspace support

* ethy-gadget crate cargo workspace support

* ethy-gadget-rpc crate cargo workspace support

* evm-precompile crates cargo workspace support

* evm-precompile macro utils updates due to updated sha3 dep

* pallet crates cargo workspace support

* pallet rpc crates cargo workspace support

* pallet rpc runtime-api crates cargo workspace support

* seed-primitives crate cargo workspace support

* seed-runtime-constants crate cargo workspace support

* seed-runtime crate cargo workspace support

* updated CI to test all crates and all features

* updated Cargo.lock file

* updated readme file

* ethy-gadget added back original authors

* seed-runtime default features false all dev deps

* removed redundant dependency primitive-types
* structs for frontier sqlite backend

* cli options for frontier sqlite backend

* impl support for frontier sqlite backend cli opts
* added function to get prefix length

* using getPrefixLength function to strip prefix length for extrinsic signing

* can submit fee-proxy extrinsic xrpl test robustness, using dynamic asset id

* updated xrpl ed25519 based signature e2e test

* xrpl xaman futurepass fee-proxy proxy-extrinsic e2e test updated to use evm inner call

* additional test to validate prefix length bounds
* Update FeeControl configs as same as the mainnet.

* Add cost figures
* pallet-evm benchmarks

* Switch to BLOCK_GAS_LIMIT.

* Remove redundant code.

* Increase BLOCK_GAS_LIMIT to 150mil

* Update the BLOCK_GAS_LIMIT to 14_800_000

* Add new cost figures.

* Update the BLOCK_GAS_LIMIT to 15m

* Cost figures added.

* Add cost numbers. (#858)
* Update deps to custom Substrate branch

* Move all deps to workspace cargo.toml

* Add patch for substrate branch

* Update nightly version to 2024-04-29 (First build for Rust 1.80.0)

* Update nightly to latest, remove default-features from patch
* Add transaction payment to Genesis config and update ERC721 costs

* Update TxCosts and add temporary package.json script

* Update txCosts
runtime/src/lib.rs Outdated Show resolved Hide resolved
Copy link
Contributor

@JasonTulp JasonTulp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!! 🚀

@surangap surangap requested a review from zees-dev July 22, 2024 03:46
Copy link
Contributor

@zees-dev zees-dev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍 🚀 🚀

@surangap surangap merged commit d20594e into main Jul 22, 2024
2 checks passed
@surangap surangap deleted the feat/substrate-v1.0.0 branch July 22, 2024 04:14
This was referenced Jul 22, 2024
@surangap surangap mentioned this pull request Aug 6, 2024
4 tasks
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.

4 participants