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

WIP: Summoning Ceremony Coordinator #3090

Merged
merged 13 commits into from
Oct 5, 2023
Merged

WIP: Summoning Ceremony Coordinator #3090

merged 13 commits into from
Oct 5, 2023

Conversation

cronokirby
Copy link
Contributor

@cronokirby cronokirby commented Sep 22, 2023

Closes #3139.

The status of the summoner coordinator at the end of this is that you can do real phase2 contributions, but without a persistent server, and without any kind of bidding mechanism, just sortition of pending participants.

@cronokirby cronokirby temporarily deployed to smoke-test September 22, 2023 23:35 — with GitHub Actions Inactive
@cronokirby cronokirby temporarily deployed to smoke-test September 23, 2023 01:47 — with GitHub Actions Inactive
@cronokirby cronokirby temporarily deployed to smoke-test September 25, 2023 21:54 — with GitHub Actions Inactive
@cronokirby cronokirby temporarily deployed to smoke-test September 27, 2023 05:09 — with GitHub Actions Inactive
@cronokirby cronokirby temporarily deployed to smoke-test September 27, 2023 23:48 — with GitHub Actions Inactive
This will eventually be used as the coordinator, for now not much
functionality beyond a basic hello world and view server integration.
This allows us to have a "single" module, and an "all" module, with the
latter containing logic for doing all of the setups at once, and
potentially in parallel.
@cronokirby cronokirby temporarily deployed to smoke-test October 4, 2023 15:09 — with GitHub Actions Inactive
We need big messages, this sets a 100 MIB limit, which is enough for
phase2 by a factor of ~4.
@cronokirby cronokirby marked this pull request as ready for review October 5, 2023 08:07
Add summonerd files
@cronokirby cronokirby temporarily deployed to smoke-test October 5, 2023 08:10 — with GitHub Actions Inactive
Copy link
Member

@redshiftzero redshiftzero left a comment

Choose a reason for hiding this comment

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

Awesome - LGTM!

For the interested observer, one can test this via:

  1. Running the summoner server via cargo run --release --bin summonerd start
  2. In a second window, participate in the ceremony via cargo run --release --bin pcli ceremony contribute --coordinator-url http://127.0.0.1:8081

After a while in the window with pcli you should see that your contribution was confirmed 🌈

@redshiftzero
Copy link
Member

CI failure here is only due to the changes to the protobufs, so merging

@redshiftzero redshiftzero merged commit 83b6137 into main Oct 5, 2023
7 of 8 checks passed
@redshiftzero redshiftzero deleted the psumcoordd-init branch October 5, 2023 14:58
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.

Summonerd: implement phase2 contributions
2 participants