Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
feat: sync evm nonce with cosmos #54
feat: sync evm nonce with cosmos #54
Changes from 1 commit
a7794c7
36d99bf
d73722d
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
Check warning on line 229 in app/ante/sigverify.go
Codecov / codecov/patch
app/ante/sigverify.go#L225-L229
Check warning on line 235 in app/ante/sigverify.go
Codecov / codecov/patch
app/ante/sigverify.go#L232-L235
Check warning on line 240 in app/ante/sigverify.go
Codecov / codecov/patch
app/ante/sigverify.go#L237-L240
Check warning on line 243 in app/ante/sigverify.go
Codecov / codecov/patch
app/ante/sigverify.go#L243
Check warning on line 260 in app/ante/sigverify.go
Codecov / codecov/patch
app/ante/sigverify.go#L248-L260
Check warning on line 264 in app/ante/sigverify.go
Codecov / codecov/patch
app/ante/sigverify.go#L263-L264
Check warning on line 271 in app/ante/sigverify.go
Codecov / codecov/patch
app/ante/sigverify.go#L266-L271
Check warning on line 275 in app/ante/sigverify.go
Codecov / codecov/patch
app/ante/sigverify.go#L273-L275
Check warning on line 278 in app/ante/sigverify.go
Codecov / codecov/patch
app/ante/sigverify.go#L278
Check warning on line 282 in app/ante/sigverify.go
Codecov / codecov/patch
app/ante/sigverify.go#L282
Check warning on line 84 in jsonrpc/backend/tx.go
Codecov / codecov/patch
jsonrpc/backend/tx.go#L82-L84
Check warning on line 171 in jsonrpc/backend/tx.go
Codecov / codecov/patch
jsonrpc/backend/tx.go#L169-L171
Check warning on line 174 in jsonrpc/backend/tx.go
Codecov / codecov/patch
jsonrpc/backend/tx.go#L174
Check warning on line 150 in x/evm/keeper/msg_server.go
Codecov / codecov/patch
x/evm/keeper/msg_server.go#L149-L150
Check warning on line 153 in x/evm/keeper/msg_server.go
Codecov / codecov/patch
x/evm/keeper/msg_server.go#L152-L153
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.
Add tests for the
increaseNonce
function.The function correctly increments the nonce of the specified account. However, the function is not covered by tests.
Do you want me to generate the unit testing code or open a GitHub issue to track this task?
Tools
GitHub Check: codecov/patch
Check warning on line 170 in x/evm/keeper/msg_server.go
Codecov / codecov/patch
x/evm/keeper/msg_server.go#L169-L170
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.
Add tests for the modified
Call
function.The function correctly invokes
increaseNonce
before executing the main logic. However, the added lines are not covered by tests.Do you want me to generate the unit testing code or open a GitHub issue to track this task?
Tools
GitHub Check: codecov/patch
This file was deleted.