Skip to content

Commit cff556b

Browse files
authored
Merge pull request #44 from EspressoSystems/update-config
Add config template with updated values.
2 parents 58fdab6 + b466437 commit cff556b

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

scripts/config.template.ts

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
import { ethers } from 'ethers'
2+
3+
// 90% of Geth's 128KB tx size limit, leaving ~13KB for proving
4+
// This need to be adjusted for Orbit chains
5+
export const maxDataSize = 104857
6+
7+
export const config = {
8+
rollupConfig: {
9+
confirmPeriodBlocks: ethers.BigNumber.from('1'),
10+
extraChallengeTimeBlocks: ethers.BigNumber.from('1'),
11+
stakeToken: ethers.constants.AddressZero,
12+
baseStake: ethers.utils.parseEther('0.01'),
13+
wasmModuleRoot:
14+
'0x184884e1eb9fefdc158f6c8ac912bb183bf3cf83f0090317e0bc4ac5860baa39',
15+
owner: 'OWNER_ADDRESS',
16+
loserStakeEscrow: ethers.constants.AddressZero,
17+
chainId: ethers.BigNumber.from('YOUR_CHAIN_ID'),
18+
chainConfig:
19+
'{"chainId":YOUR_CHAIN_ID,"homesteadBlock":0,"daoForkBlock":null,"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,"EnableEspresso":true,"AllowDebugPrecompiles":false,"DataAvailabilityCommittee":false,"InitialArbOSVersion":10,"InitialChainOwner":"AN_OWNED_ADDRESS","GenesisBlockNum":0}}',
20+
genesisBlockNum: ethers.BigNumber.from('0'),
21+
sequencerInboxMaxTimeVariation: {
22+
delayBlocks: ethers.BigNumber.from('5760'),
23+
futureBlocks: ethers.BigNumber.from('12'),
24+
delaySeconds: ethers.BigNumber.from('86400'),
25+
futureSeconds: ethers.BigNumber.from('3600'),
26+
},
27+
espressoTEEVerifier: '0x8354db765810dF8F24f1477B06e91E5b17a408bF',
28+
},
29+
validators: [
30+
'AN_OWNED_ADDRESS',
31+
],
32+
batchPosters: ['ANOTHER_OWNED_ADDRESS'],
33+
batchPosterManager: 'ANOTHER_OWNED_ADDRESS'
34+
}

0 commit comments

Comments
 (0)