Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Token paymaster no uniswapper #12

Merged
merged 21 commits into from
Sep 16, 2024
Merged

Conversation

ShivaanshK
Copy link
Contributor

No description provided.

// Limit for unaccounted gas cost
uint16 private constant UNACCOUNTED_GAS_LIMIT = 10_000;
uint256 private constant UNACCOUNTED_GAS_LIMIT = 50_000;
Copy link
Contributor

Choose a reason for hiding this comment

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

are we gonna need this?

Copy link
Contributor Author

@ShivaanshK ShivaanshK Sep 15, 2024

Choose a reason for hiding this comment

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

No, we don't need it, but its good to have to limit how much unaccounted overhead the owner can charge the user. If we are assuming the leader is rational, we don't need it and it will save some gas on setting.

Copy link
Contributor

Choose a reason for hiding this comment

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

ok archiving and merging for now

@livingrockrises livingrockrises merged commit 063442c into develop Sep 16, 2024
2 of 6 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