Skip to content

Commit

Permalink
add json files
Browse files Browse the repository at this point in the history
  • Loading branch information
Sneh1999 committed Nov 6, 2024
1 parent 8886cb4 commit c2f7d67
Show file tree
Hide file tree
Showing 3 changed files with 67 additions and 37 deletions.
4 changes: 2 additions & 2 deletions Dockerfile.sgx-poster
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM ghcr.io/espressosystems/nitro-espresso-integration/nitro-node-dev:latest

COPY ./config /config
COPY ./l1keystore /l1keystore
COPY ./config /config/
COPY ./l1keystore /l1keystore/

EXPOSE 8547
EXPOSE 8548
Expand Down
81 changes: 54 additions & 27 deletions config/l2_chain_info.json
Original file line number Diff line number Diff line change
@@ -1,27 +1,54 @@
{
"chainId": 412346,
"homesteadBlock": 0,
"daoForkSupport": true,
"eip150Block": 0,
"eip150Hash": "0x0000000000000000000000000000000000000000000000000000000000000000",
"eip155Block": 0,
"eip158Block": 0,
"byzantiumBlock": 0,
"constantinopleBlock": 0,
"petersburgBlock": 0,
"istanbulBlock": 0,
"muirGlacierBlock": 0,
"berlinBlock": 0,
"londonBlock": 0,
"clique": { "period": 0, "epoch": 0 },
"arbitrum": {
"EnableArbOS": true,
"AllowDebugPrecompiles": true,
"DataAvailabilityCommittee": false,
"InitialArbOSVersion": 30,
"InitialChainOwner": "0x5E1497dD1f08C87b2d8FE23e9AAB6c1De833D927",
"GenesisBlockNum": 0,
"EnableEspresso": true
},
"espresso": true
}
[
{
"chain-name": "arb-dev-test",
"parent-chain-id": 1337,
"parent-chain-is-arbitrum": false,
"sequencer-url": "",
"secondary-forwarding-target": "",
"feed-url": "",
"secondary-feed-url": "",
"das-index-url": "",
"has-genesis-state": false,
"chain-config": {
"chainId": 412346,
"homesteadBlock": 0,
"daoForkSupport": true,
"eip150Block": 0,
"eip150Hash": "0x0000000000000000000000000000000000000000000000000000000000000000",
"eip155Block": 0,
"eip158Block": 0,
"byzantiumBlock": 0,
"constantinopleBlock": 0,
"petersburgBlock": 0,
"istanbulBlock": 0,
"muirGlacierBlock": 0,
"berlinBlock": 0,
"londonBlock": 0,
"clique": {
"period": 0,
"epoch": 0
},
"arbitrum": {
"EnableArbOS": true,
"AllowDebugPrecompiles": true,
"DataAvailabilityCommittee": false,
"InitialArbOSVersion": 30,
"InitialChainOwner": "0x5E1497dD1f08C87b2d8FE23e9AAB6c1De833D927",
"GenesisBlockNum": 0,
"EnableEspresso": true
},
"espresso": true
},
"rollup": {
"bridge": "0x5eCF728ffC5C5E802091875f96281B5aeECf6C49",
"inbox": "0x9f8c1c641336A371031499e3c362e40d58d0f254",
"sequencer-inbox": "0x18d19C5d3E685f5be5b9C86E097f0E439285D216",
"deployed-at": 122,
"rollup": "0x8B331A831142326A93c2CA5322369fC3D009A629",
"native-token": "0x0000000000000000000000000000000000000000",
"upgrade-executor": "0x513D9F96d4D0563DEbae8a0DC307ea0E46b10ed7",
"validator-utils": "0xa80482dDdB7F8B9DcC24A1cd13488E3379a14568",
"validator-wallet-creator": "0x92f58045FFB1C00a7b9486B9D2a55d316380CB45"
}
}
]
19 changes: 11 additions & 8 deletions config/poster_config.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
{
"parent-chain": { "connection": { "url": "ws://geth:8546" } },
"parent-chain": {
"connection": { "url": "ws://3faf-142-115-111-147.ngrok-free.app" }
},
"chain": { "id": 412346, "info-files": ["/config/l2_chain_info.json"] },
"node": {
"staker": {
"dangerous": { "without-block-validator": false },
"parent-chain-wallet": {
"account": "0x6A568afe0f82d34759347bb36F14A6bB171d2CBe",
"password": "passphrase",
"pathname": "/home/user/l1keystore"
"pathname": "/l1keystore"
},
"disable-challenge": false,
"enable": false,
Expand All @@ -23,7 +25,7 @@
"delayed-sequencer": { "enable": false },
"seq-coordinator": {
"enable": false,
"redis-url": "redis://redis:6379",
"redis-url": "redis://default:7gIGOkEyR2nNe3YJ2u6o67KiCKjzL0ey@redis-16988.c56.east-us.azure.redns.redis-cloud.com:16988",
"lockout-duration": "30s",
"lockout-spare": "1s",
"my-url": "",
Expand All @@ -33,24 +35,25 @@
},
"batch-poster": {
"enable": true,
"redis-url": "redis://redis:6379",
"redis-url": "redis://default:7gIGOkEyR2nNe3YJ2u6o67KiCKjzL0ey@redis-16988.c56.east-us.azure.redns.redis-cloud.com:16988",
"max-delay": "30s",
"l1-block-bound": "ignore",
"parent-chain-wallet": {
"account": "0xe2148eE53c0755215Df69b2616E552154EdC584f",
"password": "passphrase",
"pathname": "/home/user/l1keystore"
"pathname": "/l1keystore"
},
"data-poster": {
"redis-signer": {
"signing-key": "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef"
},
"wait-for-l1-finality": false
},
"hotshot-url": "http://espresso-dev-node:41000",
"hotshot-url": "http://5eb7-142-115-111-147.ngrok-free.app",
"light-client-address": "0xb6eb235fa509e3206f959761d11e3777e16d0e98"
},
"block-validator": {
"enable": false,
"validation-server": {
"url": "ws://validation_node:8549",
"jwtsecret": "/config/val_jwt.hex"
Expand All @@ -60,12 +63,12 @@
"light-client-address": ""
},
"feed": {
"input": { "url": ["ws://sequencer:9642"] },
"input": { "url": ["ws://618e-142-115-111-147.ngrok-free.app"] },
"output": { "enable": false, "signed": false, "addr": "0.0.0.0" }
},
"transaction-streamer": {
"sovereign-sequencer-enabled": true,
"hotshot-url": "http://espresso-dev-node:41000",
"hotshot-url": "http://5eb7-142-115-111-147.ngrok-free.app",
"espresso-namespace": 412346
}
},
Expand Down

0 comments on commit c2f7d67

Please sign in to comment.