File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change 3535 solana-test-validator --reset --rpc-port 8899 --limit-ledger-size 50000000 --url https://api.devnet.solana.com \
3636 --clone ETGtqwDKEm1Z9gq6FdvYUfyDuUZr7g4UdPSmyNLVGriX \
3737 --clone 7UVimffxr9ow1uXYxsr4LHAcV58mLzhmwaeKvJ1pjLiE &
38+ - name : Update solana_localchain_chain_config.json with host IP
39+ run : |
40+ HOST_IP=$(ip route | awk '/default/ { print $3 }')
41+ echo "Host IP detected: $HOST_IP"
42+ jq --arg rpc_url "http://$HOST_IP:8899" '.public_rpc_url = $rpc_url' e2e/solana_localchain_chain_config.json > e2e/solana_localchain_chain_config_updated.json
43+ mv e2e/solana_localchain_chain_config_updated.json e2e/solana_localchain_chain_config.json
44+ cat e2e/solana_localchain_chain_config.json
45+
3846 - name : Install Anchor CLI
3947 run : cargo install --git https://github.com/coral-xyz/anchor avm --locked --force
4048 - name : Add Anchor to PATH
You can’t perform that action at this time.
0 commit comments