Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/transient storage opcodes #486

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

mprishchepo
Copy link

all: implement EIP-1153 transient storage Implements TSTORE and TLOAD as specified by the following EIP:

It is necessary to activate this functionality by commenting out the line (line 73) in the core/vm/jump_table.go file.

There is no additional standard EIP-4399 (prerandao) in the implementation, since there is no need to track the implementation without PoS in the go-opera system.

@rus-alex
Copy link
Contributor

rus-alex commented Jul 17, 2023

Looks like the changes are incomplete

go test ./evmcore/...
# github.com/Fantom-foundation/go-opera/evmcore [github.com/Fantom-foundation/go-opera/evmcore.test]
evmcore/chain_makers.go:94:12: b.statedb.SetTxContext undefined (type *state.StateDB has no field or method SetTxContext)
evmcore/state_prefetcher.go:69:11: statedb.SetTxContext undefined (type *state.StateDB has no field or method SetTxContext)
evmcore/state_processor.go:82:11: statedb.SetTxContext undefined (type *state.StateDB has no field or method SetTxContext)
evmcore/state_transition.go:285:11: st.state.Prepare undefined (type vm.StateDB has no field or method Prepare)
FAIL    github.com/Fantom-foundation/go-opera/evmcore [build failed]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants