Skip to content

tests: Fix rescuer failure due to new precompile#63

Merged
pmerkleplant merged 1 commit into
mainfrom
fix_test
Apr 14, 2026
Merged

tests: Fix rescuer failure due to new precompile#63
pmerkleplant merged 1 commit into
mainfrom
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.

@pmerkleplant pmerkleplant merged commit 9b8d3d2 into main Apr 14, 2026
5 checks passed
@pmerkleplant pmerkleplant deleted the fix_test branch April 14, 2026 10:01
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