erigon-pulse/accounts/abi
ledgerwatch 0a31f5ac2a
Workaround for the code history of BSC system contracts (#6274)
Works around a flaw in the upgrade logic of the system contracts. Since
they are updated directly, without first being self-destructed and then
re-created, the usual incarnation logic does not get activated, and all
historical records of the code of these contracts are retrieved as the
most recent version. This problem will not exist in erigon3, but until
then, a workaround will be used to access code of such contracts through
a special structure, `SystemContractCodeLookup`

Fixes https://github.com/ledgerwatch/erigon/issues/5865

Co-authored-by: Alexey Sharp <alexeysharp@Alexeys-iMac.local>
2022-12-10 22:41:04 +00:00
..
bind Workaround for the code history of BSC system contracts (#6274) 2022-12-10 22:41:04 +00:00
abi_test.go go1.19 gofmt (#4988) 2022-08-10 19:04:13 +07:00
abi.go add_abigen_error_handle (#4498) 2022-06-20 08:48:25 +01:00
argument.go Inner errors (#2774) 2021-10-04 22:16:52 +07:00
doc.go all: fix license headers one more time 2015-07-23 18:35:11 +02:00
error.go add_abigen_error_handle (#4498) 2022-06-20 08:48:25 +01:00
event_test.go Rename to Erigon (#2018) 2021-05-26 11:35:39 +01:00
event.go rename (#1978) 2021-05-20 19:25:53 +01:00
method_test.go accounts/abi: Prevent recalculation of internal fields (#20895) 2020-05-20 15:26:22 +03:00
method.go rename (#1978) 2021-05-20 19:25:53 +01:00
pack_test.go go1.19 gofmt (#4988) 2022-08-10 19:04:13 +07:00
pack.go rename (#1978) 2021-05-20 19:25:53 +01:00
packing_test.go rename (#1978) 2021-05-20 19:25:53 +01:00
reflect_test.go all: remove redundant conversions and import names (#21903) 2021-03-08 12:43:02 +01:00
reflect.go go1.19 gofmt (#4988) 2022-08-10 19:04:13 +07:00
topics_test.go rename (#1978) 2021-05-20 19:25:53 +01:00
topics.go Fix test e3 (#6087) 2022-11-20 10:58:20 +07:00
type_test.go rename (#1978) 2021-05-20 19:25:53 +01:00
type.go Inner errors (#2774) 2021-10-04 22:16:52 +07:00
unpack_test.go go1.19 gofmt (#4988) 2022-08-10 19:04:13 +07:00
unpack.go rename (#1978) 2021-05-20 19:25:53 +01:00