Skip to content

fix: correct RedeemRequest event param from assets to shares#822

Merged
zerosnacks merged 2 commits intofoundry-rs:masterfrom
davidjsonn:fix/erc7540-redeem-event
Feb 23, 2026
Merged

fix: correct RedeemRequest event param from assets to shares#822
zerosnacks merged 2 commits intofoundry-rs:masterfrom
davidjsonn:fix/erc7540-redeem-event

Conversation

@davidjsonn
Copy link
Contributor

the RedeemRequest event in IERC7540Redeem had assets as the last param, but per EIP-7540 spec it should be shares. redeem operates on shares, deposit operates on assets - the event was copy-pasted wrong.

ref: https://eips.ethereum.org/EIPS/eip-7540#events

@zerosnacks zerosnacks merged commit 722afcc into foundry-rs:master Feb 23, 2026
19 checks passed
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