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

Add genesis hash to transaction #878

Merged
merged 5 commits into from
May 25, 2020

Conversation

limebell
Copy link
Member

This patch adds nullable genesis hash field to transaction, which resolves #796.

@longfin longfin requested review from dahlia, moreal, longfin, earlbread and riemannulus and removed request for dahlia and moreal May 22, 2020 08:26
@codecov
Copy link

codecov bot commented May 22, 2020

Codecov Report

Merging #878 into master will decrease coverage by 0.17%.
The diff coverage is 94.37%.

@@            Coverage Diff             @@
##           master     #878      +/-   ##
==========================================
- Coverage   87.41%   87.24%   -0.18%     
==========================================
  Files         250      247       -3     
  Lines       22739    22223     -516     
==========================================
- Hits        19878    19388     -490     
+ Misses       1529     1504      -25     
+ Partials     1332     1331       -1     
Impacted Files Coverage Δ
Libplanet.Tests/Tx/TransactionTest.cs 92.39% <75.00%> (-0.58%) ⬇️
Libplanet/Tx/InvalidTxGenesisHashException.cs 81.81% <81.81%> (ø)
Libplanet/Tx/RawTransaction.cs 82.82% <92.30%> (+1.43%) ⬆️
Libplanet/Blockchain/BlockChain.cs 90.06% <93.33%> (+0.18%) ⬆️
Libplanet.Tests/Blockchain/BlockChainTest.cs 98.41% <95.74%> (-0.09%) ⬇️
Libplanet.Tests/Net/SwarmTest.cs 94.90% <97.82%> (+0.10%) ⬆️
Libplanet.Tests/Blocks/BlockFixture.cs 100.00% <100.00%> (ø)
Libplanet.Tests/Blocks/BlockTest.cs 98.30% <100.00%> (+0.04%) ⬆️
Libplanet.Tests/Net/SwarmTest.Preload.cs 99.21% <100.00%> (+<0.01%) ⬆️
Libplanet.Tests/Store/StoreFixture.cs 97.29% <100.00%> (+0.02%) ⬆️
... and 13 more

Copy link
Contributor

@dahlia dahlia left a comment

Choose a reason for hiding this comment

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

👍

CHANGES.md Outdated Show resolved Hide resolved
Libplanet/Blockchain/BlockChain.cs Outdated Show resolved Hide resolved
Libplanet/Tx/RawTransaction.cs Show resolved Hide resolved
@limebell limebell requested a review from dahlia May 25, 2020 01:08
@dahlia dahlia merged commit 1c35f89 into planetarium:master May 25, 2020
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.

Add the genesis hash to Transaction<T>
5 participants