Skip to content

Instantly share code, notes, and snippets.

@zsfelfoldi
Created May 20, 2021 11:42
Show Gist options
  • Save zsfelfoldi/a5ecc816f900fe77dcbd73d25ceab463 to your computer and use it in GitHub Desktop.
Save zsfelfoldi/a5ecc816f900fe77dcbd73d25ceab463 to your computer and use it in GitHub Desktop.
INFO [05-20|10:03:41.074] Imported new chain segment blocks=1 txs=0 mgas=0.000 elapsed="562.109µs" mgasps=0.000 number=22737 hash=24fa29..2ec86d dirty=0.00B
INFO [05-20|10:04:11.021] Imported new chain segment blocks=1 txs=0 mgas=0.000 elapsed="583.387µs" mgasps=0.000 number=22738 hash=02c997..90467e dirty=0.00B
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x540324]
goroutine 49 [running]:
math/big.(*Int).Cmp(0xc01075c220, 0x0, 0xffffffffffffffff)
/usr/local/go/src/math/big/int.go:328 +0x44
github.com/ethereum/go-ethereum/core.(*StateTransition).preCheck(0xc0121efc00, 0xc000234b40, 0xc000234b80)
/home/fefe/go/src/github.com/ethereum/go-ethereum/core/state_transition.go:220 +0xdc
github.com/ethereum/go-ethereum/core.(*StateTransition).TransitionDb(0xc0121efc00, 0x15999d0, 0xc06ec6a1b0, 0xc051920408)
/home/fefe/go/src/github.com/ethereum/go-ethereum/core/state_transition.go:253 +0x45
github.com/ethereum/go-ethereum/core.ApplyMessage(0xc0000db500, 0x15999d0, 0xc06ec6a1b0, 0xc051920408, 0xa5aa00d0, 0xc01075c340, 0xc000235e00)
/home/fefe/go/src/github.com/ethereum/go-ethereum/core/state_transition.go:178 +0x57
github.com/ethereum/go-ethereum/core.applyTransaction(0x0, 0x3498d0ca155ad7ee, 0xe8f1f908ccf4e60a, 0xa5aa00d0, 0x1, 0xc01075c2a0, 0x15f90, 0xc01075c1e0, 0xc01075c220, 0xc01075c260, ...)
/home/fefe/go/src/github.com/ethereum/go-ethereum/core/state_processor.go:98 +0x1a5
github.com/ethereum/go-ethereum/core.ApplyTransaction(0x1e401c0, 0x157d6c0, 0xc00014b200, 0xc010ad9a48, 0xc051920408, 0xc0686541a0, 0xc068589680, 0xc06d05d560, 0xc068589850, 0x0, ...)
/home/fefe/go/src/github.com/ethereum/go-ethereum/core/state_processor.go:149 +0x356
github.com/ethereum/go-ethereum/miner.(*worker).commitTransaction(0xc00015e000, 0xc06d05d560, 0x0, 0x0, 0x9abbde000000000, 0xa5aa00d0, 0x0, 0x0, 0xc0525f89c0, 0xc0125ba120)
/home/fefe/go/src/github.com/ethereum/go-ethereum/miner/worker.go:739 +0x179
github.com/ethereum/go-ethereum/miner.(*worker).commitTransactions(0xc00015e000, 0xc012e5ed50, 0x0, 0x0, 0x0, 0x0, 0x1)
/home/fefe/go/src/github.com/ethereum/go-ethereum/miner/worker.go:809 +0x4c9
github.com/ethereum/go-ethereum/miner.(*worker).mainLoop(0xc00015e000)
/home/fefe/go/src/github.com/ethereum/go-ethereum/miner/worker.go:504 +0x6df
created by github.com/ethereum/go-ethereum/miner.newWorker
/home/fefe/go/src/github.com/ethereum/go-ethereum/miner/worker.go:227 +0x532
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment