Skip to content

Commit

Permalink
Merge branch 'lavanet:main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelLLC committed Sep 10, 2024
2 parents ddd5b7d + a85f2ef commit ab09e72
Show file tree
Hide file tree
Showing 59 changed files with 1,089 additions and 762 deletions.
81 changes: 0 additions & 81 deletions .github/workflows/build_badgegenerator-staging.yml

This file was deleted.

81 changes: 0 additions & 81 deletions .github/workflows/build_badgegenerator-testnet.yml

This file was deleted.

74 changes: 74 additions & 0 deletions cookbook/projects/policy_all_chains_with_extension.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,14 @@ Policy:
extensions:
- "archive"
mixed: true
- chain_id: NEART
requirements:
- collection:
api_interface: "jsonrpc"
type: "POST"
extensions:
- "archive"
mixed: true
- chain_id: SEP1
requirements:
- collection:
Expand Down Expand Up @@ -56,6 +64,32 @@ Policy:
extensions:
- "archive"
mixed: true
- chain_id: EVMOST
requirements:
- collection:
api_interface: "jsonrpc"
type: "POST"
extensions:
- "archive"
mixed: true
- collection:
api_interface: "rest"
type: "GET"
extensions:
- "archive"
mixed: true
- collection:
api_interface: "grpc"
type: ""
extensions:
- "archive"
mixed: true
- collection:
api_interface: "tendermintrpc"
type: ""
extensions:
- "archive"
mixed: true
- chain_id: LAV1
requirements:
- collection:
Expand Down Expand Up @@ -96,4 +130,44 @@ Policy:
extensions:
- "archive"
mixed: true
- chain_id: AXELAR
requirements:
- collection:
api_interface: "rest"
type: "GET"
extensions:
- "archive"
mixed: true
- collection:
api_interface: "grpc"
type: ""
extensions:
- "archive"
mixed: true
- collection:
api_interface: "tendermintrpc"
type: ""
extensions:
- "archive"
mixed: true
- chain_id: AXELART
requirements:
- collection:
api_interface: "rest"
type: "GET"
extensions:
- "archive"
mixed: true
- collection:
api_interface: "grpc"
type: ""
extensions:
- "archive"
mixed: true
- collection:
api_interface: "tendermintrpc"
type: ""
extensions:
- "archive"
mixed: true
- chain_id: "*" # allows all other chains without specifying
87 changes: 87 additions & 0 deletions cookbook/specs/fantom.json
Original file line number Diff line number Diff line change
Expand Up @@ -878,6 +878,93 @@
}
}
]
},
{
"enabled": true,
"collection_data": {
"api_interface": "jsonrpc",
"internal_path": "",
"type": "POST",
"add_on": "trace"
},
"apis": [
{
"name": "trace_block",
"block_parsing": {
"parser_arg": [
"0"
],
"parser_func": "PARSE_BY_ARG"
},
"compute_units": 200,
"enabled": true,
"category": {
"deterministic": true,
"local": true,
"subscription": false,
"stateful": 0
},
"extra_compute_units": 0
},
{
"name": "trace_filter",
"block_parsing": {
"parser_arg": [
"latest"
],
"parser_func": "DEFAULT"
},
"compute_units": 200,
"enabled": true,
"category": {
"deterministic": false,
"local": true,
"subscription": false,
"stateful": 0
},
"extra_compute_units": 0
},
{
"name": "trace_transaction",
"block_parsing": {
"parser_arg": [
"latest"
],
"parser_func": "DEFAULT"
},
"compute_units": 200,
"enabled": true,
"category": {
"deterministic": true,
"local": true,
"subscription": false,
"stateful": 0
},
"extra_compute_units": 0
}
],
"verifications": [
{
"name": "trace",
"parse_directive": {
"function_template": "{\"jsonrpc\":\"2.0\",\"method\":\"trace_block\",\"params\":[\"latest\"],\"id\":1}",
"function_tag": "VERIFICATION",
"result_parsing": {
"parser_arg": [
"0"
],
"parser_func": "PARSE_BY_ARG"
},
"api_name": "trace_block"
},
"values": [
{
"expected_value": "*"
}
]
}
],
"extensions": []
}
]
},
Expand Down
1 change: 1 addition & 0 deletions cookbook/specs/lava.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"specs": [
{
"index": "LAV1",
"identity": "327af7338affeb1f0d0e2ec3b95d802571fbff4d",
"name": "lava testnet",
"enabled": true,
"imports": [
Expand Down
1 change: 1 addition & 0 deletions cookbook/specs/lava_mainnet.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
{
"index": "LAVA",
"name": "lava mainnet",
"identity": "327af7338affeb1f0d0e2ec3b95d802571fbff4d",
"enabled": true,
"imports": [
"COSMOSSDK"
Expand Down
2 changes: 1 addition & 1 deletion docker/common/post_node_init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,6 @@ sleep 1
echo "Staking provider"
PROVIDERSTAKE="500000000000ulava"
PROVIDER_ADDRESS="nginx:80"
lavad tx pairing stake-provider LAV1 $PROVIDERSTAKE "$PROVIDER_ADDRESS,1" 1 $(operator_address) -y --delegate-commission 50 --delegate-limit $PROVIDERSTAKE --from servicer1 --provider-moniker "servicer1" --gas-adjustment "1.5" --gas "auto" --gas-prices $GASPRICE
lavad tx pairing stake-provider LAV1 $PROVIDERSTAKE "$PROVIDER_ADDRESS,1" 1 $(operator_address) -y --delegate-commission 50 --from servicer1 --provider-moniker "servicer1" --gas-adjustment "1.5" --gas "auto" --gas-prices $GASPRICE

echo "### Post node init finished successfully ###"
Loading

0 comments on commit ab09e72

Please sign in to comment.