Skip to content

Commit

Permalink
First step: Recover anything but specs
Browse files Browse the repository at this point in the history
  • Loading branch information
shleikes committed Dec 15, 2024
1 parent 5abd068 commit 7a8b73d
Show file tree
Hide file tree
Showing 49 changed files with 227 additions and 106 deletions.
7 changes: 3 additions & 4 deletions docker/common/post_node_init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,9 @@ NODE="${NODE:-tcp://lava-node:26657}"

lavad config node $NODE
(
cd /lava/cookbook/specs/
lavad tx gov submit-legacy-proposal spec-add \
./ibc.json,./tendermint.json,./cosmoswasm.json,./cosmossdk.json,./cosmossdk_45.json,./cosmossdk_full.json,./ethermint.json,./ethereum.json,./cosmoshub.json,./lava.json \
--lava-dev-test -y --from $FROM --gas-adjustment "1.5" --gas "auto" --gas-prices $GASPRICE
cd /lava/specs/mainnet-1/specs/
specs=$(get_base_specs)
lavad tx gov submit-legacy-proposal spec-add $specs,./cosmoshub.json,./lava.json --lava-dev-test -y --from $FROM --gas-adjustment "1.5" --gas "auto" --gas-prices $GASPRICE
)
vote_yes_on_all_pending_proposals

Expand Down
20 changes: 10 additions & 10 deletions docker/load-balancing/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ services:
- ../common/new_node_init.sh:/lava/config/new_node_init.sh
networks:
- lava_network

lava-node-config:
image: ghcr.io/tomwright/dasel:v2.7.0
entrypoint: ["sh", "-c"]
Expand Down Expand Up @@ -65,11 +65,11 @@ services:
container_name: lava-node
command: ["start", "--pruning=nothing"]
ports:
- '${LAVA_NODE_PORT_API:-1317}:1317'
- '${LAVA_NODE_PORT_GRPC:-9090}:9090'
- '${LAVA_NODE_PORT_GRPC_WEB:-9091}:9091'
- '${LAVA_NODE_PORT_P2P:-26656}:26656'
- '${LAVA_NODE_PORT_RPC:-26657}:26657'
- "${LAVA_NODE_PORT_API:-1317}:1317"
- "${LAVA_NODE_PORT_GRPC:-9090}:9090"
- "${LAVA_NODE_PORT_GRPC_WEB:-9091}:9091"
- "${LAVA_NODE_PORT_P2P:-26656}:26656"
- "${LAVA_NODE_PORT_RPC:-26657}:26657"
volumes:
- lava_data:/lava
networks:
Expand All @@ -94,7 +94,7 @@ services:
volumes:
- lava_data:/lava
- ../common/post_node_init.sh:/lava/config/post_node_init.sh
- ../../cookbook/specs/:/lava/cookbook/specs/
- ../../specs/:/lava/specs/
- ../../cookbook/plans/:/lava/cookbook/plans/
networks:
- lava_network
Expand All @@ -112,7 +112,7 @@ services:
- ./nginx/default.conf:/etc/nginx/conf.d/default.conf:ro
- ./nginx/nginx.crt:/etc/nginx/ssl/nginx.crt:ro
- ./nginx/nginx.key:/etc/nginx/ssl/nginx.key:ro

depends_on:
- provider1
- provider2
Expand Down Expand Up @@ -212,7 +212,7 @@ services:
restart: always

volumes:
lava_data:
lava_data:

networks:
lava_network:
lava_network:
18 changes: 9 additions & 9 deletions docker/new-node/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ services:
- ../common/new_node_init.sh:/lava/config/new_node_init.sh
networks:
- lava_network

lava-node-config:
image: ghcr.io/tomwright/dasel:v2.7.0
entrypoint: ["sh", "-c"]
Expand Down Expand Up @@ -65,11 +65,11 @@ services:
container_name: lava-node
command: ["start", "--pruning=nothing"]
ports:
- '${LAVA_NODE_PORT_API:-1317}:1317'
- '${LAVA_NODE_PORT_GRPC:-9090}:9090'
- '${LAVA_NODE_PORT_GRPC_WEB:-9091}:9091'
- '${LAVA_NODE_PORT_P2P:-26656}:26656'
- '${LAVA_NODE_PORT_RPC:-26657}:26657'
- "${LAVA_NODE_PORT_API:-1317}:1317"
- "${LAVA_NODE_PORT_GRPC:-9090}:9090"
- "${LAVA_NODE_PORT_GRPC_WEB:-9091}:9091"
- "${LAVA_NODE_PORT_P2P:-26656}:26656"
- "${LAVA_NODE_PORT_RPC:-26657}:26657"
volumes:
- lava_data:/lava
networks:
Expand All @@ -94,7 +94,7 @@ services:
volumes:
- lava_data:/lava
- ../common/post_node_init.sh:/lava/config/post_node_init.sh
- ../../cookbook/specs/:/lava/cookbook/specs/
- ../../specs/:/lava/specs/
- ../../cookbook/plans/:/lava/cookbook/plans/
networks:
- lava_network
Expand All @@ -103,7 +103,7 @@ services:
condition: service_healthy

volumes:
lava_data:
lava_data:

networks:
lava_network:
lava_network:
2 changes: 1 addition & 1 deletion protocol/rpcprovider/rpcprovider.go
Original file line number Diff line number Diff line change
Expand Up @@ -830,7 +830,7 @@ rpcprovider 127.0.0.1:3333 OSMOSIS tendermintrpc "wss://www.node-path.com:80,htt
cmdRPCProvider.Flags().String(HealthCheckURLPathFlagName, HealthCheckURLPathFlagDefault, "the url path for the provider's grpc health check")
cmdRPCProvider.Flags().DurationVar(&updaters.TimeOutForFetchingLavaBlocks, common.TimeOutForFetchingLavaBlocksFlag, time.Second*5, "setting the timeout for fetching lava blocks")
cmdRPCProvider.Flags().IntVar(&numberOfRetriesAllowedOnNodeErrors, common.SetRelayCountOnNodeErrorFlag, 2, "set the number of retries attempt on node errors")
cmdRPCProvider.Flags().String(common.UseStaticSpecFlag, "", "load offline spec provided path to spec file, used to test specs before they are proposed on chain, example for spec with inheritance: --use-static-spec ./cookbook/specs/ibc.json,./cookbook/specs/tendermint.json,./cookbook/specs/cosmossdk.json,./cookbook/specs/ethermint.json,./cookbook/specs/ethereum.json,./cookbook/specs/evmos.json")
cmdRPCProvider.Flags().String(common.UseStaticSpecFlag, "", "load offline spec provided path to spec file, used to test specs before they are proposed on chain, example for spec with inheritance: --use-static-spec ./specs/mainnet-1/specs/ibc.json,./specs/mainnet-1/specs/tendermint.json,./specs/mainnet-1/specs/cosmossdk.json,./specs/mainnet-1/specs/ethermint.json,./specs/mainnet-1/specs/ethereum.json,./specs/mainnet-1/specs/evmos.json")
cmdRPCProvider.Flags().Uint64(common.RateLimitRequestPerSecondFlag, 0, "Measuring the load relative to this number for feedback - per second - per chain - default unlimited. Given Y simultaneous relay calls, a value of X and will measure Y/X load rate.")
cmdRPCProvider.Flags().BoolVar(&chainlib.AllowMissingApisByDefault, common.AllowMissingApisByDefaultFlagName, true, "allows missing apis to be proxied to the node by default, set false to block missing apis in the spec, might result in degraded performance if spec is misconfigured")
common.AddRollingLogConfig(cmdRPCProvider)
Expand Down
26 changes: 14 additions & 12 deletions scripts/automation_scripts/ReadMe.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
Automation Scripts Readme

# gRPC Spec Builder:
# gRPC Spec Builder:

Used for verifying the REST part of a spec, and building the grpc part from it.
It uses the grpc descriptors of the endpoint you provide in order to cross validate the missing parts, and the grpc spec itself.

### Usage:
### Usage:

- Set the following parameters before use, for example:

* Set the following parameters before use, for example:
```
grpc_server = "juno-node-1.lavapro.xyz:9090"
spec_current_file_path = "/home/user/go/src/lava/cookbook/specs/juno.json"
spec_current_file_path = "/home/user/go/src/lava/specs/mainnet-1/specs/juno.json"
```

Launch the script
Expand All @@ -19,30 +20,31 @@ Launch the script
python3 scripts/automation_scripts/grpc_spec_builder.py
```

Read the results carefully to understand if any Rest API's were missing / more than necessary. take a look at the new grpc spec file that was created
Read the results carefully to understand if any Rest API's were missing / more than necessary. take a look at the new grpc spec file that was created

You can also uncomment the block of code at the bottom of the script that sets the grpc_server and spec_current_file_path variables to different values. This will allow you to switch between different gRPC servers and JSON files by simply commenting out the block of code that you are not using.

Note that you will need to have the grpcurl command-line tool installed and available in your system's PATH in order to run the script. grpcurl is a command-line tool for interacting with gRPC servers. You can download it from the gRPC GitHub page: https://github.com/grpc/grpc

# gRPC Scaffolder:
# gRPC Scaffolder:

Used for Scaffolding grpc interface.
Used for Scaffolding grpc interface.

### Usage:

* Set the following parameters before use, for example:
- Set the following parameters before use, for example:

```
grpc_server = "juno-node-1.lavapro.xyz:9090"
spec_current_file_path = "/home/user/go/src/lava/cookbook/specs/juno.json"
spec_current_file_path = "/home/user/go/src/lava/specs/mainnet-1/specs/juno.json"
chain = "Juno"
result_dir = "/home/user/go/src/lava/scripts/automation_scripts/automation_results/grpcClientProtobufs"
```

Launch the script, if grpc files are already located in there it will just append the missing API's.
Launch the script, if grpc files are already located in there it will just append the missing API's.

* There might be bugs in the script as it wasnt tested enough, so make sure you have a backed up version from git. its alot easier to compare the diff afterwards
- There might be bugs in the script as it wasnt tested enough, so make sure you have a backed up version from git. its alot easier to compare the diff afterwards

```
python3 scripts/automation_scripts/grpc_scaffolder.py
```
```
8 changes: 4 additions & 4 deletions scripts/automation_scripts/grpc_scaffolder.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,22 +3,22 @@

# Lava:
# grpc_server = "public-rpc.lavanet.xyz:9090"
# spec_current_file_path = "/home/user/go/src/lava/cookbook/specs/lava.json"
# spec_current_file_path = "/home/user/go/src/lava/specs/mainnet-1/specs/lava.json"
# chain = "Lava"

# Osmosis:
# grpc_server = "prod-pnet-osmosisnode-1.lavapro.xyz:9090"
# spec_current_file_path = "/home/user/go/src/lava/cookbook/specs/osmosis.json"
# spec_current_file_path = "/home/user/go/src/lava/specs/mainnet-1/specs/osmosis.json"
# chain = "Osmosis"

# Cosmos
# grpc_server = "gaia-node-1.lavapro.xyz:9090"
# spec_current_file_path = "/home/user/go/src/lava/cookbook/specs/cosmoshub.json"
# spec_current_file_path = "/home/user/go/src/lava/specs/mainnet-1/specs/cosmoshub.json"
# chain = "Cosmos"

# JUNO
grpc_server = "juno-node-1.lavapro.xyz:9090"
spec_current_file_path = "/home/user/go/src/lava/cookbook/specs/juno.json"
spec_current_file_path = "/home/user/go/src/lava/specs/mainnet-1/specs/juno.json"
chain = "Juno"


Expand Down
6 changes: 3 additions & 3 deletions scripts/automation_scripts/grpc_spec_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@

# Osmosis:
# grpc_server = "grpc.osmosis.zone:9090"
# spec_current_file_path = "/home/user/go/src/lava/cookbook/specs/osmosis.json"
# spec_current_file_path = "/home/user/go/src/lava/specs/mainnet-1/specs/osmosis.json"

# Cosmos
# grpc_server = "gaia-node-1.lavapro.xyz:9090"
# spec_current_file_path = "/home/user/go/src/lava/cookbook/specs/cosmoshub.json"
# spec_current_file_path = "/home/user/go/src/lava/specs/mainnet-1/specs/cosmoshub.json"

# Juno
# grpc_server = "juno-node-1.lavapro.xyz:9090"
Expand Down Expand Up @@ -57,7 +57,7 @@


##
spec_current_file_path = os.getcwd() + "/cookbook/specs/" + spec_file_name
spec_current_file_path = os.getcwd() + "/specs/mainnet-1/specs/" + spec_file_name

special_cases_descriptors_with_no_rest_api = []

Expand Down
2 changes: 1 addition & 1 deletion scripts/automation_scripts/inheritence_merger.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
## Checks if a spec inherits another spec (recursively) and creates an array that includes all supported rest api calls.

## Constants (Do not edit)
specs_dir = os.getcwd() + "/cookbook/specs/"
specs_dir = os.getcwd() + "/specs/mainnet-1/specs/"
rest_api_list = []

def get_inherited_rest_apis(importName):
Expand Down
8 changes: 4 additions & 4 deletions scripts/automation_scripts/remove_type_from_grpc_spec_api.py
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import json

input_files = [
"/home/user/go/src/lava/cookbook/specs/cosmoshub.json",
"/home/user/go/src/lava/cookbook/specs/juno.json",
"/home/user/go/src/lava/cookbook/specs/lava.json",
"/home/user/go/src/lava/cookbook/specs/osmosis.json",
"/home/user/go/src/lava/specs/mainnet-1/specs/cosmoshub.json",
"/home/user/go/src/lava/specs/mainnet-1/specs/juno.json",
"/home/user/go/src/lava/specs/mainnet-1/specs/lava.json",
"/home/user/go/src/lava/specs/mainnet-1/specs/osmosis.json",
]

for f in input_files:
Expand Down
2 changes: 1 addition & 1 deletion scripts/automation_scripts/spec_proposal_sorter.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import os
import shutil

all_specs = glob.glob(os.path.join(os.getcwd(), "cookbook/specs/*.json"))
all_specs = glob.glob(os.path.join(os.getcwd(), "specs/mainnet-1/specs/*.json"))
imported = set()
exported = {}

Expand Down
4 changes: 2 additions & 2 deletions scripts/init_chain_commands.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ screen -wipe
GASPRICE="0.00002ulava"

