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

gomod, eth: fix nonce gap issues #1125

Merged
merged 2 commits into from
Oct 25, 2019
Merged

gomod, eth: fix nonce gap issues #1125

merged 2 commits into from
Oct 25, 2019

Conversation

kyriediculous
Copy link
Contributor

What does this pull request do? Explain your changes. (required)
This PR upgrades the version of go-ethereum to include ethereum/go-ethereum#15794 in order to try to mitigate nonce issues that are occuring in the 0.3.3 go-livepeer release

Specific updates (required)

How did you test each of these updates (required)
Ran unit tests

Does this pull request close any open issues?
Fixes #1104

Checklist:

  • README and other documentation updated
  • Node runs in OSX and devenv
  • All tests in ./test.sh pass

@kyriediculous
Copy link
Contributor Author

Updated the PR to include a wrapper Backend for ethclient.Client that uses a PendingNonceAt method which implements the NonceManager logic so that this logic no longer has to be maintained in a seperate go-ethereum fork.

This PR is unlikely however to address nonce gap issues occuring in releases that already included the custom nonce manager.

eth/backend.go Outdated Show resolved Hide resolved
eth/backend.go Outdated Show resolved Hide resolved
eth/backend.go Outdated Show resolved Hide resolved
eth/backend.go Outdated Show resolved Hide resolved
eth/backend.go Outdated Show resolved Hide resolved
eth/backend.go Show resolved Hide resolved
eth/backend.go Outdated Show resolved Hide resolved
eth/backend.go Outdated Show resolved Hide resolved
eth/backend.go Outdated Show resolved Hide resolved
eth/backend.go Show resolved Hide resolved
eth/backend.go Outdated Show resolved Hide resolved
cmd/livepeer_cli/livepeer_cli.go Outdated Show resolved Hide resolved
@kyriediculous
Copy link
Contributor Author

kyriediculous commented Oct 25, 2019 via email

Copy link
Member

@yondonfu yondonfu left a comment

Choose a reason for hiding this comment

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

Changes look good! Let's rebase

@kyriediculous
Copy link
Contributor Author

rebased !

Copy link
Member

@yondonfu yondonfu left a comment

Choose a reason for hiding this comment

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

LGTM!

@kyriediculous kyriediculous merged commit 053db68 into master Oct 25, 2019
@kyriediculous kyriediculous deleted the nv/nonce-gap branch October 25, 2019 20:07
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 this pull request may close these issues.

Improve nonce handling strategy to mitigate nonce gap issues
2 participants