-
Notifications
You must be signed in to change notification settings - Fork 212
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
fe45197
commit e798667
Showing
4 changed files
with
353 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,171 @@ | ||
{ | ||
"proposal": { | ||
"title": "Add Specs: Optimism", | ||
"description": "Adding new specification support for relaying Optimism data on Lava, slow lookup for latest block to reduce provider load", | ||
"specs": [ | ||
{ | ||
"index": "OPTM", | ||
"name": "optimism mainnet", | ||
"enabled": true, | ||
"imports": [ "ETH1" ], | ||
"reliability_threshold": 268435455, | ||
"data_reliability_enabled": true, | ||
"block_distance_for_finalized_data": 1, | ||
"blocks_in_finalization_proof": 1, | ||
"average_block_time": "5000", | ||
"allowed_block_lag_for_qos_sync": "200", | ||
"min_stake_provider": { | ||
"denom": "ulava", | ||
"amount": "50000000000" | ||
}, | ||
"min_stake_client": { | ||
"denom": "ulava", | ||
"amount": "5000000000" | ||
}, | ||
"apis": [ | ||
{ | ||
"name": "eth_getBlockRange", | ||
"block_parsing": { | ||
"parser_arg": [ | ||
"1" | ||
], | ||
"parser_func": "PARSE_BY_ARG" | ||
}, | ||
"compute_units": "20", | ||
"enabled": true, | ||
"api_interfaces": [ | ||
{ | ||
"category": { | ||
"deterministic": true, | ||
"local": false, | ||
"subscription": false, | ||
"stateful": 0 | ||
}, | ||
"interface": "jsonrpc", | ||
"type": "GET", | ||
"extra_compute_units": "0" | ||
} | ||
] | ||
}, | ||
{ | ||
"name": "rollup_getInfo", | ||
"block_parsing": { | ||
"parser_arg": [ | ||
"" | ||
], | ||
"parser_func": "EMPTY" | ||
}, | ||
"compute_units": "10", | ||
"enabled": true, | ||
"api_interfaces": [ | ||
{ | ||
"category": { | ||
"deterministic": false, | ||
"local": true, | ||
"subscription": false, | ||
"stateful": 0 | ||
}, | ||
"interface": "jsonrpc", | ||
"type": "GET", | ||
"extra_compute_units": "0" | ||
} | ||
] | ||
}, | ||
{ | ||
"name": "rollup_gasPrices", | ||
"block_parsing": { | ||
"parser_arg": [ | ||
"latest" | ||
], | ||
"parser_func": "DEFAULT" | ||
}, | ||
"compute_units": "10", | ||
"enabled": true, | ||
"api_interfaces": [ | ||
{ | ||
"category": { | ||
"deterministic": true, | ||
"local": false, | ||
"subscription": false, | ||
"stateful": 0 | ||
}, | ||
"interface": "jsonrpc", | ||
"type": "GET", | ||
"extra_compute_units": "0" | ||
} | ||
] | ||
}, | ||
{ | ||
"name": "eth_getAccounts", | ||
"block_parsing": { | ||
"parser_arg": [ | ||
"" | ||
], | ||
"parser_func": "EMPTY" | ||
}, | ||
"compute_units": "10", | ||
"enabled": false, | ||
"api_interfaces": [ | ||
{ | ||
"category": { | ||
"deterministic": true, | ||
"local": false, | ||
"subscription": false, | ||
"stateful": 0 | ||
}, | ||
"interface": "jsonrpc", | ||
"type": "GET", | ||
"extra_compute_units": "0" | ||
} | ||
] | ||
}, | ||
{ | ||
"name": "eth_sendTransaction", | ||
"block_parsing": { | ||
"parser_arg": [ | ||
"" | ||
], | ||
"parser_func": "EMPTY" | ||
}, | ||
"compute_units": "10", | ||
"enabled": false, | ||
"api_interfaces": [ | ||
{ | ||
"category": { | ||
"deterministic": true, | ||
"local": false, | ||
"subscription": false, | ||
"stateful": 0 | ||
}, | ||
"interface": "jsonrpc", | ||
"type": "GET", | ||
"extra_compute_units": "0" | ||
} | ||
] | ||
} | ||
] | ||
}, | ||
{ | ||
"index": "OPTMT", | ||
"name": "optimism goerli testnet", | ||
"enabled": true, | ||
"imports": [ "OPTM" ], | ||
"reliability_threshold": 268435455, | ||
"data_reliability_enabled": true, | ||
"block_distance_for_finalized_data": 1, | ||
"blocks_in_finalization_proof": 1, | ||
"average_block_time": "5000", | ||
"allowed_block_lag_for_qos_sync": "200", | ||
"min_stake_provider": { | ||
"denom": "ulava", | ||
"amount": "50000000000" | ||
}, | ||
"min_stake_client": { | ||
"denom": "ulava", | ||
"amount": "5000000000" | ||
} | ||
} | ||
] | ||
}, | ||
"deposit": "10000000ulava" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,171 @@ | ||
{ | ||
"proposal": { | ||
"title": "Add Specs: Optimism", | ||
"description": "Adding new specification support for relaying Optimism data on Lava", | ||
"specs": [ | ||
{ | ||
"index": "OPTM", | ||
"name": "optimism mainnet", | ||
"enabled": true, | ||
"imports": [ "ETH1" ], | ||
"reliability_threshold": 268435455, | ||
"data_reliability_enabled": true, | ||
"block_distance_for_finalized_data": 1, | ||
"blocks_in_finalization_proof": 1, | ||
"average_block_time": "250", | ||
"allowed_block_lag_for_qos_sync": "10", | ||
"min_stake_provider": { | ||
"denom": "ulava", | ||
"amount": "50000000000" | ||
}, | ||
"min_stake_client": { | ||
"denom": "ulava", | ||
"amount": "5000000000" | ||
}, | ||
"apis": [ | ||
{ | ||
"name": "eth_getBlockRange", | ||
"block_parsing": { | ||
"parser_arg": [ | ||
"1" | ||
], | ||
"parser_func": "PARSE_BY_ARG" | ||
}, | ||
"compute_units": "20", | ||
"enabled": true, | ||
"api_interfaces": [ | ||
{ | ||
"category": { | ||
"deterministic": true, | ||
"local": false, | ||
"subscription": false, | ||
"stateful": 0 | ||
}, | ||
"interface": "jsonrpc", | ||
"type": "GET", | ||
"extra_compute_units": "0" | ||
} | ||
] | ||
}, | ||
{ | ||
"name": "rollup_getInfo", | ||
"block_parsing": { | ||
"parser_arg": [ | ||
"" | ||
], | ||
"parser_func": "EMPTY" | ||
}, | ||
"compute_units": "10", | ||
"enabled": true, | ||
"api_interfaces": [ | ||
{ | ||
"category": { | ||
"deterministic": false, | ||
"local": true, | ||
"subscription": false, | ||
"stateful": 0 | ||
}, | ||
"interface": "jsonrpc", | ||
"type": "GET", | ||
"extra_compute_units": "0" | ||
} | ||
] | ||
}, | ||
{ | ||
"name": "rollup_gasPrices", | ||
"block_parsing": { | ||
"parser_arg": [ | ||
"latest" | ||
], | ||
"parser_func": "DEFAULT" | ||
}, | ||
"compute_units": "10", | ||
"enabled": true, | ||
"api_interfaces": [ | ||
{ | ||
"category": { | ||
"deterministic": true, | ||
"local": false, | ||
"subscription": false, | ||
"stateful": 0 | ||
}, | ||
"interface": "jsonrpc", | ||
"type": "GET", | ||
"extra_compute_units": "0" | ||
} | ||
] | ||
}, | ||
{ | ||
"name": "eth_getAccounts", | ||
"block_parsing": { | ||
"parser_arg": [ | ||
"" | ||
], | ||
"parser_func": "EMPTY" | ||
}, | ||
"compute_units": "10", | ||
"enabled": false, | ||
"api_interfaces": [ | ||
{ | ||
"category": { | ||
"deterministic": true, | ||
"local": false, | ||
"subscription": false, | ||
"stateful": 0 | ||
}, | ||
"interface": "jsonrpc", | ||
"type": "GET", | ||
"extra_compute_units": "0" | ||
} | ||
] | ||
}, | ||
{ | ||
"name": "eth_sendTransaction", | ||
"block_parsing": { | ||
"parser_arg": [ | ||
"" | ||
], | ||
"parser_func": "EMPTY" | ||
}, | ||
"compute_units": "10", | ||
"enabled": false, | ||
"api_interfaces": [ | ||
{ | ||
"category": { | ||
"deterministic": true, | ||
"local": false, | ||
"subscription": false, | ||
"stateful": 0 | ||
}, | ||
"interface": "jsonrpc", | ||
"type": "GET", | ||
"extra_compute_units": "0" | ||
} | ||
] | ||
} | ||
] | ||
}, | ||
{ | ||
"index": "OPTMT", | ||
"name": "optimism goerli testnet", | ||
"enabled": true, | ||
"imports": [ "OPTM" ], | ||
"reliability_threshold": 268435455, | ||
"data_reliability_enabled": true, | ||
"block_distance_for_finalized_data": 1, | ||
"blocks_in_finalization_proof": 1, | ||
"average_block_time": "250", | ||
"allowed_block_lag_for_qos_sync": "10", | ||
"min_stake_provider": { | ||
"denom": "ulava", | ||
"amount": "50000000000" | ||
}, | ||
"min_stake_client": { | ||
"denom": "ulava", | ||
"amount": "5000000000" | ||
} | ||
} | ||
] | ||
}, | ||
"deposit": "10000000ulava" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters