Skip to content

Commit

Permalink
feat: Add Manta Pacific Spec (lavanet#1392)
Browse files Browse the repository at this point in the history
* Init manta pacific spec

* Set correct values for distance from chainhead of full and archive nodes

---------

Co-authored-by: Vincent Taglia <[email protected]>
Co-authored-by: Yaroms <[email protected]>
  • Loading branch information
3 people authored May 8, 2024
1 parent 6ab81ff commit a04028b
Showing 1 changed file with 118 additions and 0 deletions.
118 changes: 118 additions & 0 deletions cookbook/specs/spec_add_manta_pacific.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,118 @@
{
"proposal": {
"title": "Add Specs: Manta Pacific",
"description": "Adding new specification support for relaying Manta Pacific data on Lava",
"specs": [
{
"index": "MANTAPACIFIC",
"name": "manta pacific mainnet",
"enabled": true,
"imports": [
"ETH1"
],
"reliability_threshold": 268435455,
"data_reliability_enabled": true,
"block_distance_for_finalized_data": 1,
"blocks_in_finalization_proof": 3,
"average_block_time": 10000,
"allowed_block_lag_for_qos_sync": 2,
"shares": 1,
"min_stake_provider": {
"denom": "ulava",
"amount": "47500000000"
},
"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": "0xa9"
}
]
},
{
"name": "pruning",
"values": [
{
"latest_distance": 8640
},
{
"extension": "archive",
"expected_value": "0x0"
}
]
}
],
"extensions": [
{
"name": "archive",
"cu_multiplier": 5,
"rule": {
"block": 8550
}
}
]
}
]
},
{
"index": "MANTAPACIFICT",
"name": "manta pacific testnet",
"enabled": true,
"imports": [
"MANTAPACIFIC"
],
"reliability_threshold": 268435455,
"data_reliability_enabled": true,
"block_distance_for_finalized_data": 1,
"blocks_in_finalization_proof": 3,
"average_block_time": 10000,
"allowed_block_lag_for_qos_sync": 2,
"shares": 1,
"min_stake_provider": {
"denom": "ulava",
"amount": "47500000000"
},
"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": "0x34816d"
}
]
}
]
}
]
}
]
},
"deposit": "10000000ulava"
}

0 comments on commit a04028b

Please sign in to comment.