erigon-pulse/consensus/aura
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
..
auraabi Sokol v0 (#2228) 2021-06-25 19:13:40 +01:00
aurainterfaces go1.19 gofmt (#4988) 2022-08-10 19:04:13 +07:00
consensusconfig Fix Gnosis Chain transition to safeContract validator (#5645) 2022-10-06 18:06:18 +02:00
contracts Sokol v0 (#2228) 2021-06-25 19:13:40 +01:00
oe-test Sokol v0 - better header rlp, steps to generate blocks (#2256) 2021-06-30 16:30:21 +07:00
test Sokol v0 - better header rlp, steps to generate blocks (#2256) 2021-06-30 16:30:21 +07:00
aura_test.go SysCallContract shouldn't increase nonce of SystemAddress (#5617) 2022-10-04 18:02:17 +02:00
aura.go Fix slice bounds out of range in AccumulateRewards (#5700) 2022-10-11 14:30:12 +02:00
config.go Use NewValidatorSafeContract in ValidatorContract (#5717) 2022-10-12 16:12:17 +02:00
finality_test.go Sokol v0: support for first epoch-set transition (#2411) 2021-07-21 18:13:26 +07:00
validators.go Use NewValidatorSafeContract in ValidatorContract (#5717) 2022-10-12 16:12:17 +02:00