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

Rosetta Etna upgrade - Dynamic fee suggestions #248

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

rajranjan0608
Copy link
Collaborator

Right now, Avalanche Rosetta is capable of building Atomic and Primary Network Staking Txs only. Other subnet-related txs are not supported, so we don't need to include any changes related to the new post-Etna L1 validator tx types.

This PR just updates the flow to suggest dynamic fees based on transaction size and network activity.

  • Upgrades AvalancheGo to Etna version - v1.12.0-fuji
  • Updates /preprocess endpoint to calculate and return base_fee as an Options property based on the operations passed (inputs and outputs)
  • Updates /metadata endpoint to calculate additional suggested fees based on the staking metadata

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