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

Validate burned amount for p-chain dynamic fee #880

Merged
merged 9 commits into from
Oct 10, 2024

Conversation

ruijialin-avalabs
Copy link
Contributor

@ruijialin-avalabs ruijialin-avalabs commented Oct 9, 2024

  • refactored validateBurnedAmount to handle static and dynamic burned amount.
  • added a util function to check if etna is enabled from upgradesInfo reponse

Copy link
Collaborator

@rictorlome rictorlome left a 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

src/utils/validateAvaxBurnedAmountEtna.ts Outdated Show resolved Hide resolved
src/utils/validateAvaxBurnedAmountEtna.ts Outdated Show resolved Hide resolved
src/utils/validateAvaxBurnedAmountEtna.ts Outdated Show resolved Hide resolved
src/utils/validateBurnedAmount.ts Outdated Show resolved Hide resolved
Copy link
Collaborator

@rictorlome rictorlome left a comment

Choose a reason for hiding this comment

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

Thank you

Copy link
Collaborator

@rictorlome rictorlome left a comment

Choose a reason for hiding this comment

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

Nice

Copy link
Member

@erictaylor erictaylor left a 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.

@ruijialin-avalabs ruijialin-avalabs merged commit 16f420c into master Oct 10, 2024
3 checks passed
@ruijialin-avalabs ruijialin-avalabs deleted the ray/validateBurnedAmount branch October 10, 2024 19:28
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.

3 participants