From a04028bf0f2e13b3d179870d9c32e4398f67ac9c Mon Sep 17 00:00:00 2001 From: Vincent | Data Nexus <105891622+datanexus-vincent@users.noreply.github.com> Date: Wed, 8 May 2024 03:58:10 -0500 Subject: [PATCH] feat: Add Manta Pacific Spec (#1392) * Init manta pacific spec * Set correct values for distance from chainhead of full and archive nodes --------- Co-authored-by: Vincent Taglia Co-authored-by: Yaroms <103432884+Yaroms@users.noreply.github.com> --- cookbook/specs/spec_add_manta_pacific.json | 118 +++++++++++++++++++++ 1 file changed, 118 insertions(+) create mode 100644 cookbook/specs/spec_add_manta_pacific.json diff --git a/cookbook/specs/spec_add_manta_pacific.json b/cookbook/specs/spec_add_manta_pacific.json new file mode 100644 index 0000000000..69774982c6 --- /dev/null +++ b/cookbook/specs/spec_add_manta_pacific.json @@ -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" +} \ No newline at end of file