trie : use trie.NewStackTrie instead of new(trie.Trie) (#22246)
The PR makes use of the stacktrie, which is is more lenient on resource consumption, than the regular trie, in cases where we only need it for DeriveSha
Showing
- cmd/evm/internal/t8ntool/execution.go 2 additions, 2 deletionscmd/evm/internal/t8ntool/execution.go
- consensus/clique/clique.go 1 addition, 1 deletionconsensus/clique/clique.go
- consensus/ethash/consensus.go 1 addition, 1 deletionconsensus/ethash/consensus.go
- core/blockchain_test.go 2 additions, 2 deletionscore/blockchain_test.go
- core/genesis.go 1 addition, 1 deletioncore/genesis.go
- core/state_processor_test.go 1 addition, 1 deletioncore/state_processor_test.go
- core/tx_pool_test.go 1 addition, 1 deletioncore/tx_pool_test.go
- eth/fetcher/block_fetcher.go 1 addition, 1 deletioneth/fetcher/block_fetcher.go
- eth/fetcher/block_fetcher_test.go 1 addition, 1 deletioneth/fetcher/block_fetcher_test.go
- les/odr_requests.go 2 additions, 2 deletionsles/odr_requests.go
- miner/miner_test.go 1 addition, 1 deletionminer/miner_test.go
- miner/worker.go 1 addition, 1 deletionminer/worker.go
Loading
Please register or sign in to comment