Skip to content

Uplift to polkadot-v0.9.42#9

Merged
stiiifff merged 8 commits intomainfrom
wzy-polkadot-v0.9.42
Aug 15, 2023
Merged

Uplift to polkadot-v0.9.42#9
stiiifff merged 8 commits intomainfrom
wzy-polkadot-v0.9.42

Conversation

@weezy20
Copy link
Copy Markdown
Contributor

@weezy20 weezy20 commented Jul 28, 2023

Summary of changes :

  1. pallet-evm has a new config item GasLimitPovSizeRatio. The basic function of this item is to give an account of the proof-size based off the gas limit of an EVM transaction. It is the ratio of BLOCK_GAS_LIMIT : (G) and MAX_POV_SIZE : (P). To understand how a proof size is obtained, we consider a simple relation: where g = gas limit of the tx and p = the proof size we are trying to estimate :
    GasLimitPovSizeRatio = G / P == g / p => p = g / GasLimitPovSizeRatio
    For a more elaborate discussion please visit https://forum.polkadot.network/t/frontier-support-for-evm-weight-v2/2470

  2. Introduction of FeePolynomial in WeightToFee implementation

  3. Changes to EthereumRuntimeRPCApi call and create methods to introduce external cost recording in non-transactional calls, More details can be found here : EVM + Weight v2 support polkadot-evm/frontier#1039

  4. Runtime changes from Uplift dependencies to polkadot-v0.9.42 extended-parachain-template#27.

  5. Updates to the node to make it all work harmoniously.

  6. Free up space in GH runner and add rust-cache (EPT #36) to make CI pass and avoid the infamous No space left on device

  7. Additional changes : close Add pallet-motion benchmarks #10

  8. Remove frontier offchain DB on PurgeChain #12

@weezy20 weezy20 requested a review from stiiifff July 28, 2023 10:13
@weezy20 weezy20 force-pushed the wzy-polkadot-v0.9.42 branch 2 times, most recently from 464b791 to 8091da2 Compare July 28, 2023 10:39
@weezy20 weezy20 force-pushed the wzy-polkadot-v0.9.42 branch 2 times, most recently from 15837bc to aaa10f3 Compare August 8, 2023 04:28
@weezy20 weezy20 force-pushed the wzy-polkadot-v0.9.42 branch from aaa10f3 to 54d85db Compare August 8, 2023 10:44
@weezy20 weezy20 force-pushed the wzy-polkadot-v0.9.42 branch from 1ec298b to 222eb3e Compare August 9, 2023 12:10
@weezy20 weezy20 marked this pull request as draft August 10, 2023 04:27
@weezy20 weezy20 marked this pull request as ready for review August 11, 2023 04:36
Comment thread runtime/src/lib.rs
@weezy20 weezy20 force-pushed the wzy-polkadot-v0.9.42 branch from cf474a4 to 7d3bcda Compare August 15, 2023 06:01
@weezy20 weezy20 force-pushed the wzy-polkadot-v0.9.42 branch from 7d3bcda to 6c00e77 Compare August 15, 2023 06:02
@weezy20 weezy20 requested a review from stiiifff August 15, 2023 06:03
@stiiifff
Copy link
Copy Markdown
Contributor

Great job @weezy20, LGTM !

@stiiifff stiiifff merged commit 21a9fc7 into main Aug 15, 2023
@stiiifff stiiifff deleted the wzy-polkadot-v0.9.42 branch August 15, 2023 08:06
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.

Add pallet-motion benchmarks

2 participants