Skip to content

Commit c5b8c57

Browse files
minor tweaks
1 parent 05b6c9d commit c5b8c57

File tree

5 files changed

+11
-7
lines changed

5 files changed

+11
-7
lines changed

op-chain-ops/interopgen/recipe.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ func (r *InteropDevRecipe) Build(addrs devkeys.Addresses) (*WorldConfig, error)
7171
Implementations: OPCMImplementationsConfig{
7272
L1ContractsRelease: "dev",
7373
FaultProof: SuperFaultProofConfig{
74-
WithdrawalDelaySeconds: big.NewInt(604800),
74+
WithdrawalDelaySeconds: big.NewInt(302400),
7575
MinProposalSizeBytes: big.NewInt(10000),
7676
ChallengePeriodSeconds: big.NewInt(120),
7777
ProofMaturityDelaySeconds: big.NewInt(12),

op-deployer/pkg/deployer/standard/standard.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const (
1515
GasLimit uint64 = 60_000_000
1616
BasefeeScalar uint32 = 1368
1717
BlobBaseFeeScalar uint32 = 801949
18-
WithdrawalDelaySeconds uint64 = 604800
18+
WithdrawalDelaySeconds uint64 = 302400
1919
MinProposalSizeBytes uint64 = 126000
2020
ChallengePeriodSeconds uint64 = 86400
2121
ProofMaturityDelaySeconds uint64 = 604800

op-e2e/faultproofs/output_alphabet_test.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,11 @@ func TestOutputAlphabetGame_ReclaimBond(t *testing.T) {
127127
sys.TimeTravelClock.AdvanceTime(game.CreditUnlockDuration(ctx))
128128
require.NoError(t, wait.ForNextBlock(ctx, l1Client))
129129

130+
// Advance the time past the finalization delay
131+
// Finalization delay is the same as the credit unlock delay
132+
sys.TimeTravelClock.AdvanceTime(game.CreditUnlockDuration(ctx))
133+
require.NoError(t, wait.ForNextBlock(ctx, l1Client))
134+
130135
// Wait for alice to have no available credit
131136
// aka, wait for the challenger to claim its credit
132137
game.WaitForNoAvailableCredit(ctx, alice)

packages/contracts-bedrock/snapshots/semver-lock.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,11 @@
2020
"sourceCodeHash": "0x2d21506cc51ebe0b60bcf89883aff5e9b1269567ce44ee779de3d3940e23fb65"
2121
},
2222
"src/L1/OptimismPortal2.sol": {
23-
"initCodeHash": "0x5121ab634e470633d965d709bb65c8ea97f8cecf84c42aa4541b5eb9a92d6cc9",
24-
"sourceCodeHash": "0x889a4a53f38fa885281be58bad88c25bafec0a9fd7fb2ddfa16dcda1cecaf7d5"
23+
"initCodeHash": "0x94c880ae1974be774ec956ed2d9f8d71c19ba500d47abe28856ea8a019dc9c3f",
24+
"sourceCodeHash": "0x99ab9155cd18ee2bbab440431923f944a89535670546bfaa01e637eadb0342b8"
2525
},
2626
"src/L1/OptimismPortalInterop.sol": {
27-
"initCodeHash": "0x137910751db2e7a4edc76728b8433b47911b82fe1514465f2cbc5b35daf2e53a",
27+
"initCodeHash": "0x529e192525bc0f28b4402439af1defcf5407016b44a3eda2da5a6260b31779e2",
2828
"sourceCodeHash": "0xc04a7f9c14a13ec3587f5cc351c8e9f27fbbe9f1291a1aba07de29edbeef418a"
2929
},
3030
"src/L1/ProtocolVersions.sol": {

packages/contracts-bedrock/src/L1/OptimismPortal2.sol

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -482,11 +482,10 @@ contract OptimismPortal2 is Initializable, ResourceMetering, ISemver {
482482
// respectedGameTypeUpdatedAt timestamp without modifying this function's signature.
483483
if (_gameType.raw() == type(uint32).max) {
484484
respectedGameTypeUpdatedAt = uint64(block.timestamp);
485-
emit RespectedGameTypeSet(respectedGameType, Timestamp.wrap(respectedGameTypeUpdatedAt));
486485
} else {
487486
respectedGameType = _gameType;
488-
emit RespectedGameTypeSet(_gameType, Timestamp.wrap(respectedGameTypeUpdatedAt));
489487
}
488+
emit RespectedGameTypeSet(respectedGameType, Timestamp.wrap(respectedGameTypeUpdatedAt));
490489
}
491490

492491
/// @notice Checks if a withdrawal can be finalized. This function will revert if the withdrawal cannot be

0 commit comments

Comments
 (0)