Skip to content

feat(fill): also test system contract deployments with balance#1132

Merged
marioevz merged 1 commit intomainfrom
test-system-contract-deployments-with-balance
Jan 27, 2025
Merged

feat(fill): also test system contract deployments with balance#1132
marioevz merged 1 commit intomainfrom
test-system-contract-deployments-with-balance

Conversation

@danceratopz
Copy link
Copy Markdown
Member

@danceratopz danceratopz commented Jan 27, 2025

🗒️ Description

This PR modifies the @generate_system_contract_deploy_test decorator to additionally generate tests for the case when the target contract address has a non-zero balance prior to deployment.

This adds additional tests for EIP-7002, EIP-2935 and EIP-7251.

Initial suggestion from @jochem-brouwer in #el-testing.

🔗 Related Issues

#1024, the PR where the system test contract generator was added.

✅ Checklist

  • All: Set appropriate labels for the changes.
  • All: Considered squashing commits to improve commit history.
  • All: Added an entry to CHANGELOG.md. skipped

@danceratopz danceratopz added type:feat type: Feature scope:fill Scope: fill command fork:prague Prague hardfork labels Jan 27, 2025
@danceratopz danceratopz requested a review from marioevz January 27, 2025 12:17
Comment thread src/ethereum_test_tools/utility/generators.py
Copy link
Copy Markdown
Member

@marioevz marioevz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Verified the generated fixtures after the change and it look good, thanks!

Comment thread src/ethereum_test_tools/utility/generators.py
@marioevz marioevz merged commit 2aa8e12 into main Jan 27, 2025
@marioevz marioevz deleted the test-system-contract-deployments-with-balance branch January 27, 2025 17:53
marioevz pushed a commit to marioevz/execution-spec-tests that referenced this pull request Jan 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fork:prague Prague hardfork scope:fill Scope: fill command type:feat type: Feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants