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

PoS Add QC fields to block header schema #558

Conversation

tholonious
Copy link
Contributor

No description provided.

@tholonious tholonious force-pushed the sa/update-block-header-to-support-pos-schema branch 3 times, most recently from 19f3d54 to 6f188a2 Compare June 21, 2023 13:38
@tholonious tholonious requested a review from lazynina June 21, 2023 14:53
@tholonious tholonious marked this pull request as ready for review June 21, 2023 14:53
@tholonious tholonious requested a review from a team as a code owner June 21, 2023 14:53
@tholonious tholonious requested a review from AeonSw4n June 21, 2023 14:53
@tholonious tholonious changed the title sa/update-block-header-to-support-pos-schema PoS Add QC Fields to Block Header Schema Jun 21, 2023
@tholonious tholonious changed the title PoS Add QC Fields to Block Header Schema PoS Add QC fields to block header schema Jun 21, 2023
lib/block_view_types.go Outdated Show resolved Hide resolved
lib/block_view_types.go Outdated Show resolved Hide resolved
lib/constants.go Outdated Show resolved Hide resolved
lib/network.go Outdated Show resolved Hide resolved
lib/network_test.go Show resolved Hide resolved
lib/pos_network.go Outdated Show resolved Hide resolved
lib/pos_network.go Outdated Show resolved Hide resolved
Base automatically changed from sa/add-p2p-msgs-for-votes-and-timeouts to feature/pos-messaging-schema June 25, 2023 21:00
@tholonious tholonious force-pushed the sa/update-block-header-to-support-pos-schema branch from 0ce5751 to d798c71 Compare June 25, 2023 21:10
@tholonious tholonious requested a review from lazynina June 25, 2023 21:42
Copy link
Contributor

@AeonSw4n AeonSw4n left a comment

Choose a reason for hiding this comment

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

Yeah looks good! Only minor stuff. I'm setting "Request changes" because my local tests weren't passing for:

  • TestHeaderConversionAndReadWriteMessage
  • TestHeaderBundleSerialization

Can you double-check if these are passing for you, and I'll approve?

lib/network.go Show resolved Hide resolved
lib/pos_network.go Show resolved Hide resolved
lib/constants.go Show resolved Hide resolved
@tholonious
Copy link
Contributor Author

Yeah looks good! Only minor stuff. I'm setting "Request changes" because my local tests weren't passing for:

  • TestHeaderConversionAndReadWriteMessage
  • TestHeaderBundleSerialization

Can you double-check if these are passing for you, and I'll approve?

@AeonSw4n, you need to add -tags relic when compiling core to run all unit tests locally. The two tests above both run MsgDeSoHeader serialization/deserialization with the PoS QC fields. Both tests pass for me locally, and pass in CI.

@tholonious tholonious requested a review from AeonSw4n June 26, 2023 16:13
lib/constants.go Show resolved Hide resolved
lib/block_view_types.go Outdated Show resolved Hide resolved
lib/network.go Outdated Show resolved Hide resolved
lib/pos_network.go Show resolved Hide resolved
lib/network_test.go Show resolved Hide resolved
Copy link
Contributor

@AeonSw4n AeonSw4n left a comment

Choose a reason for hiding this comment

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

All passed this time!

@tholonious tholonious merged commit bdd6dee into feature/pos-messaging-schema Jun 27, 2023
2 checks passed
@tholonious tholonious deleted the sa/update-block-header-to-support-pos-schema branch June 27, 2023 15:56
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.

3 participants