mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-27 23:26:44 +00:00
Merge branch 'arpit/pos-655' of github.com:maticnetwork/bor into arpit/pos-655
This commit is contained in:
commit
f713647762
2 changed files with 2 additions and 4 deletions
|
|
@ -180,8 +180,6 @@ func TestRemoteMultiNotify(t *testing.T) {
|
||||||
// Tests that pushing work packages fast to the miner doesn't cause any data race
|
// 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)
|
// issues in the notifications. Full pending block body / --miner.notify.full)
|
||||||
func TestRemoteMultiNotifyFull(t *testing.T) {
|
func TestRemoteMultiNotifyFull(t *testing.T) {
|
||||||
t.Skip()
|
|
||||||
|
|
||||||
// Start a simple web server to capture notifications.
|
// Start a simple web server to capture notifications.
|
||||||
sink := make(chan map[string]interface{}, 64)
|
sink := make(chan map[string]interface{}, 64)
|
||||||
server := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, req *http.Request) {
|
server := httptest.NewServer(http.HandlerFunc(func(w http.ResponseWriter, req *http.Request) {
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
set -e
|
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
|
delay=600
|
||||||
|
|
||||||
|
|
@ -9,7 +9,7 @@ echo "Wait ${delay} seconds for state-sync..."
|
||||||
sleep $delay
|
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
|
if ! [[ "$balance" =~ ^[0-9]+$ ]]; then
|
||||||
echo "Something is wrong! Can't find the balance of first account in bor network."
|
echo "Something is wrong! Can't find the balance of first account in bor network."
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue