You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Each application have a native token and transaction fee should calculate based on the current application native token. Also it seems the calculation of transaction fees is wrong especially for a register Multi-signature transaction.
Acceptance Criteria
Get the native token id on constant api /api/v3/dpos/constants
Validate fee balance based on the native token
Fix fee calculation across all types of transactions.
Adopt Unit test
Additional Information
The text was updated successfully, but these errors were encountered:
as @sameersubudhi said we need to get nativetokenId from fee apis
The tokenID to be used for the fees should be given by the Fee module. I'll create a separate issue in the repo to deal with it. The PoS module can only give you the governanceTokenID.
Description
Each application have a native token and transaction fee should calculate based on the current application native token. Also it seems the calculation of transaction fees is wrong especially for a
register Multi-signature
transaction.Acceptance Criteria
/api/v3/dpos/constants
Additional Information
The text was updated successfully, but these errors were encountered: