From 43ed65d62cb7e6cbae7f3310ef761767873c0b63 Mon Sep 17 00:00:00 2001 From: Johnny Tordgeman Date: Mon, 3 Feb 2025 16:27:22 +0200 Subject: [PATCH] added worldchain specs --- specs/mainnet-1/specs/worldchain.json | 118 ++++++++++++++++++++++++++ 1 file changed, 118 insertions(+) create mode 100644 specs/mainnet-1/specs/worldchain.json diff --git a/specs/mainnet-1/specs/worldchain.json b/specs/mainnet-1/specs/worldchain.json new file mode 100644 index 0000000000..c48eb53ae3 --- /dev/null +++ b/specs/mainnet-1/specs/worldchain.json @@ -0,0 +1,118 @@ +{ + "proposal": { + "title": "Add Specs: Worldchain", + "description": "Adding new specification support for relaying Worldchain data on Lava", + "specs": [ + { + "index": "WORLDCHAIN", + "name": "worldchain 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": 5, + "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": "0x1e0" + } + ] + }, + { + "name": "pruning", + "values": [ + { + "latest_distance": 43200 + }, + { + "extension": "archive", + "expected_value": "0x0" + } + ] + } + ], + "extensions": [ + { + "name": "archive", + "cu_multiplier": 5, + "rule": { + "block": 42600 + } + } + ] + } + ] + }, + { + "index": "WORLDCHAINS", + "name": "worldchain sepolia testnet", + "enabled": true, + "imports": [ + "WORLDCHAIN" + ], + "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": 5, + "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": "0x12c1" + } + ] + } + ] + } + ] + } + ] + }, + "deposit": "10000000ulava" +} \ No newline at end of file