Upgrade to Polkadot SDK stable2412-5 and merge upstream changes#13
Merged
Upgrade to Polkadot SDK stable2412-5 and merge upstream changes#13
Conversation
* Introduce account provider interface * Use AccountProvider logic at pallet-evm * Remove redundant ower type usage * Fix fmt * Fix clippy * Fix clippy * License at primitives/evm/src/account_provider.rs * Rename NativeSystemAccountProvider to FrameSystemAccountProvider * Formatting corrcetions at account_provider.rs --------- Co-authored-by: MOZGIII <mike-n@narod.ru>
) * feat: Implement TestDefaultConfig for pallet-evm * feat: Implement TestDefaultConfig for pallet-ethereum * style: Reformat * Extend to the ethereum pallet * chore: Align ChainId in TestDefaultConfig with template runtime * chore: Clean up imports * test: Fix broken pallet-ethereum tests * chore: Fix clippy error * chore: Fix clippy error (2) --------- Co-authored-by: bear <boundless.forest@outlook.com>
* A new trait for recording foreign metrics * Remove Metric trait * rename BasicMetric to Metric * add unit tests and a new MetricError enum * Add ProofSizeMeter * Add ProofSizeMeter to WeightInfo * formatting * Add RefTimeMeter to WeightInfo * add storage meter to WeightInfo * rename metric to resource * code refactor * remove unused functions * make clippy happy * minor improvements * rename meter to resource * compute new storage created by SSTORE * revert changes * compute storage growth for opcodes * compute the storage quota per tx * pin evm temporarily * record storage growth for opcodes * update GAS_LIMIT_STORAGE_GROWTH_RATIO for tests * add support to record storage growth for precompiles * fix tests * fix formatting * fix storage growth parameters for tests * add rust integration tests * fix typo * fix recording storage growth of a special use case of SSTORE * use saturating add * minor improvements * add license to meter.rs * fix clippy warnings * pin evm to master * update evm to the latest commit * check limit exceedance before updating the usage * Use BtreeSet * add support for storage growth in precompiles * clippy warnings * update to evm 0.41.0 * Update Cargo.toml Co-authored-by: Qinxuan Chen <koushiro.cqx@gmail.com> * update Cargo.lock * format * fix tests * update license information in meter.rs to Apache-2.0 --------- Co-authored-by: Qinxuan Chen <koushiro.cqx@gmail.com>
Co-authored-by: librelois <c@elo.tf>
* estimate gas: always ignore user provided nonce * add: test estimateGas ignores nonce --------- Co-authored-by: Éloïs <c@elo.tf>
Signed-off-by: goodfirm <fanyishang@yeah.net>
* add backend method first_block_hash * fix comment --------- Co-authored-by: Éloïs <c@elo.tf>
…adot-evm#1551) * feat(precompile-utils): implement helper methods * add RemovedPrecompilesAt for filtering a list of removed precompiles * impl is_empty() for BoundedVec * appease clippy * appease clippy x2 --------- Co-authored-by: Rodrigo Quelhas <rodrigo_quelhas@outlook.pt>
* irregular verb form * irregular verb form * typos * typo * irregular verb form
Signed-off-by: linchizhen <jiayanbing@yeah.net>
…vm#1567) Co-authored-by: Rodrigo Quelhas <rodrigo_quelhas@outlook.pt>
* Merge pull request polkadot-evm#225 from moonbeam-foundation/elois-storage-oog propagate OOG from pov and MBIP5 * taplo fmt --------- Co-authored-by: Éloïs <c@elo.tf>
* Fine-grained Pending state Signed-off-by: linning <linningde25@gmail.com> * Use CountedStorageMap for managing pending transactions Signed-off-by: linning <linningde25@gmail.com> --------- Signed-off-by: linning <linningde25@gmail.com>
* build(deps): bump syn from 1.0.109 to 2.0.90 * build(deps): Clean up dependencies
* update evm version * Cancun support (polkadot-evm#206) * use Cancun config * feat: support transient storage (EIP-1153) * Update evm dependency * Adds a new opcode (MCOPY) for copying memory * feat: support cancun selfdestruct changes (EIP-6780) --------- Co-authored-by: Agusrodri <agusrodriguez2456@gmail.com> Co-authored-by: Ahmad Kaouk <ahmadkaouk.93@gmail.com> * style: formatting * style: fix clippy errors * style: fix issues * revert: test * fix: solidity pragma * fix: fix tests * fix: fix tests * fix gas tests * test:update gas estimation result * use crates.io version * remove Suicided storage and all related items * Remove SuicideQuickClearLimit configuration from EVM precompile and related modules --------- Co-authored-by: Rodrigo Quelhas <22591718+romarq@users.noreply.github.com> Co-authored-by: Agusrodri <agusrodriguez2456@gmail.com> Co-authored-by: Ahmad Kaouk <ahmadkaouk.93@gmail.com> Co-authored-by: Rodrigo Quelhas <rodrigo_quelhas@outlook.pt>
* bound VariadicValue multiple variant * fix: increase VARIADIC_MULTIPLE_MAX_SIZE to 1024 * style: fix --------- Co-authored-by: Éloïs <c@elo.tf>
* Upgrade the version of `polkadot-sdk` to `stable2412` * fix: `Invalid params`: missing field `accessList` * chore: `Deref` is not necessarily required * chore: remove unnecessary code that uses the `U256` type. * remove non-essential trait bounds from `fp-self-contained` these changes are based on the [suggestions](conr2d@df360d6) from @conr2d. * chore: using full-qualified name of an enumeration for matching arms is a best practice.
6 tasks
JohnReedV
approved these changes
May 23, 2025
sam0x17
approved these changes
May 24, 2025
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
This PR introduces multiple things:
Upstream changes from commit polkadot-evm/frontier@d21ddc2 to commit polkadot-evm/frontier@986eb1a.
Polkadot SDK version upgraded to stable2412-5.
Fixes the failing tests due to EVM/Substrate factor of 10e9 and some others due to whitelist check for smart contracts creation.
Fixes the workflows, now they run correctly