-
Notifications
You must be signed in to change notification settings - Fork 336
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update frontier (evm + weight v2) (#2316)
* Update evm to 0.39 * Adapted tests Fixed parameter in execute is_precompile_or_fail check format * Removed unused imports * Wip fallible discriminant * fmt * wip fix test assets costs * fix test assets costs * TODO temp ignore precompile macro tests * update frontier pin * update tests * just hardcode `GasLimitPovSizeRatio` as a constant * fix xcm ts tests * oops * configure runtime api weigh_limit * suggestions * Updates EVM PoV to support PoV Gasometer * fix test evm-over-pov * Update evm pin * update ts tests * Update evm pin 2 * editorconfig * update frontier pin * prettier * fix * compute properly eth tx limits in ts tests * compute safely EXTRINSIC_GAS_LIMIT * typo * runtime api TODO fix * Adds test for Gasometer PoV limit/estimate check * runtime api eth_call estimate tx len * fix ts tests estimate gas * prettier * suggestion * suggestion * optimize estimated_transaction_len * prettier gas_limit check * fix xcm to evm encoded tx len * Revert "fix xcm to evm encoded tx len" This reverts commit 93bee9e. * account for proof size in precompiles try_dispatch * fmt * precompile handler: add helper function record_db_read * migrate precompile db reads: xcm-utils * migrate precompile db reads: xcm-transactor * migrate precompile db reads: assets-erc20::eip2612 * migrate precompile db reads: precompile utils * Revert "migrate precompile db reads: assets-erc20::eip2612" This reverts commit 6801477. * migrate precompile db reads: assets-erc20::eip2612 * fix rust tests * Update precompiles/xcm-transactor/src/functions.rs Co-authored-by: Agustín Rodriguez <agus@purestake.com> * migrate precompile db reads: pallet-democracy * migrate precompile db reads: fix pallet-democracy * more precise comment * account AssetId * migrate precompile db reads: assets-erc20 * migrate precompile db reads: assets-erc20 (fix) * migrate precompile db reads: author-mapping * migrate precompile db reads: balances-erc20::eip2612 * migrate precompile db reads: balances-erc20 * migrate precompile db reads: balances-erc20::eip2612 (fix) * migrate precompile db reads: call-permit * migrate precompile db reads: collective * migrate precompile db reads: conviction-voting * migrate precompile db reads: crowdloan-rewards * wip migrate precompile db reads: parachain-staking * migrate precompile db reads: parachain-staking * migrate precompile db reads: precompile-registry * migrate precompile db reads: proxy * precompile-registry add some comments * migrate precompile db reads: referenda * conviction-voting fix * call-permit update * REMOVE precompile db reads: relay-encoder * migrate precompile db reads: gmp * record arbitrary cost on relay encoder precompile to prevent free spam * migrate precompile db reads: precompile-registry rework * refactor randomness pallet & precompile to comply with weight v2 * add test for precompile batch PoV check * fix rust tests compilation * adapt some rust tests * suggestion * Add back missing db read precompile_set * editorconfig + prettier * update cumulus pin * update frontier pin * fix ts precompile xcm utils tests * add more tests for precompile PoV and fmt * update cumulus pin * comply prettier & editorconfig * fix more ts tests (update frontier pin) * suggestion --------- Co-authored-by: Francisco Gamundi <francisco@purestake.com> Co-authored-by: crystalin <alan.sapede@gmail.com> Co-authored-by: librelois <c@elo.tf> Co-authored-by: Agustín Rodriguez <agus@purestake.com> Co-authored-by: agus <agusrodriguez2456@gmail.com>
- Loading branch information
1 parent
2f07d6c
commit 16b1898
Showing
86 changed files
with
1,857 additions
and
662 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
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
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
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
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
Oops, something went wrong.