Conversation
Wiz Scan Summary
To detect these findings earlier in the dev lifecycle, try using Wiz Code VS Code Extension. |
4fda70b to
56c0a87
Compare
|
In |
|
/ci authorize 0705b6b |
|
We decided not to touch Go and to handle it in a separate PR, but the CI needs these changes to sync with the deployment and ensure the tests run successfully. That’s why the files were modified |
|
/ci authorize d07250f |
|
/ci authorize 0529844 |
|
/ci authorize a5d739d |
@Inphi Thank you so much for the feedback and for taking the time. We have addressed the comment and pushed the corresponding fixes in the latest commits. The only problem we encountered was related to the contract size, which has now been fully resolved. Feel free to take a look at the latest commits and let us know if everything looks good on your end! |
The merge from develop resolved the bundle conflict by keeping the stale version from this branch. Regenerated via `just generate-nut-bundle` to match the current compiled artifacts. Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
|
/ci authorize b169c5b |
|
/ci authorize 4724d5e |
4724d5e to
b169c5b
Compare
|
/ci authorize 6967086 |
|
/ci authorize ce118ff |
|
@Inphi as Ashi said, for the refactor comment it became a bit messy and we decided to revert it. The other NIT for the refactor was addressed 👍 |
|
Good to merge once @0xOneTony's comments are resolved. |
Summary
ZK_DISPUTE_GAME(game type 10) into OPCM V2's deploy and validation flows. This includes a newZKDisputeGameConfigstruct with ZK-specific parameters (absolutePrestate,verifier,maxChallengeDuration,maxProveDuration,challengerBond), plumbed throughOPContractsManagerUtils.makeGameArgsandgetGameImpl.The ZK dispute game is gated behind
DevFeatures.ZK_DISPUTE_GAME- it can't be enabled unless the dev feature is active andzkDisputeGameImplis set. Deploy scripts are updated to include the ZK game config (disabled by default).Changes
Contracts
OPContractsManagerV2.solZK_DISPUTE_GAMEtovalidGameTypes, validates the dev feature flag is active, and checkszkDisputeGameImplis setOPContractsManagerUtils.solZK_DISPUTE_GAMEingetGameImpl()andmakeGameArgs(), encoding constructor args (absolutePrestate,verifier,maxChallengeDuration,maxProveDuration,challengerBond,anchorStateRegistry,delayedWETH,l2ChainId)OPContractsManagerContainer.solzkDisputeGameImpltoImplementationsOPContractsManagerMigrator.solZK_DISPUTE_GAMEimplementation in DGF during migrationTypes.solZK_DISPUTE_GAME = GameType.wrap(10)Interfaces
IOPContractsManagerUtils.solZKDisputeGameConfigstruct andOPContractsManagerUtils_UnsupportedGameTypeerrorIOPContractsManagerContainer.solzkDisputeGameImpltoImplementationsScripts
Deploy.s.sol,DeployImplementations.s.sol,DeployOPChain.s.solTests
OPContractsManagerV2.t.solOPContractsManagerUtils.t.solmakeGameArgsandgetGameImplwithZK_DISPUTE_GAMEOPContractsManagerContainer.t.solzkDisputeGameImplfield