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

Feat: push blocks to signer set and add /v3/blocks/upload/ #4902

Merged
merged 7 commits into from
Jul 2, 2024

Conversation

kantai
Copy link
Member

@kantai kantai commented Jun 21, 2024

This PR:

  • adds /v3/blocks/upload, and relayer handling for it
  • pushing of blocks from miner to signer set
  • signers push these blocks to their local node
  • configure the signer set test to rely on signers to push the block (by disabling p2p block push)

There should be more test coverage of /v3/blocks/upload, I think, but I wanted to open this PR quickly to get @jcnelson's quick impression of the /v3/blocks/upload implementation, because I don't want that to get in the way of any work he's been doing that may be related (or identical).

@kantai kantai requested review from a team as code owners June 21, 2024 21:21
@saralab saralab requested review from jcnelson and obycode June 24, 2024 15:06
* add /v3/blocks/upload, and relayer handling for it
* push blocks from miner to signer set, signer set pushes to their stacks-node
* configure the signer set test to rely on signers to push the block (by disabling p2p block push)
obycode
obycode previously approved these changes Jun 25, 2024
Copy link
Contributor

@obycode obycode left a comment

Choose a reason for hiding this comment

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

This looks good to me.

@jcnelson jcnelson self-requested a review June 28, 2024 15:56
jcnelson
jcnelson previously approved these changes Jun 28, 2024
@kantai kantai enabled auto-merge June 28, 2024 16:11
auto-merge was automatically disabled June 28, 2024 17:24

Pull Request is not mergeable

@kantai kantai dismissed stale reviews from obycode and jcnelson via 4ad8e91 June 28, 2024 19:44
obycode
obycode previously approved these changes Jun 28, 2024
@kantai kantai requested review from jcnelson and jferrant July 1, 2024 17:31
jcnelson
jcnelson previously approved these changes Jul 1, 2024
@kantai kantai enabled auto-merge July 2, 2024 14:48
@kantai kantai requested a review from jbencin July 2, 2024 14:49
jbencin
jbencin previously approved these changes Jul 2, 2024
@kantai kantai dismissed stale reviews from jbencin and jcnelson via e400ddc July 2, 2024 17:03
@kantai kantai requested review from jcnelson and jbencin July 2, 2024 17:03
@kantai kantai added this pull request to the merge queue Jul 2, 2024
Merged via the queue into develop with commit d688786 Jul 2, 2024
103 of 104 checks passed
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