From 9330780bb1c9f8eff84f2443f5b4e9aa26b70e46 Mon Sep 17 00:00:00 2001 From: Arpit Temani Date: Wed, 16 Nov 2022 09:43:48 +0530 Subject: [PATCH 1/2] Update smoke_test.sh --- integration-tests/smoke_test.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/integration-tests/smoke_test.sh b/integration-tests/smoke_test.sh index a1bc292359..fe623a437f 100644 --- a/integration-tests/smoke_test.sh +++ b/integration-tests/smoke_test.sh @@ -1,7 +1,7 @@ #!/bin/bash set -e -balanceInit=$(docker exec bor0 bash -c "bor attach /root/.bor/data/bor.ipc -exec 'Math.round(web3.fromWei(eth.getBalance(eth.coinbase)))'") +balanceInit=$(docker exec bor0 bash -c "bor attach /root/.bor/data/bor.ipc -exec 'Math.round(web3.fromWei(eth.getBalance(eth.accounts[0])))'") delay=600 @@ -9,7 +9,7 @@ echo "Wait ${delay} seconds for state-sync..." sleep $delay -balance=$(docker exec bor0 bash -c "bor attach /root/.bor/data/bor.ipc -exec 'Math.round(web3.fromWei(eth.getBalance(eth.coinbase)))'") +balance=$(docker exec bor0 bash -c "bor attach /root/.bor/data/bor.ipc -exec 'Math.round(web3.fromWei(eth.getBalance(eth.accounts[0])))'") if ! [[ "$balance" =~ ^[0-9]+$ ]]; then echo "Something is wrong! Can't find the balance of first account in bor network." From f919886a39878e1ef548c8ec8003f7cbd58d4276 Mon Sep 17 00:00:00 2001 From: Arpit Temani Date: Wed, 16 Nov 2022 09:47:01 +0530 Subject: [PATCH 2/2] Update sealer_test.go --- consensus/ethash/sealer_test.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/consensus/ethash/sealer_test.go b/consensus/ethash/sealer_test.go index 2738b1fdbd..c46077f561 100644 --- a/consensus/ethash/sealer_test.go +++ b/consensus/ethash/sealer_test.go @@ -180,8 +180,6 @@ func TestRemoteMultiNotify(t *testing.T) { // Tests that pushing work packages fast to the miner doesn't cause any data race // issues in the notifications. Full pending block body / --miner.notify.full) func TestRemoteMultiNotifyFull(t *testing.T) { - t.Skip() - // Start a simple web server to capture notifications. sink := make(chan map[string]interface{}, 64) server := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, req *http.Request) {