Skip to content

Commit

Permalink
Add celo spec (#45)
Browse files Browse the repository at this point in the history
  • Loading branch information
Yaroms authored Dec 1, 2024
2 parents feccab6 + fa8b7c2 commit b7c9f15
Showing 1 changed file with 130 additions and 0 deletions.
130 changes: 130 additions & 0 deletions mainnet-1/specs/celo.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,130 @@
{
"proposal": {
"title": "Add Specs: Celo",
"description": "Adding new specification support for relaying Celo data on Lava",
"specs": [
{
"index": "CELO",
"name": "celo 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": 5000,
"allowed_block_lag_for_qos_sync": 2,
"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": "0xa4ec"
}
]
},
{
"name": "pruning",
"values": [
{
"latest_distance": 17280
},
{
"extension": "archive",
"expected_value": "0x0"
}
]
}
],
"extensions": [
{
"name": "archive",
"cu_multiplier": 5,
"rule": {
"block": 17040
}
}
]
}
]
},
{
"index": "ALFAJORES",
"name": "celo alfajores testnet",
"enabled": true,
"imports": [
"CELO"
],
"reliability_threshold": 268435455,
"data_reliability_enabled": true,
"block_distance_for_finalized_data": 1,
"blocks_in_finalization_proof": 3,
"average_block_time": 1000,
"allowed_block_lag_for_qos_sync": 10,
"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": "0xaef3"
}
]
},
{
"name": "pruning",
"values": [
{
"latest_distance": 86400
},
{
"extension": "archive",
"expected_value": "0x0"
}
]
}
]
}
]
}
]
},
"deposit": "10000000ulava"
}

0 comments on commit b7c9f15

Please sign in to comment.