go-ethereum/accounts/abi
Manav Darji c44693706a
RFC35/Common Ancestor: Modifying the forkchoice rule (#425)
* initial

* update

* fix: add validator to NewBlockchain function calls

* handle past chain reorg

* fix: only check with last checkpoint

* rm logs

* add: handle future chain import case

* fix: handle single block case

* add unit tests for past and future chain

* modularise forker tests

* minor fixes

* add: overlapping chain test case, minor fixes

* minor fixes

* add: isolated unit test for IsValidChain

* add more test case for IsValidChain

* fix: use index for header time

* add: fetch last N checkpoints in first run

* fix: change checkpoint count to int64

* fix: handle edge case

* fix: handle no checkpoint case separately

* fix: consider offset for future chain calculation

* re-write test case for split chain

* fix: typo

* add: split chain properties test

* separate reorg checks, validate chain before inserting

* fix: handle err incase of invalid chain

* fix: use error from whitelist service

* split chain property tests

* remove duplicate test cases

* cleanup

* clean up

* fix linters

* fix: fetch checkpoint count bug, add tests

* fix more linters

* fix: handle nil chain validator in downloader

* fix: mock bor tests

Co-authored-by: Evgeny Danienko <6655321@bk.ru>
2022-07-15 10:37:35 +05:30
..
bind RFC35/Common Ancestor: Modifying the forkchoice rule (#425) 2022-07-15 10:37:35 +05:30
abi.go accounts/abi: add basic support for error types (#23161) 2021-10-14 13:33:28 +02:00
abi_test.go accounts/abi: add basic support for error types (#23161) 2021-10-14 13:33:28 +02:00
argument.go V0.2.16 candidate (#373) 2022-05-06 12:31:48 +02:00
doc.go all: fix license headers one more time 2015-07-23 18:35:11 +02:00
error.go accounts/abi: add basic support for error types (#23161) 2021-10-14 13:33:28 +02:00
error_handling.go accounts/abi: add basic support for error types (#23161) 2021-10-14 13:33:28 +02:00
event.go accounts/abi: improve documentation and names (#21540) 2020-09-20 10:43:57 +02:00
event_test.go accounts/abi: ABI explicit difference between Unpack and UnpackIntoInterface (#21091) 2020-09-28 14:10:26 +02:00
method.go accounts/abi: improve documentation and names (#21540) 2020-09-20 10:43:57 +02:00
method_test.go Update Bor to geth-v1.9.16 (#78) 2020-07-24 19:01:41 +05:30
pack.go accounts/abi: improve documentation and names (#21540) 2020-09-20 10:43:57 +02:00
pack_test.go accounts/abi: ABI explicit difference between Unpack and UnpackIntoInterface (#21091) 2020-09-28 14:10:26 +02:00
packing_test.go accounts/abi: ABI explicit difference between Unpack and UnpackIntoInterface (#21091) 2020-09-28 14:10:26 +02:00
reflect.go all: fix some go-critic linter warnings (#23709) 2021-10-13 17:31:02 +02:00
reflect_test.go all: remove redundant conversions and import names (#21903) 2020-11-25 21:00:23 +01:00
selector_parser.go V0.2.16 candidate (#373) 2022-05-06 12:31:48 +02:00
selector_parser_test.go V0.2.16 candidate (#373) 2022-05-06 12:31:48 +02:00
topics.go accounts/abi: improve documentation and names (#21540) 2020-09-20 10:43:57 +02:00
topics_test.go Update Bor to geth-v1.9.16 (#78) 2020-07-24 19:01:41 +05:30
type.go accounts/abi: improve documentation and names (#21540) 2020-09-20 10:43:57 +02:00
type_test.go all: remove redundant conversions and import names (#21903) 2020-11-25 21:00:23 +01:00
unpack.go V0.2.16 candidate (#373) 2022-05-06 12:31:48 +02:00
unpack_test.go accounts/abi: fix resolving single struct argument (#23573) 2021-09-22 10:18:18 +02:00