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 |
| - rollupCreationBlockNumber | No | integer | No | - | L1: block number in which the rollup was created |
| - rollupManagerCreationBlockNumber | No | integer | No | - | L1: block number in which the rollup manager was created |
| - 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 |
Type: : string
Description: L1: root hash of the genesis block
Type: : integer
Description: L1: block number in which the rollup was created
Type: : integer
Description: L1: block number in which the rollup manager was created
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 | - |
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 | - | - |
Type: : string
Type: : string
Type: : string
Type: : string
Type: : object
| Property | Pattern | Type | Deprecated | Definition | Title/Description |
|---|---|---|---|---|---|
| - | No | string | No | - | - |
Type: : string
Type: : string
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 | - | ZkEVMAddr Address of the L1 contract polygonZkEVMAddress |
| - polygonRollupManagerAddress | No | array of integer | No | - | RollupManagerAddr Address of the L1 contract |
| - polTokenAddress | No | array of integer | No | - | PolAddr Address of the L1 Pol token Contract |
| - polygonZkEVMGlobalExitRootAddress | No | array of integer | No | - | GlobalExitRootManagerAddr Address of the L1 GlobalExitRootManager contract |
Type: : integer
Description: Chain ID of the L1 network
Type: : array of integer
Description: ZkEVMAddr Address of the L1 contract polygonZkEVMAddress
Type: : array of integer
Description: RollupManagerAddr Address of the L1 contract
Type: : array of integer
Description: PolAddr Address of the L1 Pol token Contract
Type: : array of integer
Description: GlobalExitRootManagerAddr Address of the L1 GlobalExitRootManager contract
Generated using json-schema-for-humans