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

[r2r] NMC BlockHeader deserializing bug fix #1409

Merged
merged 5 commits into from Aug 10, 2022
Merged

Conversation

borngraced
Copy link
Member

Fixes NMC non-final error on swap refund and BlockHeader deserializing bug + unit test
Fixes #1281

@borngraced borngraced changed the title NMC BlockHeader deserializing bug fix [r2r] NMC BlockHeader deserializing bug fix Jul 29, 2022
Copy link

@sergeyboyko0791 sergeyboyko0791 left a comment

Choose a reason for hiding this comment

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

Great! Just a few suggestions

mm2src/mm2_bitcoin/chain/src/block_header.rs Outdated Show resolved Hide resolved
mm2src/mm2_bitcoin/chain/src/block_header.rs Outdated Show resolved Hide resolved
@borngraced borngraced changed the title [r2r] NMC BlockHeader deserializing bug fix [wip] NMC BlockHeader deserializing bug fix Jul 29, 2022
@borngraced borngraced changed the title [wip] NMC BlockHeader deserializing bug fix [r2r] NMC BlockHeader deserializing bug fix Jul 29, 2022
Copy link
Collaborator

@shamardy shamardy left a comment

Choose a reason for hiding this comment

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

Great Work! 🔥

// NMC block headers
// start - #622807
// end - #622796
// Ref: https://chainz.cryptoid.info/nmc/block.dws?622807.htm
Copy link
Collaborator

Choose a reason for hiding this comment

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

This is a very nice block explorer that shows the raw header with it's fields and the same for transactions for a lot of coins, this should be handy in a lot of similar serialization/deserialization issues :)

Copy link
Member Author

Choose a reason for hiding this comment

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

Right, it helped a lot while debugging 💯💯

shamardy
shamardy previously approved these changes Jul 29, 2022
Copy link

@sergeyboyko0791 sergeyboyko0791 left a comment

Choose a reason for hiding this comment

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

Awesome!

@sergeyboyko0791
Copy link

@borngraced please fix the test_rvn_block_headers_serde_11 test. It seems to be failing due to the changes.

@borngraced borngraced dismissed stale reviews from sergeyboyko0791 and shamardy via ae7466d July 29, 2022 18:15
@borngraced
Copy link
Member Author

@borngraced please fix the test_rvn_block_headers_serde_11 test. It seems to be failing due to the changes.

Fixed.

@artemii235
Copy link
Member

@sergeyboyko0791 @shamardy any updates on this? It's pending for 12 days, which is not acceptable.

@artemii235 artemii235 removed their request for review August 10, 2022 09:11
@artemii235
Copy link
Member

PS my review is not required.

Copy link

@sergeyboyko0791 sergeyboyko0791 left a comment

Choose a reason for hiding this comment

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

Re-approve

Copy link
Collaborator

@shamardy shamardy left a comment

Choose a reason for hiding this comment

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

Re-approve

@sergeyboyko0791 sergeyboyko0791 merged commit 6c6d526 into dev Aug 10, 2022
@sergeyboyko0791 sergeyboyko0791 deleted the NMC-non-final branch August 10, 2022 10:58
@borngraced borngraced mentioned this pull request Feb 17, 2023
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.

None yet

4 participants