go-pulse/tests
Martin Holst Swende c1d5a012ea
core/state, tests: fix memory leak via fastcache (#28387)
This change fixes a memory leak, when running either state-tests or blockchain-tests, we allocate a `1MB` fastcache during snapshot generation. `fastcache` is a bit special, and requires a `Reset()` (it has it's own memory allocator). 

The `1MB` was hidden [here](https://github.com/ethereum/go-ethereum/blob/master/tests/state_test_util.go#L333) and [here](https://github.com/ethereum/go-ethereum/blob/master/tests/block_test_util.go#L146) respectively.
2023-10-20 13:35:49 +02:00
..
evm-benchmarks@d8b88f4046 tests: update evm-benchmarks (#26255) 2022-11-28 11:13:41 +01:00
fuzzers tests/fuzzers: update fuzzers to be based on go-native fuzzing (#28352) 2023-10-18 15:01:16 +02:00
solidity all: update license headers and AUTHORS from git history (#24947) 2022-05-24 20:39:40 +02:00
testdata@ee3fa4c86d core, tests: EIP-4844 transaction processing logic (#27721) 2023-07-15 23:27:36 +02:00
block_test_util.go build, tests: add execution-spec-tests (#26985) 2023-08-26 15:42:27 +02:00
block_test.go tests: update execution-spec-tests to 1.0.5 (#28337) 2023-10-16 20:10:05 +02:00
difficulty_test_util.go all: add whitespace linter (#25312) 2022-07-25 13:14:03 +03:00
difficulty_test.go params: remove EIP150Hash from chainconfig (#27087) 2023-04-18 03:49:09 -04:00
gen_btheader.go build, tests: add execution-spec-tests (#26985) 2023-08-26 15:42:27 +02:00
gen_difficultytest.go all: simplify timestamps to uint64 (#19372) 2019-04-02 23:28:48 +03:00
gen_stenv.go build: add imports for go generate tools (#24682) 2022-04-12 20:24:02 +02:00
gen_sttransaction.go tests: use 'sender' in state tests if present (#28023) 2023-08-29 04:36:10 +02:00
init_test.go build, tests: add execution-spec-tests (#26985) 2023-08-26 15:42:27 +02:00
init.go build, tests: add execution-spec-tests (#26985) 2023-08-26 15:42:27 +02:00
rlp_test_util.go internal,tests: replace noarg fmt.Errorf with errors.New (#27335) 2023-05-25 02:54:28 -04:00
rlp_test.go tests: get test name from testing.T (#22941) 2021-05-25 22:47:14 +02:00
state_test_util.go core/state, tests: fix memory leak via fastcache (#28387) 2023-10-20 13:35:49 +02:00
state_test.go all: activate pbss as experimental feature (#26274) 2023-08-10 22:21:36 +03:00
transaction_test_util.go core/vm: implement EIP-3860: Limit and meter initcode (#23847) 2023-01-11 04:05:47 -05:00
transaction_test.go tests: get test name from testing.T (#22941) 2021-05-25 22:47:14 +02:00