-
Notifications
You must be signed in to change notification settings - Fork 43
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
Problem: not allowed specify nonce when estimate gas #512
Conversation
if args.Nonce == nil { | ||
// ApplyMessageWithConfig expect correct nonce set in msg if not specify in request | ||
nonce := k.GetNonce(ctx, args.GetFrom()) | ||
args.Nonce = (*hexutil.Uint64)(&nonce) |
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.
hermes bump up nonce when call estimate
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.
isn't the nonce returned by k.GetNonce
is most correct?
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.
nonce could be the same from k.GetNonce
when estimate batches, 2nd batch call before 1st batch finalize.
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.
is it possible to describe the test case in integration test outside of the ibc context, still confused what are you trying to do.
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.
just make it easier for me to compare between client and server, otherwise I need compare with data field ;D
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #512 +/- ##
========================================
Coverage 61.54% 61.55%
========================================
Files 128 128
Lines 9503 9504 +1
========================================
+ Hits 5849 5850 +1
Misses 3113 3113
Partials 541 541
|
Closes: #XXX
Description
For contributor use:
docs/
) or specification (x/<module>/spec/
)godoc
comments.Unreleased
section inCHANGELOG.md
Files changed
in the Github PR explorerFor admin use:
WIP
,R4R
,docs
, etc)