Skip to content

Commit

Permalink
Merge commit '5f61eaf7dfc3289ab585af4e19277df404767a43' into PRT-repl…
Browse files Browse the repository at this point in the history
…ace-cookbook-with-lava-config
  • Loading branch information
shleikes committed Dec 3, 2024
2 parents e4064e4 + 5f61eaf commit d4bb186
Show file tree
Hide file tree
Showing 5 changed files with 744 additions and 3 deletions.
2 changes: 1 addition & 1 deletion specs/mainnet-1/specs/base.json
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
"shares": 1,
"min_stake_provider": {
"denom": "ulava",
"amount": "47500000000"
"amount": "5000000000"
},
"api_collections": [
{
Expand Down
114 changes: 114 additions & 0 deletions specs/mainnet-1/specs/blast.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,114 @@
{
"proposal": {
"title": "Add Specs: Blast",
"description": "Adding new specification support for relaying data on Blast ",
"specs": [
{
"index": "BLAST",
"name": "blast mainnet",
"enabled": true,
"imports": ["ETH1"],
"reliability_threshold": 268435455,
"data_reliability_enabled": true,
"block_distance_for_finalized_data": 6,
"blocks_in_finalization_proof": 2,
"average_block_time": 2000,
"allowed_block_lag_for_qos_sync": 15,
"shares": 1,
"min_stake_provider": {
"denom": "ulava",
"amount": "5000000000"
},
"api_collections": [
{
"enabled": true,
"collection_data": {
"api_interface": "jsonrpc",
"internal_path": "",
"type": "POST",
"add_on": ""
},
"apis": [],
"headers": [],
"inheritance_apis": [],
"parse_directives": [],
"verifications": [
{
"name": "chain-id",
"values": [
{
"expected_value": "0x13e31"
}
]
},
{
"name": "pruning",
"values": [
{
"latest_distance": 43200
},
{
"extension": "archive",
"expected_value": "0x0"
}
]
}
],
"extensions": [
{
"name": "archive",
"cu_multiplier": 5,
"rule": {
"block": 43000
}
}
]
}
]
},
{
"index": "BLASTSP",
"name": "blast sepolia testnet",
"enabled": true,
"imports": ["BLAST"],
"reliability_threshold": 268435455,
"data_reliability_enabled": true,
"block_distance_for_finalized_data": 6,
"blocks_in_finalization_proof": 2,
"average_block_time": 2000,
"allowed_block_lag_for_qos_sync": 15,
"shares": 1,
"min_stake_provider": {
"denom": "ulava",
"amount": "5000000000"
},
"api_collections": [
{
"enabled": true,
"collection_data": {
"api_interface": "jsonrpc",
"internal_path": "",
"type": "POST",
"add_on": ""
},
"apis": [],
"headers": [],
"inheritance_apis": [],
"parse_directives": [],
"verifications": [
{
"name": "chain-id",
"values": [
{
"expected_value": "0xa0c71fd"
}
]
}
]
}
]
}
]
},
"deposit": "10000000ulava"
}
208 changes: 208 additions & 0 deletions specs/mainnet-1/specs/optimism.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,208 @@
{
"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": 2000,
"allowed_block_lag_for_qos_sync": 8,
"shares": 1,
"min_stake_provider": {
"denom": "ulava",
"amount": "5000000000"
},
"api_collections": [
{
"enabled": true,
"collection_data": {
"api_interface": "jsonrpc",
"internal_path": "",
"type": "POST",
"add_on": ""
},
"apis": [
{
"name": "eth_getAccounts",
"block_parsing": {
"parser_arg": [
""
],
"parser_func": "EMPTY"
},
"compute_units": 10,
"enabled": false,
"category": {
"deterministic": true,
"local": false,
"subscription": false,
"stateful": 0
},
"extra_compute_units": 0
},
{
"name": "eth_getBlockRange",
"block_parsing": {
"parser_arg": [
"1"
],
"parser_func": "PARSE_BY_ARG"
},
"compute_units": 10,
"enabled": true,
"category": {
"deterministic": true,
"local": false,
"subscription": false,
"stateful": 0
},
"extra_compute_units": 0
},
{
"name": "eth_sendTransaction",
"block_parsing": {
"parser_arg": [
""
],
"parser_func": "EMPTY"
},
"compute_units": 10,
"enabled": false,
"category": {
"deterministic": true,
"local": false,
"subscription": false,
"stateful": 0
},
"extra_compute_units": 0
},
{
"name": "rollup_gasPrices",
"block_parsing": {
"parser_arg": [
"latest"
],
"parser_func": "DEFAULT"
},
"compute_units": 10,
"enabled": true,
"category": {
"deterministic": true,
"local": false,
"subscription": false,
"stateful": 0
},
"extra_compute_units": 0
},
{
"name": "rollup_getInfo",
"block_parsing": {
"parser_arg": [
""
],
"parser_func": "EMPTY"
},
"compute_units": 10,
"enabled": true,
"category": {
"deterministic": false,
"local": true,
"subscription": false,
"stateful": 0
},
"extra_compute_units": 0
}
],
"headers": [],
"inheritance_apis": [],
"parse_directives": [],
"verifications": [
{
"name": "chain-id",
"values": [
{
"expected_value": "0xa"
}
]
},
{
"name": "pruning",
"values": [
{
"latest_distance": 43200
},
{
"extension": "archive",
"expected_value": "0x0"
}
]
}
],
"extensions": [
{
"name": "archive",
"cu_multiplier": 5,
"rule": {
"block": 42600
}
}
]
}
]
},
{
"index": "OPTMS",
"name": "optimism sepolia 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": 2000,
"allowed_block_lag_for_qos_sync": 8,
"min_stake_provider": {
"denom": "ulava",
"amount": "5000000000"
},
"api_collections": [
{
"enabled": true,
"collection_data": {
"api_interface": "jsonrpc",
"internal_path": "",
"type": "POST",
"add_on": ""
},
"apis": [],
"headers": [],
"inheritance_apis": [],
"parse_directives": [],
"verifications": [
{
"name": "chain-id",
"values": [
{
"expected_value": "0xaa37dc"
}
]
}
]
}
]
}
]
},
"deposit": "10000000ulava"
}
Loading

0 comments on commit d4bb186

Please sign in to comment.