-
Notifications
You must be signed in to change notification settings - Fork 2
Add config contract #404
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
Merged
Merged
Add config contract #404
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Deploying happychain with
|
| Latest commit: |
823c0fe
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://30ea6a8d.happychain.pages.dev |
| Branch Preview URL: | https://gabriel-config-contract.happychain.pages.dev |
This was referenced Feb 3, 2025
Merged
Merged
Merged
Contributor
Author
10 tasks
6e8d5d5 to
0c346ec
Compare
6157aba to
0e52ba8
Compare
0c346ec to
d7da0dc
Compare
0e52ba8 to
a3f490a
Compare
AryanGodara
reviewed
Feb 3, 2025
aodhgan
reviewed
Feb 3, 2025
d7da0dc to
17b16b6
Compare
10910af to
fb43538
Compare
17b16b6 to
b8df4e4
Compare
aodhgan
reviewed
Feb 12, 2025
aodhgan
reviewed
Feb 13, 2025
86050d3 to
5efaad2
Compare
4ac15e2 to
ca26b17
Compare
11 tasks
Base automatically changed from
gabriel/improve-performance-and-reability-randomness
to
master
February 15, 2025 03:30
norswap
reviewed
Feb 15, 2025
Collaborator
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It might make sense to separate this from random eventually (if we add other addreses here), but for now this is good.
norswap
approved these changes
Feb 15, 2025
Collaborator
|
Just needs a restack. |
… deployed with deterministic deployer
0d4f648 to
823c0fe
Compare
11 tasks
11 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.

Linked Issues
Description
This PR creates a new smart contract that is queried by the node every block to obtain the randomness contract address. The node then retrieves the randomness contract owner to prioritize all transactions from this wallet at the beginning of the block. This ensures that the reveal randomness transaction is included first, making the randomness available for all transactions in the block.
This allows us to modify the randomness contract address and the randomness contract owner without having to relaunch the sequencer, which would otherwise cause a small downtime and require us to request assistance from the Caldera team.
Toggle Checklist
Checklist
Basics
Correctness
Architecture & Documentation