erigon-pulse/consensus
Andrew Ashikhmin 817b528ce1
Use NewValidatorSafeContract in ValidatorContract (#5717)
This fixes the following panic for Gnosis Chain on the validator switch
at block 9186425:
```
panic: method 'getValidators' not found

goroutine 90 [running]:
github.com/ledgerwatch/erigon/consensus/aura.(*ValidatorSafeContract).getListSyscall(0x14000ed9358, 0xd40004bf620)
        github.com/ledgerwatch/erigon/consensus/aura/validators.go:634 +0x258
github.com/ledgerwatch/erigon/consensus/aura.(*ValidatorSafeContract).epochSet(0x16?, 0x20?, 0x8c2c79, {0xd4002d77180, 0x25f, 0x25f}, 0x11400fac7ee8?)
        github.com/ledgerwatch/erigon/consensus/aura/validators.go:453 +0xdc
github.com/ledgerwatch/erigon/consensus/aura.(*ValidatorContract).epochSet(0x140006ae980?, 0x38?, 0x6f9d00000000c28e?, {0xd4002d77180?, 0x108acc108?, 0x40?}, 0x14000618000?)
```
2022-10-12 16:12:17 +02:00
..
aura Use NewValidatorSafeContract in ValidatorContract (#5717) 2022-10-12 16:12:17 +02:00
bor bor/consensus: Only write Snapshots to DB for checkpoints (#5369) 2022-09-17 13:25:47 +01:00
clique Enable gosec linter (#5083) 2022-08-17 12:18:19 +07:00
db Create in-memory MDBX inside dirs.Tmp (#5702) 2022-10-11 16:49:38 +01:00
ethash go1.19 gofmt (#4988) 2022-08-10 19:04:13 +07:00
misc Fix Gnosis Chain fork ID (#5487) 2022-09-23 12:26:35 +02:00
parlia E3 exec atomics (#5641) 2022-10-06 13:11:11 +07:00
serenity Fix Gnosis Chain transition to safeContract validator (#5645) 2022-10-06 18:06:18 +02:00
consensus.go Pass context to engines that perform async operations (#4531) 2022-06-28 09:49:51 +06:00
errors.go Serenity engine: fall back to eth1 engine before the Merge (#3112) 2021-12-13 18:29:38 +01:00
result.go Clean up DEBUG category logs (#2776) 2021-10-05 08:14:04 +07:00