Skip to content

Use full uint256 approval in SimpleFunder#445

Open
samsamtrum wants to merge 1 commit into
ithacaxyz:mainfrom
samsamtrum:fix-simple-funder-max-approval
Open

Use full uint256 approval in SimpleFunder#445
samsamtrum wants to merge 1 commit into
ithacaxyz:mainfrom
samsamtrum:fix-simple-funder-max-approval

Conversation

@samsamtrum

Copy link
Copy Markdown

SimpleFunder intended to set a full uint256 token allowance when the current allowance is below the requested amount, but the inline assembly wrote a 160 bit max value instead.

This uses the full uint256 max value and adds a regression test for the allowance set by funding.

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