added anchor build step

This commit is contained in:
spacemandev 2022-08-16 12:29:02 -06:00
parent 8163a69ada
commit 4ca0235396
1 changed files with 3 additions and 0 deletions

View File

@ -1,6 +1,9 @@
# Warning
echo "Due to the nature of Solana accounts, you'll need to reset the Solana Local Validator (evm can stay as is) every time you run this test, otherwise it'll error saying accounts are already created and in use."
# Build solana code so it's available in the handler
cd chains/solana && anchor build && cd ../../
# Deploy evm0 and sol0
ts-node orchestrator.ts deploy evm0
ts-node orchestrator.ts deploy sol0