Skip to content
This repository has been archived by the owner on Dec 21, 2022. It is now read-only.

add estimate gas process to get tx's real gas wanted #165

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

louisliu2048
Copy link

Closes: #XXX

Description


For contributor use:

  • Targeted PR against correct branch (see CONTRIBUTING.md)
  • Linked to Github issue with discussion and accepted design OR link to spec that describes this work.
  • Code follows the module structure standards.
  • Wrote unit and integration tests
  • Updated relevant documentation (docs/) or specification (x/<module>/spec/)
  • Added relevant godoc comments.
  • Added a relevant changelog entry to the Unreleased section in CHANGELOG.md
  • Re-reviewed Files changed in the Github PR explorer

For admin use:

  • Added appropriate labels to PR (ex. WIP, R4R, docs, etc)
  • Reviewers assigned
  • Squashed all commits, uses message "Merge pull request #XYZ: [title]" (coding standards)

node, err := ctx.GetNode()
if err != nil {
return sdk.TxResponse{}, err
}

res, err := node.BroadcastTxCommit(txBytes)
wMsg := core.WrapEthMsg {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [golangci] reported by reviewdog 🐶
WrapEthMsg not declared by package core (typecheck)

node, err := ctx.GetNode()
if err != nil {
return sdk.TxResponse{}, err
}

res, err := node.BroadcastTxSync(txBytes)
wMsg := core.WrapEthMsg {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [golangci] reported by reviewdog 🐶
WrapEthMsg not declared by package core (typecheck)

node, err := ctx.GetNode()
if err != nil {
return sdk.TxResponse{}, err
}

res, err := node.BroadcastTxAsync(txBytes)
wMsg := core.WrapEthMsg {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 [golangci] reported by reviewdog 🐶
WrapEthMsg not declared by package core (typecheck)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants