-
Notifications
You must be signed in to change notification settings - Fork 211
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
vm: allow nonce gap for execution #3401
Comments
This was referenced Aug 3, 2022
bors bot
pushed a commit
that referenced
this issue
Aug 5, 2022
## Motivation <!-- Please mention the issue fixed by this PR or detailed motivation --> Closes #3401 Closes #3402 Closes #3389 ## Changes <!-- Please describe in detail the changes made --> - in vm relaxes the nonce comparison from `tx.Nonce == acct.NextNonce()` to `tx.Nonce >= acct.NextNonce()` - in conservative cache - use container.List to keep mempool transactions - allow nonce gap ## Test Plan <!-- Please specify how these changes were tested (e.g. unit tests, manual testing, etc.) --> unit test, systest
bors bot
pushed a commit
that referenced
this issue
Aug 5, 2022
## Motivation <!-- Please mention the issue fixed by this PR or detailed motivation --> Closes #3401 Closes #3402 Closes #3389 ## Changes <!-- Please describe in detail the changes made --> - in vm relaxes the nonce comparison from `tx.Nonce == acct.NextNonce()` to `tx.Nonce >= acct.NextNonce()` - in conservative cache - use container.List to keep mempool transactions - allow nonce gap ## Test Plan <!-- Please specify how these changes were tested (e.g. unit tests, manual testing, etc.) --> unit test, systest
bors bot
pushed a commit
that referenced
this issue
Aug 5, 2022
## Motivation <!-- Please mention the issue fixed by this PR or detailed motivation --> Closes #3401 Closes #3402 Closes #3389 ## Changes <!-- Please describe in detail the changes made --> - in vm relaxes the nonce comparison from `tx.Nonce == acct.NextNonce()` to `tx.Nonce >= acct.NextNonce()` - in conservative cache - use container.List to keep mempool transactions - allow nonce gap ## Test Plan <!-- Please specify how these changes were tested (e.g. unit tests, manual testing, etc.) --> unit test, systest
bors bot
pushed a commit
that referenced
this issue
Aug 5, 2022
## Motivation <!-- Please mention the issue fixed by this PR or detailed motivation --> Closes #3401 Closes #3402 Closes #3389 ## Changes <!-- Please describe in detail the changes made --> - in vm relaxes the nonce comparison from `tx.Nonce == acct.NextNonce()` to `tx.Nonce >= acct.NextNonce()` - in conservative cache - use container.List to keep mempool transactions - allow nonce gap ## Test Plan <!-- Please specify how these changes were tested (e.g. unit tests, manual testing, etc.) --> unit test, systest
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
see spacemeshos/pm#150
genvm/vm.go: change inequality (validity predicate) to compare >= NextNonce()
The text was updated successfully, but these errors were encountered: