Skip to content

Commit

Permalink
Merge branch 'main' into PRT-add-pprofilling-flag-to-consumer-and-pro…
Browse files Browse the repository at this point in the history
…vider
  • Loading branch information
ranlavanet committed Apr 11, 2024
2 parents 3647cab + d220eff commit fadec79
Show file tree
Hide file tree
Showing 17 changed files with 31 additions and 269 deletions.
7 changes: 5 additions & 2 deletions config/consumer_examples/full_consumer_example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ endpoints:
- chain-id: ETH1
api-interface: jsonrpc
network-address: 127.0.0.1:3333
- chain-id: GTH1
- chain-id: SEP1
api-interface: jsonrpc
network-address: 127.0.0.1:3334
- chain-id: FTM250
Expand All @@ -29,7 +29,7 @@ endpoints:
- chain-id: OPTM
api-interface: jsonrpc
network-address: 127.0.0.1:3352
- chain-id: BASET
- chain-id: BASES
api-interface: jsonrpc
network-address: 127.0.0.1:3353
- chain-id: OSMOSIS
Expand Down Expand Up @@ -152,6 +152,9 @@ endpoints:
- chain-id: AVAXT
api-interface: jsonrpc
network-address: 127.0.0.1:3393
- chain-id: HOL1
api-interface: jsonrpc
network-address: 127.0.0.1:3394
metrics-listen-address: ":7779"
# referer-be-address: "http://127.0.0.1:6500"
# reports-be-address: "http://127.0.0.1:6501"
4 changes: 2 additions & 2 deletions config/provider_examples/all_endpoints.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ endpoints:
node-urls:
- url: <enter-here>
- api-interface: jsonrpc
chain-id: GTH1
chain-id: SEP1
network-address:
address: "127.0.0.1:2221"
node-urls:
Expand Down Expand Up @@ -60,7 +60,7 @@ endpoints:
node-urls:
- url: <enter-here>
- api-interface: jsonrpc
chain-id: BASET
chain-id: BASES
network-address:
address: "127.0.0.1:2221"
node-urls:
Expand Down
19 changes: 0 additions & 19 deletions cookbook/backups/spec_add_optimism_fast_lookup.json
Original file line number Diff line number Diff line change
Expand Up @@ -144,25 +144,6 @@
]
}
]
},
{
"index": "OPTMT",
"name": "optimism goerli testnet",
"enabled": true,
"imports": [
"OPTM"
],
"reliability_threshold": 268435455,
"data_reliability_enabled": true,
"block_distance_for_finalized_data": 1,
"blocks_in_finalization_proof": 1,
"average_block_time": 250,
"allowed_block_lag_for_qos_sync": 40,
"shares" : 1,
"min_stake_provider": {
"denom": "ulava",
"amount": "50000000000"
}
}
]
},
Expand Down
2 changes: 1 addition & 1 deletion cookbook/projects/policy_all_chains_with_addon.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Policy:
api_interface: "jsonrpc"
type: "POST"
add_on: "debug"
- chain_id: GTH1
- chain_id: SEP1
requirements:
- collection:
api_interface: "jsonrpc"
Expand Down
2 changes: 1 addition & 1 deletion cookbook/projects/policy_all_chains_with_extension.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Policy:
extensions:
- "archive"
mixed: true
- chain_id: GTH1
- chain_id: SEP1
requirements:
- collection:
api_interface: "jsonrpc"
Expand Down
44 changes: 0 additions & 44 deletions cookbook/specs/spec_add_base.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,50 +68,6 @@
}
]
},
{
"index": "BASET",
"name": "base goerli testnet",
"enabled": true,
"imports": [
"BASE"
],
"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": "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": "0x14a33"
}
]
}
]
}
]
},
{
"index": "BASES",
"name": "base sepolia testnet",
Expand Down
13 changes: 6 additions & 7 deletions cookbook/specs/spec_add_ethereum.json
Original file line number Diff line number Diff line change
Expand Up @@ -1357,8 +1357,8 @@
]
},
{
"index": "GTH1",
"name": "ethereum testnet goerli",
"index": "SEP1",
"name": "ethereum testnet sepolia",
"enabled": true,
"imports": [
"ETH1"
Expand All @@ -1369,7 +1369,6 @@
"blocks_in_finalization_proof": 3,
"average_block_time": 13000,
"allowed_block_lag_for_qos_sync": 2,
"shares": 1,
"min_stake_provider": {
"denom": "ulava",
"amount": "47500000000"
Expand All @@ -1392,7 +1391,7 @@
"name": "chain-id",
"values": [
{
"expected_value": "0x5"
"expected_value": "0xaa36a7"
}
]
}
Expand All @@ -1401,8 +1400,8 @@
]
},
{
"index": "SEP1",
"name": "ethereum testnet sepolia",
"index": "HOL1",
"name": "ethereum testnet holesky",
"enabled": true,
"imports": [
"ETH1"
Expand Down Expand Up @@ -1435,7 +1434,7 @@
"name": "chain-id",
"values": [
{
"expected_value": "0xaa36a7"
"expected_value": "0x4268"
}
]
}
Expand Down
44 changes: 0 additions & 44 deletions cookbook/specs/spec_add_optimism.json
Original file line number Diff line number Diff line change
Expand Up @@ -159,50 +159,6 @@
}
]
},
{
"index": "OPTMT",
"name": "optimism goerli testnet",
"enabled": true,
"imports": [
"OPTM"
],
"reliability_threshold": 268435455,
"data_reliability_enabled": true,
"block_distance_for_finalized_data": 1,
"blocks_in_finalization_proof": 1,
"average_block_time": 5000,
"allowed_block_lag_for_qos_sync": 200,
"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": "0x1a4"
}
]
}
]
}
]
},
{
"index": "OPTMS",
"name": "optimism sepolia testnet",
Expand Down
44 changes: 0 additions & 44 deletions cookbook/specs/spec_add_polygon.json
Original file line number Diff line number Diff line change
Expand Up @@ -249,50 +249,6 @@
}
]
},
{
"index": "POLYGON1T",
"name": "polygon testnet",
"enabled": true,
"imports": [
"POLYGON1"
],
"reliability_threshold": 268435455,
"data_reliability_enabled": true,
"block_distance_for_finalized_data": 1,
"blocks_in_finalization_proof": 3,
"average_block_time": 2000,
"allowed_block_lag_for_qos_sync": 5,
"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": "0x13881"
}
]
}
]
}
]
},
{
"index": "POLYGON1A",
"name": "polygon amoy testnet",
Expand Down
90 changes: 0 additions & 90 deletions cookbook/specs/spec_add_starknet.json
Original file line number Diff line number Diff line change
Expand Up @@ -727,96 +727,6 @@
}
]
},
{
"index": "STRKT",
"name": "starknet testnet",
"enabled": true,
"imports": [
"STRK"
],
"reliability_threshold": 268435455,
"data_reliability_enabled": true,
"block_distance_for_finalized_data": 1,
"blocks_in_finalization_proof": 3,
"average_block_time": 1800000,
"allowed_block_lag_for_qos_sync": 1,
"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": "0x534e5f474f45524c49"
}
]
}
]
},
{
"enabled": true,
"collection_data": {
"api_interface": "jsonrpc",
"internal_path": "/rpc/v0_6",
"type": "POST",
"add_on": ""
},
"apis": [],
"headers": [],
"inheritance_apis": [],
"parse_directives": [],
"verifications": [
{
"name": "chain-id",
"values": [
{
"expected_value": "0x534e5f474f45524c49"
}
]
}
]
},
{
"enabled": true,
"collection_data": {
"api_interface": "jsonrpc",
"internal_path": "/rpc/v0_5",
"type": "POST",
"add_on": ""
},
"apis": [],
"headers": [],
"inheritance_apis": [],
"parse_directives": [],
"verifications": [
{
"name": "chain-id",
"values": [
{
"expected_value": "0x534e5f474f45524c49"
}
]
}
]
}
]
},
{
"index": "STRKS",
"name": "starknet sepolia testnet",
Expand Down
2 changes: 1 addition & 1 deletion docker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
2. Build the lava docker image locally
```
# to build from the current checked-out code:
make docker-build
LAVA_BINARY=all make docker-build
# to build a specific lava version
LAVA_BUILD_OPTIONS="release" LAVA_VERSION=0.4.3 make docker-build
Expand Down
Loading

0 comments on commit fadec79

Please sign in to comment.