Skip to content

Commit

Permalink
Merge branch 'mardizzone/node-upgrade' of github.com:maticnetwork/gen…
Browse files Browse the repository at this point in the history
…esis-contracts into mardizzone/node-upgrade
  • Loading branch information
temaniarpit27 committed Nov 28, 2022
2 parents 66be528 + afc14a6 commit cb617c9
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ jobs:
- name: Generate genesis file
run: bash generate.sh 15001 heimdall-15001
- name: Run tests
run: npm run test:ci
run: npm run test:ci
8 changes: 5 additions & 3 deletions scripts/run-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,11 @@ trap cleanup EXIT
PWD=$(pwd)

cleanup() {
echo "Cleaning up"
pkill -f ganache-cli
echo "Done"
if [ "$GITHUB_ACTIONS" != true ] ; then
echo "Cleaning up"
pkill -f ganache-cli
echo "Done"
fi
}

start_testrpc() {
Expand Down
2 changes: 1 addition & 1 deletion test/StateReceiver.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ contract('StateReceiver', async (accounts) => {

before(async function () {
testStateReceiver = await TestStateReceiver.deployed()
testStateReceiver.setSystemAddress(accounts[0])
await testStateReceiver.setSystemAddress(accounts[0])
testCommitState = await TestCommitState.deployed()
testCommitStateAddr = testCommitState.address
})
Expand Down

0 comments on commit cb617c9

Please sign in to comment.