-
Notifications
You must be signed in to change notification settings - Fork 164
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
Validate burned amount for p-chain dynamic fee #880
Conversation
ruijialin-avalabs
commented
Oct 9, 2024
•
edited
Loading
edited
- refactored validateBurnedAmount to handle static and dynamic burned amount.
- added a util function to check if etna is enabled from upgradesInfo reponse
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, few comments. Maybe worthwhile to create a folder in utils for all these
c903553
to
7502549
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you
src/utils/validateBurnedAmount/validateAvaxBurnedAmountEtna.test.ts
Outdated
Show resolved
Hide resolved
src/utils/validateBurnedAmount/validateDynamicBurnedAmount.test.ts
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Thank you.