[ad_1]
https://ethereum-magicians.org/t/shanghai-candidate-eip-1153-transient-storage/10784
There’s an effort on the a part of good contract devs to get 2 new opcodes into the evm that would unlock so many patterns for higher good contracts. Storage slots (SSTORE/SLOAD) persist all through a transaction (and past) however are very costly to make use of since they basically write knowledge to disk. Reminiscence (MSTORE/MLOAD) is light-weight however doesn’t persist via the decision stack so turns into inaccessible. Transient storage (TSTORE/TLOAD) would enable parameters to be set and skim all through the lifetime of a transaction, all the time accessible, then is deleted on the termination of the transaction, all for a similar gasoline because the reminiscence opcodes. This unlocks the properties of storage with the effectivity of reminiscence.
Please present some assist on eth-magicians if this may assist along with your good contracts! https://ethereum-magicians.org/t/shanghai-candidate-eip-1153-transient-storage/10784
[ad_2]
Source link