bsc/trie
NathanBSC 202ab70922
Big merge v1.10.16 v1.12.2 fix ci (#1850)
* fix: crash of highestVerifiedHeader

* fix: panic of blobpool

* fix: genesis set up

* 1. modify NewDatabaseWithNodeDB to upstream
2. fix race use of hasher in statedb
3. fix use wrong value when updateTrie

* fix dir legacypool

* fix dir blobpool

* fix dir vote

* remove diffsync related code

* fix core/state/snapshot

* disable pipeCommit for now

* fix applyTransaction for bloom setting

* CI: fast finality in gasprice test

* CI: diffFetcher was removed

* CI: downloader, remove beaconsync test

* CI: no beaconsync in downloader, remove a failed case

TestCheckpointChallenge was removed in:
https://github.com/ethereum/go-ethereum/pull/27147
since after merge, it is useless for ethereum, but might be useful for BSC.
disable the case right now, as it is not a big issue.

* CI: bsc protocol decHandlers

* CI: receipt Bloom process

* 1. skip CheckConfigForkOrder for non-parlia engine
2. all test cases in core work well now
	cd core && go test ./... -v

* fix test cases in trie dir

* CI: no beaconsync in downloader, remove a failed case(redo)

* fix dir miner

* fix dir cmd/geth

* CI: filter test, BaseFee & Finality

* fix dir graphql

* remove diffStore

* fix ethclient

* fix TestRPCGetTransactionReceipt

* fix dir internal

* ut add dir ethstats and signer

* disable pipeCommit thoroughly; fix concurrent map iteration and map write in statedb

* CI: fix snap sync

it could be changed by mistake

* fix tests/Run to generate snapshot

* prepare for merge

* remove useless

* use common hasher in getDeletedStateObject, no race here

* an critical comment for state.Prepare

* do not copy nil accessList

* add omitempty tag for unused new fields of core.Genesis

* remove totalFees

* calculate fees before FinalizeAndAssemble

* revert interface Finalize of consensus

* do not double gas limit upon london block

* use Leveldb as default

* Revert "remove diffStore"

This reverts commit df343b137412b0beb25298a6ba9c3c19e47f20b1.

* Revert "remove diffsync related code"

This reverts commit 8d84b81feae5d794cb5d7fcfdb7f5f7da751941b.

* compile pass after revert

* remove diffsync

* fix dir eth/protocols/trust

* fix TestFastNode

* decHandlers for trust protocol

* keep persist diff in test
2023-09-07 16:39:29 +08:00
..
testutil all: implement path-based state scheme (#25963) 2023-08-01 15:17:32 +03:00
triedb Big merge v1.10.16 v1.12.2 fix ci (#1850) 2023-09-07 16:39:29 +08:00
trienode all: update golang/x/ext and fix slice sorting fallout (#27909) 2023-08-12 00:19:12 +02:00
triestate all: implement path-based state scheme (#25963) 2023-08-01 15:17:32 +03:00
committer.go upstream: Merge tag 'v1.12.2' into develop 2023-08-23 17:46:08 +08:00
database_test.go all: implement path-based state scheme (#25963) 2023-08-01 15:17:32 +03:00
database.go Big merge v1.10.16 v1.12.2 fix ci (#1850) 2023-09-07 16:39:29 +08:00
dummy_trie.go upstream: Merge tag 'v1.12.2' into develop 2023-08-23 17:46:08 +08:00
encoding_test.go all: remove deprecated uses of math.rand (#26710) 2023-02-16 14:36:58 -05:00
encoding.go trie: use stacktrie for Derivesha operation (#21407) 2020-09-29 17:38:13 +02:00
errors.go cmd, core/state, eth, tests, trie: improve state reader (#27428) 2023-06-20 15:31:45 -04:00
hasher.go dep: bump the version of several important library (#1274) 2023-02-02 19:36:37 +08:00
iterator_test.go all: update golang/x/ext and fix slice sorting fallout (#27909) 2023-08-12 00:19:12 +02:00
iterator.go core, trie: rework trie database (#26813) 2023-04-24 10:38:52 +03:00
node_enc.go core, trie: rework trie database (#26813) 2023-04-24 10:38:52 +03:00
node_test.go trie: improve node rlp decoding performance (#25357) 2022-11-18 11:16:03 +08:00
node.go core, trie: rework trie database (#26813) 2023-04-24 10:38:52 +03:00
preimages.go core, trie, eth, cmd: rework preimage store (#25287) 2022-07-27 20:37:04 +02:00
proof_test.go all: update golang/x/ext and fix slice sorting fallout (#27909) 2023-08-12 00:19:12 +02:00
proof.go cmd, core/state, eth, tests, trie: improve state reader (#27428) 2023-06-20 15:31:45 -04:00
secure_trie_test.go upstream: Merge tag 'v1.12.2' into develop 2023-08-23 17:46:08 +08:00
secure_trie.go upstream: Merge tag 'v1.12.2' into develop 2023-08-23 17:46:08 +08:00
stacktrie_test.go all: refactor trie API (#26995) 2023-04-20 06:57:24 -04:00
stacktrie.go core, trie: rework trie database (#26813) 2023-04-24 10:38:52 +03:00
sync_test.go all: implement path-based state scheme (#25963) 2023-08-01 15:17:32 +03:00
sync.go all: use unified emptyRootHash and emptyCodeHash (#26718) 2023-02-21 06:12:27 -05:00
tracer_test.go all: expose block number information to statedb (#27753) 2023-07-24 13:22:09 +03:00
tracer.go all: implement path-based state scheme (#25963) 2023-08-01 15:17:32 +03:00
trie_id.go cmd, core, eth, les, light: track deleted nodes (#25757) 2022-09-27 10:01:02 +02:00
trie_reader.go all: implement path-based state scheme (#25963) 2023-08-01 15:17:32 +03:00
trie_test.go all: implement path-based state scheme (#25963) 2023-08-01 15:17:32 +03:00
trie.go upstream: Merge tag 'v1.12.2' into develop 2023-08-23 17:46:08 +08:00