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

fix: onchain reverts #20

Open
wants to merge 2 commits into
base: vp-rounding-fix
Choose a base branch
from
Open

Conversation

AlbertoCentonze
Copy link
Collaborator

@AlbertoCentonze AlbertoCentonze commented Feb 4, 2025

Historically Curve pools have been using dev reasons for errors to reduce the impact on codesize due to EIP-170 limitations. However given the increasing amount of integrators for the cryptoswap algo, dev reasons have proven to be very hard to use for debugging for devs that are not using titanoboa.

Given twocrypto-ng has enough room to add onchain errors, I replaced all dev reasons with more tooling friendly onchain reverts.


This is part 3 of 3 in a stack made with GitButler:

@AlbertoCentonze AlbertoCentonze force-pushed the onchain-reverts branch 2 times, most recently from 7640a92 to b4e65fb Compare February 6, 2025 14:26
@AlbertoCentonze AlbertoCentonze changed the title onchain-reverts fix: onchain reverts Feb 6, 2025
@AlbertoCentonze AlbertoCentonze marked this pull request as ready for review February 12, 2025 16:40
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