Skip to content

Commit

Permalink
feat: Add Scroll Spec (#1313)
Browse files Browse the repository at this point in the history
* 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 <[email protected]>
  • Loading branch information
datanexus-vincent and vincenttaglia authored Mar 25, 2024
1 parent 5950f4f commit 85b0ee9
Showing 1 changed file with 118 additions and 0 deletions.
118 changes: 118 additions & 0 deletions cookbook/specs/spec_add_scroll.json
Original file line number Diff line number Diff line change
@@ -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"
}

0 comments on commit 85b0ee9

Please sign in to comment.