Closed gurukamath closed 5 months ago
Attention: 2237 lines
in your changes are missing coverage. Please review.
Comparison is base (
673ccec
) 69.91% compared to head (af90b66
) 69.87%. Report is 53 commits behind head on forks/cancun.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Rebased the EIP-1153 implementation on the forks/cancun
branch
I think the basic architecture of this PR is wrong.
Firstly
transient_state
is not aState
.State
comes with a lot of extra baggage (disk backing, state root calculating, etc) which doesn't apply to transient storage.
You are right. Not sure how I missed that. Will update
Secondly, transient storage is strictly a transaction scoped rather that block scoped. It is "discarded" at the end of the transaction. It belongs in the
Evm
dataclass with all of the other transaction scoped ephemeral data.
Will look into this.
@petertdavies Updated the PR to include the TransientStorage
class and include an attribute in the transaction scoped EVM
class
What was wrong?
EIP-1153, which is slated for Cancun, is not currently implemented in the specs.
How was it fixed?
Implemented EIP-1153
Cute Animal Picture