Skip to content

Latest commit

 

History

History
124 lines (82 loc) · 6.65 KB

custom_network-config-doc.md

File metadata and controls

124 lines (82 loc) · 6.65 KB

Schema Docs

Type: : object Description: GenesisFromJSON is the config file for network_custom

Property Pattern Type Deprecated Definition Title/Description
- root No string No - L1: root hash of the genesis block
- genesisBlockNumber No integer No - L1: block number of the genesis block
- genesis No array of object No - L2: List of states contracts used to populate merkle tree at initial state
- L1Config No object No - L1: configuration of the network

1. root

Type: : string Description: L1: root hash of the genesis block

2. genesisBlockNumber

Type: : integer Description: L1: block number of the genesis block

3. genesis

Type: : array of object Description: L2: List of states contracts used to populate merkle tree at initial state

Array restrictions
Min items N/A
Max items N/A
Items unicity False
Additional items False
Tuple validation See below
Each item of this array must be Description
genesis items -

3.1. [genesis.genesis items]

Type: : object

Property Pattern Type Deprecated Definition Title/Description
- balance No string No - -
- nonce No string No - -
- address No string No - -
- bytecode No string No - -
- storage No object No - -
- contractName No string No - -

3.1.1. genesis.genesis items.balance

Type: : string

3.1.2. genesis.genesis items.nonce

Type: : string

3.1.3. genesis.genesis items.address

Type: : string

3.1.4. genesis.genesis items.bytecode

Type: : string

3.1.5. [genesis.genesis items.storage]

Type: : object

Property Pattern Type Deprecated Definition Title/Description
- No string No - -
3.1.5.1. genesis.genesis items.storage.additionalProperties

Type: : string

3.1.6. genesis.genesis items.contractName

Type: : string

4. [L1Config]

Type: : object Description: L1: configuration of the network

Property Pattern Type Deprecated Definition Title/Description
- chainId No integer No - Chain ID of the L1 network
- polygonZkEVMAddress No array of integer No - Address of the L1 contract
- maticTokenAddress No array of integer No - Address of the L1 Matic token Contract
- polygonZkEVMGlobalExitRootAddress No array of integer No - Address of the L1 GlobalExitRootManager contract
- cdkDataCommitteeContract No array of integer No - Address of the data availability committee contract

4.1. L1Config.chainId

Type: : integer Description: Chain ID of the L1 network

4.2. L1Config.polygonZkEVMAddress

Type: : array of integer Description: Address of the L1 contract

4.3. L1Config.maticTokenAddress

Type: : array of integer Description: Address of the L1 Matic token Contract

4.4. L1Config.polygonZkEVMGlobalExitRootAddress

Type: : array of integer Description: Address of the L1 GlobalExitRootManager contract

4.5. L1Config.cdkDataCommitteeContract

Type: : array of integer Description: Address of the data availability committee contract


Generated using json-schema-for-humans