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

feat: Add TestDefaultConfig to pallet-evm & pallet-ethereum #1524

Merged
merged 9 commits into from
Oct 22, 2024

Conversation

conr2d
Copy link
Contributor

@conr2d conr2d commented Oct 17, 2024

This PR adds TestDefaultConfig to pallet-evm and pallet-ethereum for easier test setup.

Break changes

  • IntermediateStateRoot<T> will have the generic type with the bound of <T: Get<RuntimeVersion>> rather than <T: Config> to be compatible with trait DefaultConfig.

@conr2d conr2d requested a review from sorpaas as a code owner October 17, 2024 18:03
@conr2d conr2d changed the title Add TestDefaultConfig to pallet-evm & pallet-ethereum feat: Add TestDefaultConfig to pallet-evm & pallet-ethereum Oct 18, 2024
frame/evm/src/mock.rs Outdated Show resolved Hide resolved
frame/evm/src/mock.rs Outdated Show resolved Hide resolved
frame/evm/src/lib.rs Outdated Show resolved Hide resolved
frame/evm/src/lib.rs Outdated Show resolved Hide resolved
frame/ethereum/src/mock.rs Show resolved Hide resolved
@boundless-forest boundless-forest merged commit 18aa99b into polkadot-evm:master Oct 22, 2024
4 checks passed
@conr2d conr2d deleted the test-default-config branch October 22, 2024 09:45
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