-
Notifications
You must be signed in to change notification settings - Fork 0
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
add DirectPost support & upgrade meson version #14
base: master
Are you sure you want to change the base?
Conversation
cmd/wallet/wallet.toml
Outdated
@@ -1,4 +1,4 @@ | |||
KSLocation = "/tmp/meson-wallet/keystore" | |||
KSLocation = "/Users/liaoyuchen/Developer/Meson-wallet-demo/keystore" |
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.
Change the location of this since this is unique to your own machine
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.
Changed, thanks!
cmd/wallet/wallet.toml
Outdated
@@ -15,7 +15,7 @@ DefaultChainID = 5 | |||
[Meson] | |||
[Meson.Logging] | |||
Disable = false | |||
File = "/tmp/meson-wallet/wallet.log" | |||
File = "/Users/liaoyuchen/Developer/Meson-wallet-demo/wallet.log" |
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.
Same here
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.
Changed, thanks!
}) | ||
if err != nil { | ||
return nil, err | ||
} | ||
req := common.NewRequest(command.EthQuery, w.Ticker(chainID), payload).ToJson() | ||
req := common.NewRequest(0x01, w.Ticker(chainID), payload).ToJson() |
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.
@LYC386 IMHO, it might be better to use command.DirectPost
.
if err != nil { | ||
return "", err | ||
} | ||
req := common.NewRequest(command.PostTransaction, w.Ticker(tx.ChainId().Int64()), payload).ToJson() | ||
req := common.NewRequest(0x01, w.Ticker(tx.ChainId().Int64()), payload).ToJson() |
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.
and here
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.
also you might want to change the comment
Updates FillTx and SendTx function to support querying gas and sending tx using DirectPost command.
Corresponds to Meson PR.
Updates Meson version