-
Notifications
You must be signed in to change notification settings - Fork 682
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
GetTXFee API Refactor #3598
GetTXFee API Refactor #3598
Conversation
looks good so far, would just double check that none of the |
if err != nil { | ||
return nil, err | ||
} | ||
|
||
return &builder.Context{ | ||
NetworkID: networkID, | ||
AVAXAssetID: avaxAssetID, | ||
StaticFeeConfig: fee.StaticConfig{ |
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.
Can we remove StaticFeeConfig
entirely? Perhaps we should add a TODO to the context to remove that field (as I don't think we need it anymore).
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.
created this, will tackle in another pr
#3601
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.
lgtm, e2e pre etna is failling but i think that is expected?
yes its expected, but not sure why |
lets see if it fails after merging master |
closing this pr for #3610 since a more extensive pr is needed for the e2e tests to pass. |
Why this should be merged
Removes the
info.GetFeeTx
endpoint which is now deprecated. The api is moved to theXChainClient
which only returns relevant fields now.How this works
How this was tested
Added a test to CI.
Need to be documented in RELEASES.md?
Yes