go-ethereum/core
Nazarii Denha 3592139384
(feat)all: add EIP-1153 - transient storage (#721)
* all: implement EIP-1153 transient storage (#26003)

Implements TSTORE and TLOAD as specified by the following EIP:

https://eips.ethereum.org/EIPS/eip-1153
https://ethereum-magicians.org/t/eip-1153-transient-storage-opcodes/553

Co-authored-by: Sara Reynolds <snreynolds2506@gmail.com>
Co-authored-by: Martin Holst Swende <martin@swende.se>
Co-authored-by: Gary Rong <garyrong0905@gmail.com>

* core/vm: move TSTORE,TLOAD to correct opcode nums (#27613)

* core/vm: move TSTORE,TLOAD to correct opcode nums

* core/vm: cleanup

* fix tests, rename

* goimports

* enable 1153 at Curie

* bump version

* comment fix

* improve test

* version

* testchainconfig

* fix another test that affects newly added

* fix previous test to clenaup after

---------

Co-authored-by: Mark Tyneway <mark.tyneway@gmail.com>
Co-authored-by: Sara Reynolds <snreynolds2506@gmail.com>
Co-authored-by: Martin Holst Swende <martin@swende.se>
Co-authored-by: Gary Rong <garyrong0905@gmail.com>
Co-authored-by: Marius van der Wijden <m.vanderwijden@live.de>
2024-04-28 15:59:26 +08:00
..
asm Update mod file and all imports to use scroll-tech URL (#15) 2021-12-24 10:59:22 +01:00
bloombits Update mod file and all imports to use scroll-tech URL (#15) 2021-12-24 10:59:22 +01:00
forkid Update mod file and all imports to use scroll-tech URL (#15) 2021-12-24 10:59:22 +01:00
rawdb fix: ensure L1 messages are stored in db consistently (#679) 2024-03-26 14:02:03 +00:00
state (feat)all: add EIP-1153 - transient storage (#721) 2024-04-28 15:59:26 +08:00
types feat: update upcoming fork names (#680) 2024-03-26 14:41:32 +00:00
vm (feat)all: add EIP-1153 - transient storage (#721) 2024-04-28 15:59:26 +08:00
.gitignore Renamed chain => core 2014-12-04 10:28:02 +01:00
bench_test.go feat: add mux tracer for native call tracer and native prestate tracers (#615) 2024-01-18 14:58:27 +08:00
block_validator.go feat: add metrics to block validation (#677) 2024-03-27 16:36:08 +00:00
block_validator_test.go feat: add mux tracer for native call tracer and native prestate tracers (#615) 2024-01-18 14:58:27 +08:00
blockchain.go feat: add block time metric (#707) 2024-04-18 11:25:03 +08:00
blockchain_insert.go Update mod file and all imports to use scroll-tech URL (#15) 2021-12-24 10:59:22 +01:00
blockchain_reader.go feat: add replay blockResult API (#139) 2022-09-20 14:30:57 +08:00
blockchain_repair_test.go feat: add mux tracer for native call tracer and native prestate tracers (#615) 2024-01-18 14:58:27 +08:00
blockchain_sethead_test.go feat: add mux tracer for native call tracer and native prestate tracers (#615) 2024-01-18 14:58:27 +08:00
blockchain_snapshot_test.go feat: add mux tracer for native call tracer and native prestate tracers (#615) 2024-01-18 14:58:27 +08:00
blockchain_test.go (feat)all: add EIP-1153 - transient storage (#721) 2024-04-28 15:59:26 +08:00
blocks.go Update mod file and all imports to use scroll-tech URL (#15) 2021-12-24 10:59:22 +01:00
bloom_indexer.go Update mod file and all imports to use scroll-tech URL (#15) 2021-12-24 10:59:22 +01:00
chain_indexer.go Update mod file and all imports to use scroll-tech URL (#15) 2021-12-24 10:59:22 +01:00
chain_indexer_test.go Update mod file and all imports to use scroll-tech URL (#15) 2021-12-24 10:59:22 +01:00
chain_makers.go (feat)all: add EIP-1153 - transient storage (#721) 2024-04-28 15:59:26 +08:00
chain_makers_test.go feat: add mux tracer for native call tracer and native prestate tracers (#615) 2024-01-18 14:58:27 +08:00
dao_test.go feat: add mux tracer for native call tracer and native prestate tracers (#615) 2024-01-18 14:58:27 +08:00
error.go feat(block_validator): check payload size during block validation (#322) 2023-05-24 15:23:57 +02:00
events.go feat: Sync and relay L1 messages (#350) 2023-06-07 07:24:19 -07:00
evm.go fix: use FeeVault address in the EVM BlockContext (#473) 2023-08-19 14:01:14 +02:00
gaspool.go miner: avoid unnecessary work (#15883) 2018-01-15 12:57:06 +02:00
gen_genesis.go set BaseFee to nil (#222) 2023-02-20 22:04:55 -08:00
gen_genesis_account.go Update mod file and all imports to use scroll-tech URL (#15) 2021-12-24 10:59:22 +01:00
genesis.go feat: update upcoming fork names (#680) 2024-03-26 14:41:32 +00:00
genesis_alloc.go feat: update network configuration (#533) 2023-10-08 16:03:41 +02:00
genesis_test.go feat: add mux tracer for native call tracer and native prestate tracers (#615) 2024-01-18 14:58:27 +08:00
headerchain.go Add goimports lint (#54) 2022-03-24 16:53:59 +08:00
headerchain_test.go Update mod file and all imports to use scroll-tech URL (#15) 2021-12-24 10:59:22 +01:00
mkalloc.go style: revert some formatting (#294) 2023-04-20 17:49:35 +08:00
rlp_test.go Add goimports lint (#54) 2022-03-24 16:53:59 +08:00
state_prefetcher.go (feat)all: add EIP-1153 - transient storage (#721) 2024-04-28 15:59:26 +08:00
state_processor.go (feat)all: add EIP-1153 - transient storage (#721) 2024-04-28 15:59:26 +08:00
state_processor_test.go (feat)core/vm: Add Upgrade #4 fork configuration (#698) 2024-04-24 18:01:47 +08:00
state_transition.go (feat)all: add EIP-1153 - transient storage (#721) 2024-04-28 15:59:26 +08:00
tx_cacher.go Update mod file and all imports to use scroll-tech URL (#15) 2021-12-24 10:59:22 +01:00
tx_journal.go Update mod file and all imports to use scroll-tech URL (#15) 2021-12-24 10:59:22 +01:00
tx_list.go fix: Check L1DataFee in txpool promoteExecutables and demoteUnexecutables (#627) 2024-03-27 15:31:51 +00:00
tx_list_test.go fix: Check L1DataFee in txpool promoteExecutables and demoteUnexecutables (#627) 2024-03-27 15:31:51 +00:00
tx_noncer.go Update mod file and all imports to use scroll-tech URL (#15) 2021-12-24 10:59:22 +01:00
tx_pool.go fix(txpool): rollback false optimization (#694) 2024-04-08 10:13:43 +08:00
tx_pool_test.go feat: update l1fee calculation (#351) 2023-06-13 10:57:59 +08:00
types.go feat: add mux tracer for native call tracer and native prestate tracers (#615) 2024-01-18 14:58:27 +08:00