Skip to content

tests: Fix rescuer failure due to new precompile#63

Open
pmerkleplant wants to merge 1 commit intomainfrom
fix_test
Open

tests: Fix rescuer failure due to new precompile#63
pmerkleplant wants to merge 1 commit intomainfrom
fix_test

Conversation

@pmerkleplant
Copy link
Copy Markdown
Member

No description provided.

uint withdrawal
) public {
vm.assume(receiver.code.length == 0);
vm.assume(uint160(address(receiver)) > 100); // Ensure no precompile
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Note that we don't use forge-std's assumeNoPrecompile() functionality as the current forge-std version does not know about newly introduced precompiles. Manually blocking the beginning of the address space is simpler.

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.

1 participant