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
da054de9
Unverified
Commit
da054de9
authored
Mar 18, 2024
by
clabby
Committed by
GitHub
Mar 18, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(ctb): Sepolia FPAC deploy config (#9898)
* Sepolia FPAC deploy config * fix deploy script
parent
4aeeb859
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
sepolia.json
packages/contracts-bedrock/deploy-config/sepolia.json
+5
-5
FPACOPS.s.sol
packages/contracts-bedrock/scripts/fpac/FPACOPS.s.sol
+2
-2
No files found.
packages/contracts-bedrock/deploy-config/sepolia.json
View file @
da054de9
...
...
@@ -43,14 +43,14 @@
"requiredProtocolVersion"
:
"0x0000000000000000000000000000000000000004000000000000000000000001"
,
"recommendedProtocolVersion"
:
"0x0000000000000000000000000000000000000004000000000000000000000001"
,
"fundDevAccounts"
:
false
,
"faultGameAbsolutePrestate"
:
"0x03
e1255457128b9afd9acf93239c1d477bdff88624901f9ca8fe0783b756dbe0
"
,
"faultGameAbsolutePrestate"
:
"0x03
1e3b504740d0b1264e8cf72b6dde0d497184cfb3f98e451c6be8b33bd3f808
"
,
"faultGameMaxDepth"
:
73
,
"faultGameMaxDuration"
:
604800
,
"faultGameGenesisBlock"
:
4061224
,
"faultGameGenesisOutputRoot"
:
"0x
d08055c58b2c5149565c636b44fad2c25b5ccddef1385a2cb721529d7480b242
"
,
"faultGameSplitDepth"
:
3
2
,
"faultGameGenesisBlock"
:
9496192
,
"faultGameGenesisOutputRoot"
:
"0x
63b1cda487c072b020a57c1203f7c2921754005cadbd54bed7f558111b8278d8
"
,
"faultGameSplitDepth"
:
3
0
,
"faultGameWithdrawalDelay"
:
604800
,
"preimageOracleMinProposalSize"
:
1
800
000
,
"preimageOracleMinProposalSize"
:
1
26
000
,
"preimageOracleChallengePeriod"
:
86400
,
"proofMaturityDelaySeconds"
:
604800
,
"disputeGameFinalityDelaySeconds"
:
302400
,
...
...
packages/contracts-bedrock/scripts/fpac/FPACOPS.s.sol
View file @
da054de9
...
...
@@ -86,7 +86,7 @@ contract FPACOPS is Deploy, StdAssertions {
function initializeAnchorStateRegistryProxy() internal broadcast {
console.log("Initializing AnchorStateRegistryProxy with AnchorStateRegistry.");
AnchorStateRegistry.StartingAnchorRoot[] memory roots = new AnchorStateRegistry.StartingAnchorRoot[](
3
);
AnchorStateRegistry.StartingAnchorRoot[] memory roots = new AnchorStateRegistry.StartingAnchorRoot[](
2
);
roots[0] = AnchorStateRegistry.StartingAnchorRoot({
gameType: GameTypes.CANNON,
outputRoot: OutputRoot({
...
...
@@ -177,7 +177,7 @@ contract FPACOPS is Deploy, StdAssertions {
assertEq(soyGameImpl.absolutePrestate().raw(), bytes32(cfg.faultGameAbsolutePrestate()));
// Check the AnchorStateRegistry configuration.
AnchorStateRegistry asr = AnchorStateRegistry(mustGetAddress("AnchorStateRegistry"));
AnchorStateRegistry asr = AnchorStateRegistry(mustGetAddress("AnchorStateRegistry
Proxy
"));
(Hash root1, uint256 l2BlockNumber1) = asr.anchors(GameTypes.CANNON);
(Hash root2, uint256 l2BlockNumber2) = asr.anchors(GameTypes.PERMISSIONED_CANNON);
assertEq(root1.raw(), cfg.faultGameGenesisOutputRoot());
...
...
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