File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed
Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -1342,7 +1342,10 @@ function anvil-dev() {
13421342 fi
13431343 ;;
13441344 --build)
1345- cargo build --manifest-path $FOUNDRY_DIR /Cargo.toml --release -p anvil-polkadot
1345+ set -x
1346+ SQLX_OFFLINE=true cargo build --manifest-path " $FOUNDRY_DIR /Cargo.toml" --release -p anvil-polkadot
1347+ { set +x; } 2> /dev/null
1348+ shift 1
13461349 ;;
13471350 * )
13481351 echo " Unknown argument: $1 "
@@ -1410,4 +1413,10 @@ function anvil_stack() {
14101413 # Create new 'servers' window in detached mode
14111414 # Source shell config and run anvil with specified mode
14121415 tmux new-window -d -n servers " $CURRENT_SHELL -c 'source $SHELL_RC ; anvil-dev $mode $build_flag ; exec \$ SHELL'"
1416+
1417+ wait_for_eth_rpc
1418+
1419+ # fund our default address
1420+ cast rpc anvil_setBalance " 0xf24FF3a9CF04c71Dbc94D0b566f7A27B94566cac" " 0x3635C9ADC5DEA00000" 2> /dev/null
1421+
14131422}
You can’t perform that action at this time.
0 commit comments