Skip to content

Commit

Permalink
feat: union spec add (lavanet#1406)
Browse files Browse the repository at this point in the history
* feat: union spec add

* fix: request from team

---------

Co-authored-by: Yaroms <[email protected]>
  • Loading branch information
BabyScope and Yaroms authored May 8, 2024
1 parent a04028b commit 4cc0300
Showing 1 changed file with 264 additions and 0 deletions.
264 changes: 264 additions & 0 deletions cookbook/specs/spec_add_union.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,264 @@
{
"proposal": {
"title": "Add Specs: Union",
"description": "Adding new specification support for relaying union data on Lava",
"specs": [
{
"index": "UNIONT",
"name": "union testnet",
"enabled": true,
"imports": [
"COSMOSSDK"
],
"reliability_threshold": 268435455,
"data_reliability_enabled": true,
"block_distance_for_finalized_data": 0,
"blocks_in_finalization_proof": 1,
"average_block_time": 6000,
"allowed_block_lag_for_qos_sync": 2,
"shares": 1,
"min_stake_provider": {
"denom": "ulava",
"amount": "47500000000"
},
"api_collections": [
{
"enabled": true,
"collection_data": {
"api_interface": "rest",
"internal_path": "",
"type": "GET",
"add_on": ""
},
"apis": [
{
"name": "/tokenfactory.v1beta1/denoms/{denom}/authority_metadata",
"block_parsing": {
"parser_arg": [
"latest"
],
"parser_func": "DEFAULT"
},
"compute_units": 10,
"enabled": true,
"category": {
"deterministic": true,
"local": false,
"subscription": false,
"stateful": 0
},
"extra_compute_units": 0
},
{
"name": "/tokenfactory.v1beta1/denoms_from_creator/{creator}",
"block_parsing": {
"parser_arg": [
"latest"
],
"parser_func": "DEFAULT"
},
"compute_units": 10,
"enabled": true,
"category": {
"deterministic": true,
"local": false,
"subscription": false,
"stateful": 0
},
"extra_compute_units": 0
},
{
"name": "/tokenfactory.v1beta1/params",
"block_parsing": {
"parser_arg": [
"latest"
],
"parser_func": "DEFAULT"
},
"compute_units": 10,
"enabled": true,
"category": {
"deterministic": true,
"local": false,
"subscription": false,
"stateful": 0
},
"extra_compute_units": 0
}
],
"headers": [],
"inheritance_apis": [],
"parse_directives": [],
"verifications": [
{
"name": "chain-id",
"values": [
{
"expected_value": "union-testnet-8"
}
]
},
{
"name": "pruning",
"values": [
{
"latest_distance": 14400
}
]
}
],
"extensions": [
{
"name": "archive",
"cu_multiplier": 5,
"rule": {
"block": 14250
}
}
]
},
{
"enabled": true,
"collection_data": {
"api_interface": "grpc",
"internal_path": "",
"type": "",
"add_on": ""
},
"apis": [
{
"name": "tokenfactory.v1beta1.Query/DenomAuthorityMetadata",
"block_parsing": {
"parser_arg": [
"latest"
],
"parser_func": "DEFAULT"
},
"compute_units": 10,
"enabled": true,
"category": {
"deterministic": true,
"local": false,
"subscription": false,
"stateful": 0
},
"extra_compute_units": 0
},
{
"name": "tokenfactory.v1beta1.Query/DenomsFromCreator",
"block_parsing": {
"parser_arg": [
"latest"
],
"parser_func": "DEFAULT"
},
"compute_units": 10,
"enabled": true,
"category": {
"deterministic": true,
"local": false,
"subscription": false,
"stateful": 0
},
"extra_compute_units": 0
},
{
"name": "tokenfactory.v1beta1.Query/Params",
"block_parsing": {
"parser_arg": [
"latest"
],
"parser_func": "DEFAULT"
},
"compute_units": 10,
"enabled": true,
"category": {
"deterministic": true,
"local": false,
"subscription": false,
"stateful": 0
},
"extra_compute_units": 0
}
],
"headers": [],
"inheritance_apis": [],
"parse_directives": [],
"verifications": [
{
"name": "chain-id",
"values": [
{
"expected_value": "union-testnet-8"
}
]
},
{
"name": "pruning",
"values": [
{
"latest_distance": 14400
}
]
}
],
"extensions": [
{
"name": "archive",
"cu_multiplier": 5,
"rule": {
"block": 14250
}
}
]
},
{
"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": "union-testnet-8"
}
]
},
{
"name": "pruning",
"values": [
{
"latest_distance": 14400
},
{
"extension": "archive",
"expected_value": "1"
}
]
}
],
"extensions": [
{
"name": "archive",
"cu_multiplier": 5,
"rule": {
"block": 14250
}
}
]
}
]
}
]
},
"deposit": "10000000ulava"
}

0 comments on commit 4cc0300

Please sign in to comment.