-
Notifications
You must be signed in to change notification settings - Fork 36
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 - New transactions and Dynamic fee suggestions #248
Conversation
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.
Should we bump the AvalancheGo version as last done in this PR for v1.11.6
?
https://github.com/ava-labs/avalanche-rosetta/pull/246/files
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 to me.
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.
v1.12.0-fuji
/preprocess
endpoint to calculate and returnbase_fee
as anOptions
property based on the operations passed (inputs and outputs)/metadata
endpoint to calculate additional suggested fees based on the staking metadata