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

Fix GetNextTxNonce when transactions with old nonce are staged #637

Merged
merged 3 commits into from
Nov 1, 2019

Conversation

earlbread
Copy link
Contributor

Fixed a bug where BlockChain<T>.GetNextTxNonce only returned the same nonce when transactions with an old nonce were staged.

@earlbread earlbread self-assigned this Oct 30, 2019
@codecov
Copy link

codecov bot commented Oct 30, 2019

Codecov Report

Merging #637 into master will increase coverage by 0.02%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #637      +/-   ##
==========================================
+ Coverage   88.22%   88.25%   +0.02%     
==========================================
  Files         217      217              
  Lines       17134    17174      +40     
==========================================
+ Hits        15117    15157      +40     
  Misses       1141     1141              
  Partials      876      876
Impacted Files Coverage Δ
Libplanet.Tests/Blockchain/BlockChainTest.cs 98.74% <100%> (+0.03%) ⬆️
Libplanet/Blockchain/BlockChain.cs 94.22% <100%> (+0.03%) ⬆️

@earlbread earlbread force-pushed the fix-get-next-tx-nonce branch from 76f73ea to 6184d27 Compare October 30, 2019 12:23
@earlbread earlbread requested a review from longfin October 30, 2019 12:23
longfin
longfin previously approved these changes Oct 30, 2019
longfin
longfin previously approved these changes Oct 31, 2019
limebell
limebell previously approved these changes Oct 31, 2019
@earlbread earlbread dismissed stale reviews from limebell and longfin via 76106b0 October 31, 2019 07:18
@earlbread earlbread force-pushed the fix-get-next-tx-nonce branch from 8451168 to 76106b0 Compare October 31, 2019 07:18
@earlbread earlbread requested review from longfin and limebell October 31, 2019 09:08
longfin
longfin previously approved these changes Nov 1, 2019
moreal
moreal previously approved these changes Nov 1, 2019
@earlbread earlbread dismissed stale reviews from moreal and longfin via 732992e November 1, 2019 04:09
@earlbread earlbread force-pushed the fix-get-next-tx-nonce branch from 76106b0 to 732992e Compare November 1, 2019 04:09
@longfin longfin requested a review from moreal November 1, 2019 04:21
@longfin longfin merged commit 353003a into planetarium:master Nov 1, 2019
@earlbread earlbread deleted the fix-get-next-tx-nonce branch November 1, 2019 05:08
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.

4 participants