echo; echo "#### Sending proposal for specs ####"
cd ./cookbook/specs/
lavad tx gov submit-legacy-proposal spec-add ./ibc.json,./tendermint.json,./cosmoswasm.json,./cosmossdk.json,./cosmossdk_45.json,./cosmossdk_full.json,./ethermint.json,./ethereum.json,./cosmoshub.json,./lava.json,./osmosis.json,./fantom.json,./celo.json,./optimism.json,./arbitrum.json,./starknet.json,./aptos.json,./juno.json,./polygon.json,./evmos.json,./base.json,./canto.json,./sui.json,./solana.json,./bsc.json,./axelar.json,./avalanche.json,./fvm.json,./near.json,./sqdsubgraph.json,./agoric.json,./koii.json,./stargaze.json,./blast.json,./secret.json,./celestia.json --lava-dev-test -y --from alice --gas-adjustment "1.5" --gas "auto" --gas-prices $GASPRICE
specs=$(get_all_specs)
lavad tx gov submit-legacy-proposal spec-add $specs --lava-dev-test -y --from alice --gas-adjustment "1.5" --gas "auto" --gas-prices $GASPRICE
cd ../../
echo; echo "#### Waiting 2 blocks ####"
wait_count_blocks 2
Expand Down
3 changes: 2 additions & 1 deletion scripts/pre_setups/init_aptos_only_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ rm $LOGS_DIR/*.log
killall screen
screen -wipe
GASPRICE="0.00002ulava"
lavad tx gov submit-legacy-proposal spec-add ./cookbook/specs/ibc.json,./cookbook/specs/cosmoswasm.json,./cookbook/specs/tendermint.json,./cookbook/specs/cosmossdk.json,./cookbook/specs/cosmossdk_45.json,./cookbook/specs/cosmossdk_full.json,./cookbook/specs/ethermint.json,./cookbook/specs/ethereum.json,./cookbook/specs/cosmoshub.json,./cookbook/specs/lava.json,./cookbook/specs/osmosis.json,./cookbook/specs/fantom.json,./cookbook/specs/celo.json,./cookbook/specs/optimism.json,./cookbook/specs/arbitrum.json,./cookbook/specs/starknet.json,./cookbook/specs/aptos.json,./cookbook/specs/juno.json,./cookbook/specs/polygon.json,./cookbook/specs/evmos.json,./cookbook/specs/base.json,./cookbook/specs/canto.json,./cookbook/specs/sui.json,./cookbook/specs/solana.json,./cookbook/specs/bsc.json,./cookbook/specs/axelar.json,./cookbook/specs/avalanche.json,./cookbook/specs/fvm.json --lava-dev-test -y --from alice --gas-adjustment "1.5" --gas "auto" --gas-prices $GASPRICE &
specs=$(get_all_specs)
lavad tx gov submit-legacy-proposal spec-add $specs --lava-dev-test -y --from alice --gas-adjustment "1.5" --gas "auto" --gas-prices $GASPRICE &
wait_next_block
lavad tx gov vote 1 yes -y --from alice --gas-adjustment "1.5" --gas "auto" --gas-prices $GASPRICE
wait_next_block
Expand Down
3 changes: 2 additions & 1 deletion scripts/pre_setups/init_arbitrum_only_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ rm $LOGS_DIR/*.log
killall screen
screen -wipe
GASPRICE="0.00002ulava"
lavad tx gov submit-legacy-proposal spec-add ./cookbook/specs/ibc.json,./cookbook/specs/cosmoswasm.json,./cookbook/specs/tendermint.json,./cookbook/specs/cosmossdk.json,./cookbook/specs/cosmossdk_45.json,./cookbook/specs/cosmossdk_full.json,./cookbook/specs/ethermint.json,./cookbook/specs/ethereum.json,./cookbook/specs/cosmoshub.json,./cookbook/specs/lava.json,./cookbook/specs/osmosis.json,./cookbook/specs/fantom.json,./cookbook/specs/celo.json,./cookbook/specs/optimism.json,./cookbook/specs/arbitrum.json,./cookbook/specs/starknet.json,./cookbook/specs/aptos.json,./cookbook/specs/juno.json,./cookbook/specs/polygon.json,./cookbook/specs/evmos.json,./cookbook/specs/base.json,./cookbook/specs/canto.json,./cookbook/specs/sui.json,./cookbook/specs/solana.json,./cookbook/specs/bsc.json,./cookbook/specs/axelar.json,./cookbook/specs/avalanche.json,./cookbook/specs/fvm.json --lava-dev-test -y --from alice --gas-adjustment "1.5" --gas "auto" --gas-prices $GASPRICE &
specs=$(get_all_specs)
lavad tx gov submit-legacy-proposal spec-add $specs --lava-dev-test -y --from alice --gas-adjustment "1.5" --gas "auto" --gas-prices $GASPRICE &
wait_next_block
lavad tx gov vote 1 yes -y --from alice --gas-adjustment "1.5" --gas "auto" --gas-prices $GASPRICE
wait_next_block
Expand Down
3 changes: 2 additions & 1 deletion scripts/pre_setups/init_avalanch_only.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ rm $LOGS_DIR/*.log
killall screen
screen -wipe
GASPRICE="0.00002ulava"
lavad tx gov submit-legacy-proposal spec-add ./cookbook/specs/ibc.json,./cookbook/specs/cosmoswasm.json,./cookbook/specs/tendermint.json,./cookbook/specs/cosmossdk.json,./cookbook/specs/cosmossdk_45.json,./cookbook/specs/cosmossdk_full.json,./cookbook/specs/ethermint.json,./cookbook/specs/ethereum.json,./cookbook/specs/cosmoshub.json,./cookbook/specs/lava.json,./cookbook/specs/osmosis.json,./cookbook/specs/fantom.json,./cookbook/specs/celo.json,./cookbook/specs/optimism.json,./cookbook/specs/arbitrum.json,./cookbook/specs/starknet.json,./cookbook/specs/aptos.json,./cookbook/specs/juno.json,./cookbook/specs/polygon.json,./cookbook/specs/evmos.json,./cookbook/specs/base.json,./cookbook/specs/canto.json,./cookbook/specs/sui.json,./cookbook/specs/solana.json,./cookbook/specs/bsc.json,./cookbook/specs/axelar.json,./cookbook/specs/avalanche.json,./cookbook/specs/fvm.json --lava-dev-test -y --from alice --gas-adjustment "1.5" --gas "auto" --gas-prices $GASPRICE &
specs=$(get_all_specs)
lavad tx gov submit-legacy-proposal spec-add $specs --lava-dev-test -y --from alice --gas-adjustment "1.5" --gas "auto" --gas-prices $GASPRICE &
lavad tx gov vote 1 yes -y --from alice --gas-adjustment "1.5" --gas "auto" --gas-prices $GASPRICE

lavad tx gov submit-legacy-proposal plans-add ./cookbook/plans/test_plans/default.json -y --from alice --gas-adjustment "1.5" --gas "auto" --gas-prices $GASPRICE
Expand Down
3 changes: 2 additions & 1 deletion scripts/pre_setups/init_axelar_only_with_node.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ sleep 5
wait_for_lava_node_to_start

GASPRICE="0.00002ulava"
lavad tx gov submit-legacy-proposal spec-add ./cookbook/specs/ibc.json,./cookbook/specs/cosmoswasm.json,./cookbook/specs/tendermint.json,./cookbook/specs/cosmossdk.json,./cookbook/specs/cosmossdk_45.json,./cookbook/specs/cosmossdk_full.json,./cookbook/specs/ethermint.json,./cookbook/specs/ethereum.json,./cookbook/specs/cosmoshub.json,./cookbook/specs/lava.json,./cookbook/specs/osmosis.json,./cookbook/specs/fantom.json,./cookbook/specs/celo.json,./cookbook/specs/optimism.json,./cookbook/specs/arbitrum.json,./cookbook/specs/starknet.json,./cookbook/specs/aptos.json,./cookbook/specs/juno.json,./cookbook/specs/polygon.json,./cookbook/specs/evmos.json,./cookbook/specs/base.json,./cookbook/specs/canto.json,./cookbook/specs/sui.json,./cookbook/specs/solana.json,./cookbook/specs/bsc.json,./cookbook/specs/axelar.json,./cookbook/specs/avalanche.json,./cookbook/specs/fvm.json --lava-dev-test -y --from alice --gas-adjustment "1.5" --gas "auto" --gas-prices $GASPRICE &
specs=$(get_all_specs)
lavad tx gov submit-legacy-proposal spec-add $specs --lava-dev-test -y --from alice --gas-adjustment "1.5" --gas "auto" --gas-prices $GASPRICE &
wait_next_block
wait_next_block
lavad tx gov vote 1 yes -y --from alice --gas-adjustment "1.5" --gas "auto" --gas-prices $GASPRICE
Expand Down
3 changes: 2 additions & 1 deletion scripts/pre_setups/init_canto_only_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ rm $LOGS_DIR/*.log
killall screen
screen -wipe
GASPRICE="0.00002ulava"
lavad tx gov submit-legacy-proposal spec-add ./cookbook/specs/ibc.json,./cookbook/specs/cosmoswasm.json,./cookbook/specs/tendermint.json,./cookbook/specs/cosmossdk.json,./cookbook/specs/cosmossdk_45.json,./cookbook/specs/cosmossdk_full.json,./cookbook/specs/ethermint.json,./cookbook/specs/ethereum.json,./cookbook/specs/cosmoshub.json,./cookbook/specs/lava.json,./cookbook/specs/osmosis.json,./cookbook/specs/fantom.json,./cookbook/specs/celo.json,./cookbook/specs/optimism.json,./cookbook/specs/arbitrum.json,./cookbook/specs/starknet.json,./cookbook/specs/aptos.json,./cookbook/specs/juno.json,./cookbook/specs/polygon.json,./cookbook/specs/evmos.json,./cookbook/specs/base.json,./cookbook/specs/canto.json,./cookbook/specs/sui.json,./cookbook/specs/solana.json,./cookbook/specs/bsc.json,./cookbook/specs/axelar.json,./cookbook/specs/avalanche.json,./cookbook/specs/fvm.json --lava-dev-test -y --from alice --gas-adjustment "1.5" --gas "auto" --gas-prices $GASPRICE &
specs=$(get_all_specs)
lavad tx gov submit-legacy-proposal spec-add $specs --lava-dev-test -y --from alice --gas-adjustment "1.5" --gas "auto" --gas-prices $GASPRICE &
wait_next_block
lavad tx gov vote 1 yes -y --from alice --gas-adjustment "1.5" --gas "auto" --gas-prices $GASPRICE
sleep 4
Expand Down
Loading

0 comments on commit 7a8b73d

Please sign in to comment.