Skip to content

Commit

Permalink
Use near nodes in archival mode to avoid gc
Browse files Browse the repository at this point in the history
  • Loading branch information
mfornet committed Feb 15, 2021
1 parent 3b4c567 commit 5ba8150
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion testing/ci/e2e_deploy_contract.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ if [ -n "${LOCAL_CORE_SRC+x}" ]; then
else
node index.js prepare
fi
node index.js start near-node
node index.js start near-node --archival true
node index.js start ganache
# Wait for the local node to start
while ! curl localhost:3030; do
Expand Down
2 changes: 1 addition & 1 deletion testing/ci/test_challenge.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ if [ -n "${LOCAL_CORE_SRC+x}" ]; then
else
node index.js prepare
fi
node index.js start near-node
node index.js start near-node --archival true
# First start pm2 daemon
yarn run pm2 ping
node index.js start ganache
Expand Down
2 changes: 1 addition & 1 deletion testing/ci/test_ethrelay_catchup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ if [ -n "${LOCAL_CORE_SRC+x}" ]; then
else
node index.js prepare
fi
node index.js start near-node
node index.js start near-node --archival true
export GANACHE_BLOCK_TIME=3
node index.js start ganache
# Wait for the local node to start
Expand Down

0 comments on commit 5ba8150

Please sign in to comment.