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

Added governance example to release-1.1 #248

Merged
merged 4 commits into from
Sep 25, 2024

Conversation

sashaaldrick
Copy link
Contributor

Update governance example Cargo.toml + examples README for release-1.1

sashaaldrick and others added 2 commits September 17, 2024 13:09
This is a refactor of the original governance example located in
release-0.20
[here](https://github.com/risc0/risc0/tree/release-0.20/bonsai/examples/governance).
This has been rewritten to match the foundry template layout, amongst
many other features.

At a high level, this PR:
- upgrades governance example guest to zkVM 1.0
- deprecates Relay workflow and contracts
- updates publisher to handle deprecated relay workflows
- simplifies test logic for readability
- creates gas benchmarks from these tests

For a high level walkthrough, please see
[README.md](https://github.com/risc0/risc0-ethereum/blob/a5ccf7872c3d8dfe86d42816b2388da4e27af4c3/examples/governance/README.md),
and to run tests locally with benchmarking, see
[instructions.md](https://github.com/risc0/risc0-ethereum/blob/a5ccf7872c3d8dfe86d42816b2388da4e27af4c3/examples/governance/instructions.md).

---------

Co-authored-by: Angelo Capossele <[email protected]>
Co-authored-by: Victor Graf <[email protected]>
@sashaaldrick sashaaldrick force-pushed the sasha/governance-release-1.1 branch from b9db4f5 to 42a851a Compare September 18, 2024 12:07
@sashaaldrick sashaaldrick changed the title Sasha/governance release 1.1 Added governance example to release-1.1 Sep 18, 2024
@sashaaldrick sashaaldrick marked this pull request as ready for review September 18, 2024 13:16
@sashaaldrick sashaaldrick requested a review from a team as a code owner September 18, 2024 13:16
@nategraf
Copy link
Contributor

Once Bonsai is deployed with 1.1, we'll rerun CI here to ensure it passes and then merge.

@nategraf nategraf enabled auto-merge (squash) September 25, 2024 21:38
@nategraf nategraf merged commit 7a47ea3 into release-1.1 Sep 25, 2024
9 checks passed
@nategraf nategraf deleted the sasha/governance-release-1.1 branch September 25, 2024 22:38
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.

2 participants