feat(initBond): set init bond#123
Merged
zjg555543 merged 3 commits intozjg/pre-release-v6from Oct 26, 2025
Merged
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
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.
This pull request enhances the deployment process for OP contracts by improving ownership management and automating the initialization of game bonds. The main changes include replacing the use of
ADMIN_OWNER_ADDRESSwithDEPLOYER_ADDRESSduring contract deployment, automating the transfer of Transactor ownership post-deployment, and introducing a new script to set the initial bond for dispute games.Ownership and deployment improvements:
DEPLOYER_ADDRESSinstead ofADMIN_OWNER_ADDRESSfor constructor arguments and logging, ensuring consistency with the actual deployer. [1] [2]ADMIN_OWNER_ADDRESSif necessary, automating a previously manual step.Game bond initialization automation:
set_init_bondis added to the deployment script to automate setting the initial bond for game type 1, using the Transactor contract and the DisputeGameFactory address from the configuration.scripts/set-init-bond.shis introduced, which validates input, checks for game type existence, compares and sets the initial bond value, and verifies the update, improving reliability and transparency of bond initialization.