From 85b0ee97e8e07dbd91527ab18a2f43a47d90261d Mon Sep 17 00:00:00 2001 From: Vincent | Data Nexus <105891622+datanexus-vincent@users.noreply.github.com> Date: Mon, 25 Mar 2024 02:17:41 -0500 Subject: [PATCH] feat: Add Scroll Spec (#1313) * Initial scroll spec * Decreasing latest_distance and archive extension block number in order to successfully validate testnet as well * Change index to include vowels --------- Co-authored-by: Vincent Taglia --- cookbook/specs/spec_add_scroll.json | 118 ++++++++++++++++++++++++++++ 1 file changed, 118 insertions(+) create mode 100644 cookbook/specs/spec_add_scroll.json diff --git a/cookbook/specs/spec_add_scroll.json b/cookbook/specs/spec_add_scroll.json new file mode 100644 index 0000000000..07ca77a726 --- /dev/null +++ b/cookbook/specs/spec_add_scroll.json @@ -0,0 +1,118 @@ +{ + "proposal": { + "title": "Add Specs: Scroll", + "description": "Adding new specification support for relaying Scroll zkEVM data on Lava", + "specs": [ + { + "index": "SCROLL", + "name": "scroll 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": 3000, + "allowed_block_lag_for_qos_sync": 3, + "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": "0x82750" + } + ] + }, + { + "name": "pruning", + "values": [ + { + "latest_distance": 3100000 + }, + { + "extension": "archive", + "expected_value": "0x0" + } + ] + } + ], + "extensions": [ + { + "name": "archive", + "cu_multiplier": 5, + "rule": { + "block": 3000000 + } + } + ] + } + ] + }, + { + "index": "SCROLLS", + "name": "scroll sepolia testnet", + "enabled": true, + "imports": [ + "SCROLL" + ], + "reliability_threshold": 268435455, + "data_reliability_enabled": true, + "block_distance_for_finalized_data": 1, + "blocks_in_finalization_proof": 3, + "average_block_time": 3000, + "allowed_block_lag_for_qos_sync": 3, + "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": "0x8274f" + } + ] + } + ] + } + ] + } + ] + }, + "deposit": "10000000ulava" +} \ No newline at end of file