Skip to content

Make block gas limit accessible in EVM contracts#332

Merged
sorpaas merged 4 commits intopolkadot-evm:masterfrom
moonbeam-foundation:joshy-gas-in-evm
Mar 31, 2021
Merged

Make block gas limit accessible in EVM contracts#332
sorpaas merged 4 commits intopolkadot-evm:masterfrom
moonbeam-foundation:joshy-gas-in-evm

Conversation

@JoshOrndorff
Copy link
Copy Markdown
Contributor

Solves #327

This PR moves the associated type BlockGasLimit from pallet_ethereum to pallet_evm, and makes the data available in contracts.

@JoshOrndorff JoshOrndorff requested a review from sorpaas as a code owner March 29, 2021 16:10
@sorpaas
Copy link
Copy Markdown
Member

sorpaas commented Mar 30, 2021

Can you fix the tests? Looks like just need type additions!

@sorpaas sorpaas merged commit e798ae5 into polkadot-evm:master Mar 31, 2021
abhijeetbhagat pushed a commit to web3labs/frontier that referenced this pull request Jan 11, 2023
* Move associated type to pallet evm

* wire it into the evm backend

* Fix test mocks
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.

2 participants