Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
nebula
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
exchain
nebula
Commits
9d41b8cb
Unverified
Commit
9d41b8cb
authored
Jan 07, 2025
by
Matthew Slipper
Committed by
GitHub
Jan 07, 2025
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
op-deployer: Update proof params JSON to match deploy config (#13616)
parent
83fb599d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
18 deletions
+18
-18
apply_test.go
op-deployer/pkg/deployer/integration_test/apply_test.go
+11
-12
chain_intent.go
op-deployer/pkg/deployer/state/chain_intent.go
+6
-6
init.go
op-e2e/config/init.go
+1
-0
No files found.
op-deployer/pkg/deployer/integration_test/apply_test.go
View file @
9d41b8cb
...
...
@@ -96,7 +96,6 @@ func (d *deployerKey) String() string {
func
TestEndToEndApply
(
t
*
testing
.
T
)
{
op_e2e
.
InitParallel
(
t
)
kurtosisutil
.
Test
(
t
)
lgr
:=
testlog
.
Logger
(
t
,
slog
.
LevelDebug
)
...
...
@@ -651,12 +650,12 @@ func TestProofParamOverrides(t *testing.T) {
"proofMaturityDelaySeconds"
:
standard
.
ProofMaturityDelaySeconds
+
1
,
"disputeGameFinalityDelaySeconds"
:
standard
.
DisputeGameFinalityDelaySeconds
+
1
,
"mipsVersion"
:
standard
.
MIPSVersion
+
1
,
"
disputeGameType"
:
standard
.
DisputeGameType
,
// This must be set to the permissioned game
"
disputeAbsolutePrestate"
:
common
.
Hash
{
'A'
,
'B'
,
'S'
,
'O'
,
'L'
,
'U'
,
'T'
,
'E'
},
"
disputeMaxGameDepth"
:
standard
.
DisputeMaxGameDepth
+
1
,
"
disputeSplitDepth"
:
standard
.
DisputeSplitDepth
+
1
,
"
disputeClockExtension"
:
standard
.
DisputeClockExtension
+
1
,
"
disputeMaxClockDuration"
:
standard
.
DisputeMaxClockDuration
+
1
,
"
respectedGameType"
:
standard
.
DisputeGameType
,
// This must be set to the permissioned game
"
faultGameAbsolutePrestate"
:
common
.
Hash
{
'A'
,
'B'
,
'S'
,
'O'
,
'L'
,
'U'
,
'T'
,
'E'
},
"
faultGameMaxDepth"
:
standard
.
DisputeMaxGameDepth
+
1
,
"
faultGameSplitDepth"
:
standard
.
DisputeSplitDepth
+
1
,
"
faultGameClockExtension"
:
standard
.
DisputeClockExtension
+
1
,
"
faultGameMaxClockDuration"
:
standard
.
DisputeMaxClockDuration
+
1
,
"dangerouslyAllowCustomDisputeParameters"
:
true
,
}
...
...
@@ -700,29 +699,29 @@ func TestProofParamOverrides(t *testing.T) {
st
.
ImplementationsDeployment
.
OptimismPortalImplAddress
,
},
{
"
disput
eAbsolutePrestate"
,
"
faultGam
eAbsolutePrestate"
,
func
(
t
*
testing
.
T
,
val
any
)
common
.
Hash
{
return
val
.
(
common
.
Hash
)
},
chainState
.
PermissionedDisputeGameAddress
,
},
{
"
disputeMaxGame
Depth"
,
"
faultGameMax
Depth"
,
uint64Caster
,
chainState
.
PermissionedDisputeGameAddress
,
},
{
"
disput
eSplitDepth"
,
"
faultGam
eSplitDepth"
,
uint64Caster
,
chainState
.
PermissionedDisputeGameAddress
,
},
{
"
disput
eClockExtension"
,
"
faultGam
eClockExtension"
,
uint64Caster
,
chainState
.
PermissionedDisputeGameAddress
,
},
{
"
disput
eMaxClockDuration"
,
"
faultGam
eMaxClockDuration"
,
uint64Caster
,
chainState
.
PermissionedDisputeGameAddress
,
},
...
...
op-deployer/pkg/deployer/state/chain_intent.go
View file @
9d41b8cb
...
...
@@ -17,12 +17,12 @@ const (
)
type
ChainProofParams
struct
{
DisputeGameType
uint32
`json:"
disputeGameType" toml:"dispute
GameType"`
DisputeAbsolutePrestate
common
.
Hash
`json:"
disputeAbsolutePrestate" toml:"disput
eAbsolutePrestate"`
DisputeMaxGameDepth
uint64
`json:"
disputeMaxGameDepth" toml:"disputeMaxGame
Depth"`
DisputeSplitDepth
uint64
`json:"
disputeSplitDepth" toml:"disput
eSplitDepth"`
DisputeClockExtension
uint64
`json:"
disputeClockExtension" toml:"disput
eClockExtension"`
DisputeMaxClockDuration
uint64
`json:"
disputeMaxClockDuration" toml:"disput
eMaxClockDuration"`
DisputeGameType
uint32
`json:"
respectedGameType" toml:"respected
GameType"`
DisputeAbsolutePrestate
common
.
Hash
`json:"
faultGameAbsolutePrestate" toml:"faultGam
eAbsolutePrestate"`
DisputeMaxGameDepth
uint64
`json:"
faultGameMaxDepth" toml:"faultGameMax
Depth"`
DisputeSplitDepth
uint64
`json:"
faultGameSplitDepth" toml:"faultGam
eSplitDepth"`
DisputeClockExtension
uint64
`json:"
faultGameClockExtension" toml:"faultGam
eClockExtension"`
DisputeMaxClockDuration
uint64
`json:"
faultGameMaxClockDuration" toml:"faultGam
eMaxClockDuration"`
DangerouslyAllowCustomDisputeParameters
bool
`json:"dangerouslyAllowCustomDisputeParameters" toml:"dangerouslyAllowCustomDisputeParameters"`
}
...
...
op-e2e/config/init.go
View file @
9d41b8cb
...
...
@@ -401,6 +401,7 @@ func defaultIntent(root string, loc *artifacts.Locator, deployer common.Address,
"faultGameGenesisBlock"
:
0
,
"faultGameGenesisOutputRoot"
:
genesisOutputRoot
.
Hex
(),
"faultGameSplitDepth"
:
14
,
"dangerouslyAllowCustomDisputeParameters"
:
true
,
"faultGameWithdrawalDelay"
:
604800
,
"preimageOracleMinProposalSize"
:
10000
,
"preimageOracleChallengePeriod"
:
120
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment