Skip to content

Commit 62e388a

Browse files
s1x1c
1 parent 2073f40 commit 62e388a

File tree

9 files changed

+461
-85
lines changed

9 files changed

+461
-85
lines changed

.envrc

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
use flake
2+
3+
# Admin account
4+
export GS_ADMIN_ADDRESS=0xA487AACa83dc0261Ec6ecC049DEc1a114Be09633
5+
export GS_ADMIN_PRIVATE_KEY=0x9813ae9317088a52c5a339bb68840ebbf1dcfe9a8286146b95c81ed66fbd177a
6+
7+
# Batcher account
8+
export GS_BATCHER_ADDRESS=0x30Cc02A155051F7709585c8734369bF7ff8697E1
9+
export GS_BATCHER_PRIVATE_KEY=0x4458a596f1b03081ae02f0be4d89aff4ee4f5a0d0b1f30a225547040aabe0134
10+
11+
# Proposer account
12+
export GS_PROPOSER_ADDRESS=0x31Cb20A9eFEa1e857f7D53510eaf0012B4A67FC9
13+
export GS_PROPOSER_PRIVATE_KEY=0x85d9c71976a3f0ecf00e320909e9b0e392c2b68388d36721ce5a2978253b1988
14+
15+
# Sequencer account
16+
export GS_SEQUENCER_ADDRESS=0xc30Bd3Dd52Ba3804110bE713856aE6ff97eB4d80
17+
export GS_SEQUENCER_PRIVATE_KEY=0x1e536548463714a79154ab682bafc73382d4021768f645d850baf586c4aad989
18+
19+
export L1_RPC_URL="https://eth-holesky.g.alchemy.com/v2/DvJycB1yIoYFD34g6ezRt_n4rG1hAyn2"
20+
export L1_BLOCK_TIME=12
21+
export L1_CHAIN_ID=17000
22+
23+
export L2_CHAIN_ID=42069
24+
export L2_BLOCK_TIME=2
25+
26+
export ADDRESS=0x35Ec8a72D8e218C252EaE18044b0cBb97c1e57bF
27+
export PRIVATE_KEY=0xe6fd96073c41d6a2a6d3e03ca7a59ed5846c6b1c3bec47d53f8a7d4770a16ff0
28+
29+
export DEPLOYMENT_OUTFILE=deployments/artifact.json
30+
export DEPLOY_CONFIG_PATH=deploy-config/holesky.json
31+
32+
export FOUNDRY_DISABLE_NIGHTLY_WARNING=true
33+
34+
export IMPL_SALT=$(openssl rand -hex 32)

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ packages/contracts-bedrock/deployments/anvil
2929

3030
.secrets
3131
.env
32-
.env*
3332
!.env.example
3433
!.envrc.example
3534
*.log
@@ -46,3 +45,5 @@ __pycache__
4645

4746
# Ignore echidna artifacts
4847
crytic-export
48+
49+
.direnv

flake.lock

Lines changed: 148 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

flake.nix

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
{
2+
description = "";
3+
inputs = {
4+
devshell = {
5+
url = "github:numtide/devshell";
6+
inputs.systems.follows = "systems";
7+
};
8+
nixpkgs = {
9+
url = "github:NixOS/nixpkgs/nixos-unstable";
10+
};
11+
systems.url = "github:nix-systems/default";
12+
treefmt-nix = {
13+
url = "github:numtide/treefmt-nix";
14+
inputs.nixpkgs.follows = "nixpkgs";
15+
};
16+
foundry.url = "github:shazow/foundry.nix";
17+
};
18+
19+
outputs =
20+
{
21+
self,
22+
nixpkgs,
23+
systems,
24+
foundry,
25+
...
26+
}@inputs:
27+
let
28+
eachSystem =
29+
f:
30+
nixpkgs.lib.genAttrs (import systems) (
31+
system:
32+
f (
33+
import nixpkgs {
34+
inherit system;
35+
config = {
36+
allowUnfree = true;
37+
};
38+
overlays = [ foundry.overlay ];
39+
}
40+
)
41+
);
42+
in
43+
{
44+
devShells = eachSystem (pkgs: {
45+
default = pkgs.mkShell {
46+
buildInputs = [ pkgs.foundry-bin ];
47+
packages = [
48+
pkgs.go
49+
pkgs.goda
50+
pkgs.gopls
51+
pkgs.gops
52+
pkgs.goreman
53+
pkgs.just
54+
];
55+
};
56+
});
57+
};
58+
}
Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
1+
{
2+
3+
"l1StartingBlockTag": "0xf599a193ef3b9e7cca7211828c2ee6bcb6a7b683e4dd95a2b40876033381f05e",
4+
5+
"l1ChainID": 17000,
6+
"l2ChainID": 42069,
7+
"l2BlockTime": 2,
8+
"l1BlockTime": 12,
9+
10+
"maxSequencerDrift": 600,
11+
"sequencerWindowSize": 3600,
12+
"channelTimeout": 300,
13+
14+
"p2pSequencerAddress": "0xc30Bd3Dd52Ba3804110bE713856aE6ff97eB4d80",
15+
"batchInboxAddress": "0xff00000000000000000000000000000000042069",
16+
"batchSenderAddress": "0x30Cc02A155051F7709585c8734369bF7ff8697E1",
17+
18+
"l2OutputOracleSubmissionInterval": 120,
19+
"l2OutputOracleStartingBlockNumber": 0,
20+
"l2OutputOracleStartingTimestamp": 1739539128,
21+
22+
"l2OutputOracleProposer": "0x31Cb20A9eFEa1e857f7D53510eaf0012B4A67FC9",
23+
"l2OutputOracleChallenger": "0xA487AACa83dc0261Ec6ecC049DEc1a114Be09633",
24+
25+
"finalizationPeriodSeconds": 12,
26+
27+
"proxyAdminOwner": "0xA487AACa83dc0261Ec6ecC049DEc1a114Be09633",
28+
"baseFeeVaultRecipient": "0xA487AACa83dc0261Ec6ecC049DEc1a114Be09633",
29+
"l1FeeVaultRecipient": "0xA487AACa83dc0261Ec6ecC049DEc1a114Be09633",
30+
"sequencerFeeVaultRecipient": "0xA487AACa83dc0261Ec6ecC049DEc1a114Be09633",
31+
"finalSystemOwner": "0xA487AACa83dc0261Ec6ecC049DEc1a114Be09633",
32+
"superchainConfigGuardian": "0xA487AACa83dc0261Ec6ecC049DEc1a114Be09633",
33+
34+
"baseFeeVaultMinimumWithdrawalAmount": "0x8ac7230489e80000",
35+
"l1FeeVaultMinimumWithdrawalAmount": "0x8ac7230489e80000",
36+
"sequencerFeeVaultMinimumWithdrawalAmount": "0x8ac7230489e80000",
37+
"baseFeeVaultWithdrawalNetwork": 0,
38+
"l1FeeVaultWithdrawalNetwork": 0,
39+
"sequencerFeeVaultWithdrawalNetwork": 0,
40+
41+
"gasPriceOracleOverhead": 0,
42+
"gasPriceOracleScalar": 1000000,
43+
44+
"enableGovernance": true,
45+
"governanceTokenSymbol": "OP",
46+
"governanceTokenName": "Optimism",
47+
"governanceTokenOwner": "0xA487AACa83dc0261Ec6ecC049DEc1a114Be09633",
48+
49+
"l2GenesisBlockGasLimit": "0x1c9c380",
50+
"l2GenesisBlockBaseFeePerGas": "0x3b9aca00",
51+
52+
"eip1559Denominator": 50,
53+
"eip1559DenominatorCanyon": 250,
54+
"eip1559Elasticity": 6,
55+
"l2GenesisFjordTimeOffset": "0x0",
56+
"l2GenesisRegolithTimeOffset": "0x0",
57+
"l2GenesisEcotoneTimeOffset": "0x0",
58+
"l2GenesisDeltaTimeOffset": "0x0",
59+
"l2GenesisCanyonTimeOffset": "0x0",
60+
"systemConfigStartBlock": 0,
61+
62+
"requiredProtocolVersion": "0x0000000000000000000000000000000000000009000000000000000000000000",
63+
"recommendedProtocolVersion": "0x0000000000000000000000000000000000000009000000000000000000000000",
64+
65+
"faultGameAbsolutePrestate": "0x03c7ae758795765c6664a5d39bf63841c71ff191e9189522bad8ebff5d4eca98",
66+
"faultGameMaxDepth": 44,
67+
"faultGameClockExtension": 0,
68+
"faultGameMaxClockDuration": 1200,
69+
"faultGameGenesisBlock": 0,
70+
"faultGameGenesisOutputRoot": "0x0000000000000000000000000000000000000000000000000000000000000000",
71+
"faultGameSplitDepth": 14,
72+
"faultGameWithdrawalDelay": 600,
73+
74+
"preimageOracleMinProposalSize": 1800000,
75+
"preimageOracleChallengePeriod": 300,
76+
77+
"proofMaturityDelaySeconds": 604800,
78+
"disputeGameFinalityDelaySeconds": 302400
79+
}
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"DelayedWETH": "0xA45784AdF095e44548291e44015691544F83Ed40",
3+
"DisputeGameFactory": "0x1C4d36E34DdC0B7fB402Be75D779659BD5DD2130",
4+
"L1CrossDomainMessenger": "0xf3F7c4F5f5d3C2E681F541d5258706788AB15Ca9",
5+
"L1ERC721Bridge": "0x084c7A6951Da96331ac36e5FF34E106bED8A9877",
6+
"L1StandardBridge": "0xE762e8A993377f0C3EEd2DE8558EC423b8d9E06c",
7+
"L2OutputOracle": "0x299234a263A8fc8e2f1f0663436C1F96e050808E",
8+
"Mips": "0x778A687a289dF0d07D80C12AA66D89Ad3440B3e9",
9+
"OPContractsManager": "0x9E035C59EDB7Ae2b18E7743ddF8acc354ba44795",
10+
"OPContractsManagerProxy": "0x897712Bf97AedC30efbb0d7745DEd6feE4176D3f",
11+
"OptimismMintableERC20Factory": "0x8d428bdF2EE9a258faE8f0C97A48c74f774a556C",
12+
"OptimismPortal": "0x2b06a099EbEc56B14a35fBb49dBB5e5987F413f8",
13+
"OptimismPortal2": "0x461D688868755997f0127Ceba7D7411A75A8446A",
14+
"PreimageOracle": "0xe0d9712F49C104889B2f5b5ac4132b404324f4c1",
15+
"ProtocolVersions": "0x61d390288303E4cb6236A480CCe3e7a2a161b551",
16+
"ProtocolVersionsProxy": "0xC9ad849Ea59981dd92F67F301153c1648629d0dd",
17+
"SuperchainConfig": "0x03A7EB4EDc3E7A7867a48c340dBd356e2e8Da7d6",
18+
"SuperchainConfigProxy": "0x87F67eba4958038cdDd08144A739882e05f478B7",
19+
"SuperchainProxyAdmin": "0xa998ee6e2a795bB2126F6fFddcc3aee4233efF9C",
20+
"SystemConfig": "0x7BC7c31B78Aa02ce8019C9DDEe6374fFC8fab5aE"
21+
}

0 commit comments

Comments
 (0)