Replies: 1 comment 2 replies
-
If this is removed, it would be great to see a replacement added to the specification that allows for some fee control (instead of just using metadata JSON, as many assets do now). |
Beta Was this translation helpful? Give feedback.
2 replies
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
-
Deprecate two fields in the ConstructionPreprocessRequest endpoint
The ConstructionPreprocessRequest endpoint includes the
max_fee
andsuggested_fee_multiplier
fields, which are optional. Coinbase is looking to remove these fields from the ConstructionPreprocessRequest endpoint.Why we want to remove it
In our current workflow, we configure these two fields ourselves, instead of using values from Rosetta. As a result, these two fields add unnecessary complexity for Asset Issuers (AIs) and Coinbase.
Situation 1: AIs provide a
max_fee
that is lower than the current network fee. Rosetta may refuse the transactions, or the transactions will take a long time to be confirmed. This issue adds complexity.Situation 2: In order to pass the
check:construction
test, AIs may give thesuggested_fee_multiplier
value a high number. This will make our TXs fee unnecessary higher, which may lead to money loss for both Coinbase and users.Benefits
By removing these two fields, our metadata's
suggested_fee
value will be more reliable.This will help Coinbase and its users pay appropriate fees for their TXs.
Potential risks
Some AIs are using these fields
Solution:
max_fee
andsuggested_fee_multiplier
fields from ConstructionPreprocessRequest.After updating the spec, the
ConstructionPreprocessRequest
will look like :Backward compatible
No
Beta Was this translation helpful? Give feedback.
All reactions