From de156f6570ef4a61621dc3b4621cc42b2d4cc98f Mon Sep 17 00:00:00 2001 From: Ruslan Hlaznov Date: Tue, 30 Apr 2024 11:01:46 +0300 Subject: [PATCH] feat: spec add NAMADA (#1365) * feat: spec add NAMADA * fix: spec name * feat: inheritance * feat: archive & verification * fix: typo --- cookbook/specs/spec_add_namada.json | 101 ++++++++++++++++++++++++++++ 1 file changed, 101 insertions(+) create mode 100644 cookbook/specs/spec_add_namada.json diff --git a/cookbook/specs/spec_add_namada.json b/cookbook/specs/spec_add_namada.json new file mode 100644 index 0000000000..c3283d1661 --- /dev/null +++ b/cookbook/specs/spec_add_namada.json @@ -0,0 +1,101 @@ +{ + "deposit": "10000000ulava", + "proposal": { + "title": "Add spec: NAMADA SE testnet", + "description": "Adding new specification support for relaying data on NAMADA", + "specs": [ + { + "index": "NAMTSE", + "name": "namada se testnet", + "enabled": true, + "imports": [ + "COSMOSSDK" + ], + "reliability_threshold": 268435455, + "data_reliability_enabled": false, + "block_distance_for_finalized_data": 0, + "blocks_in_finalization_proof": 1, + "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": "tendermintrpc", + "internal_path": "", + "type": "", + "add_on": "" + }, + "apis": [], + "headers": [], + "inheritance_apis": [], + "parse_directives": [], + "verifications": [ + { + "name": "chain-id", + "values": [ + { + "expected_value": "shielded-expedition.88f17d1d14" + } + ] + }, + { + "name": "pruning", + "values": [ + { + "latest_distance": 8640 + }, + { + "extension": "archive", + "expected_value": "237907" + } + ] + } + ], + "extensions": [ + { + "name": "archive", + "cu_multiplier": 5, + "rule": { + "block": 8520 + } + } + ] + }, + { + "enabled": false, + "collection_data": { + "api_interface": "rest", + "internal_path": "", + "type": "GET", + "add_on": "" + } + }, + { + "enabled": false, + "collection_data": { + "api_interface": "rest", + "internal_path": "", + "type": "POST", + "add_on": "" + } + }, + { + "enabled": false, + "collection_data": { + "api_interface": "grpc", + "internal_path": "", + "type": "", + "add_on": "" + } + } + ] + } + ] + } +}