You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expected behaviour
Miners stay stable
Actual behaviour
A single slice crashes after some time
Steps to reproduce the behaviour
Run go-quai
Run quai-cpu-miner
Logs of crash:
time="2023-08-25T14:00:33Z" level=warning msg="One ethash cache must always be in memory requested=0"
2023/08/25 14:00:33 main.go:159: Starting Quai cpu miner in location [0 0]
2023/08/25 14:00:33 main.go:234: Pending block not found error: getPendingHeader call can only be made on chain processing the state
2023/08/25 14:00:34 main.go:234: Pending block not found error: getPendingHeader call can only be made on chain processing the state
2023/08/25 14:00:36 main.go:234: Pending block not found error: getPendingHeader call can only be made on chain processing the state
2023/08/25 14:00:40 main.go:234: Pending block not found error: getPendingHeader call can only be made on chain processing the state
2023/08/25 14:00:48 main.go:234: Pending block not found error: getPendingHeader call can only be made on chain processing the state
2023/08/25 14:00:55 main.go:282: Mining Block: [40 310 2125] location [0 0] difficulty 0
panic: division by zero
goroutine 103 [running]:
math/big.nat.div({0x0?, 0x0?, 0x0?}, {0x0?, 0x0?, 0x0?}, {0xc000155d10?, 0x0?, 0x0?}, {0x0, ...})
/usr/local/go/src/math/big/natdiv.go:507 +0x34b
math/big.(*Int).QuoRem(0xc0000a7ed0, 0xc000161de0, 0xc00035c560, 0xc0000a7da0)
/usr/local/go/src/math/big/int.go:237 +0x9c
math/big.(*Int).Div(0x0?, 0x0?, 0x0?)
/usr/local/go/src/math/big/int.go:248 +0x45
github.com/dominant-strategies/go-quai/consensus/blake3pow.(*Blake3pow).mine(0xc000336880, 0xc000312000, 0x0?, 0x76a6af7d24424a06, 0xc00068c7e0, 0xc00068c840)
/go/pkg/mod/github.com/dominant-strategies/[email protected]/consensus/blake3pow/sealer.go:119 +0x8c
github.com/dominant-strategies/go-quai/consensus/blake3pow.(*Blake3pow).Seal.func1(0x0?, 0x0?)
/go/pkg/mod/github.com/dominant-strategies/[email protected]/consensus/blake3pow/sealer.go:83 +0x74
created by github.com/dominant-strategies/go-quai/consensus/blake3pow.(*Blake3pow).Seal
/go/pkg/mod/github.com/dominant-strategies/[email protected]/consensus/blake3pow/sealer.go:81 +0x585
panic: division by zero
goroutine 107 [running]:
math/big.nat.div({0x0?, 0x0?, 0x0?}, {0x0?, 0x0?, 0x0?}, {0xc000155d10?, 0x0?, 0x0?}, {0x0, ...})
/usr/local/go/src/math/big/natdiv.go:507 +0x34b
math/big.(*Int).QuoRem(0xc0000daed0, 0xc000161de0, 0xc00035c560, 0xc0000dada0)
/usr/local/go/src/math/big/int.go:237 +0x9c
math/big.(*Int).Div(0x0?, 0x0?, 0x0?)
/usr/local/go/src/math/big/int.go:248 +0x45
github.com/dominant-strategies/go-quai/consensus/blake3pow.(*Blake3pow).mine(0xc000336880, 0xc000312000, 0x0?, 0x6690ed26ebc32d7e, 0xc00068c7e0, 0xc00068c840)
/go/pkg/mod/github.com/dominant-strategies/[email protected]/consensus/blake3pow/sealer.go:119 +0x8c
github.com/dominant-strategies/go-quai/consensus/blake3pow.(*Blake3pow).Seal.func1(0x0?, 0x0?)
/go/pkg/mod/github.com/dominant-strategies/[email protected]/consensus/blake3pow/sealer.go:83 +0x74
created by github.com/dominant-strategies/go-quai/consensus/blake3pow.(*Blake3pow).Seal
/go/pkg/mod/github.com/dominant-strategies/[email protected]/consensus/blake3pow/sealer.go:81 +0x585
Stream closed EOF for quai-sandbox/go-quai-sandbox-0 (quai-cpu-miner00)
The text was updated successfully, but these errors were encountered:
quai-cpu-miner tag: v0.3.0-pre.3
quai-cpu-miner commit: c4f1126
go-quai tag: v0.13.0-rc.0
go-quai commit: 843f7df8
Expected behaviour
Miners stay stable
Actual behaviour
A single slice crashes after some time
Steps to reproduce the behaviour
Run go-quai
Run quai-cpu-miner
Logs of crash:
The text was updated successfully, but these errors were encountered: