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
Describe the bug
Panic error initializing MockVochainNode on benchmarks
To Reproduce (please complete the following information)
Go to benchmark/ folder run, for example, the following prompt:
go test -v -run=- -bench=BenchmarkVochainSingleProof
Current behavior
Panic caused by invalid memory address or nil pointer dereference trying to update the vochain configuration struct data directory (config.VochainCfg.DataDir) with the testing temporal directory (testing.TB.TempDir()):
Describe the bug
Panic error initializing
MockVochainNode
on benchmarksTo Reproduce (please complete the following information)
Go to
benchmark/
folder run, for example, the following prompt:go test -v -run=- -bench=BenchmarkVochainSingleProof
Current behavior
Panic caused by
invalid memory address or nil pointer dereference
trying to update the vochain configuration struct data directory (config.VochainCfg.DataDir
) with the testing temporal directory (testing.TB.TempDir()
):Expected behavior
I assume that the expected behaviour of this benchmark is to run successfully.
System (please complete the following information):
The text was updated successfully, but these errors were encountered: