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

Define fee on REST txs #3067

Closed
4 tasks
fedekunze opened this issue Dec 10, 2018 · 0 comments · Fixed by #3069
Closed
4 tasks

Define fee on REST txs #3067

fedekunze opened this issue Dec 10, 2018 · 0 comments · Fixed by #3069
Assignees

Comments

@fedekunze
Copy link
Collaborator

Summary

Add fee to baseReq on txs POST body for users to define their own fee value.

Problem Definition

There's no way to define fees now on the REST txs

Proposal

Add a Fee property to the BaseReq:

// BaseReq defines a structure that can be embedded in other request structures
// that all share common "base" fields.
type BaseReq struct {
Name string `json:"name"`
Password string `json:"password"`
ChainID string `json:"chain_id"`
AccountNumber uint64 `json:"account_number"`
Sequence uint64 `json:"sequence"`
Gas string `json:"gas"`
GasAdjustment string `json:"gas_adjustment"`
}

cc: @jackzampolin @alessio @faboweb @alexanderbez


For Admin Use

  • Not duplicate issue
  • Appropriate labels applied
  • Appropriate contributors tagged
  • Contributor assigned/self-assigned
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 a pull request may close this issue.

1 participant