Closed
Description
Component
Delta accounting
Describe the suggested feature and problem it solves.
The only user of _computeSlot, _accountDelta, computes it twice from the same parameters. The first time is in currency.getDelta. The second time is in setDelta.
While SHA3 is fairly cheap now there are plans to make it 10x more expensive.
Describe the desired implementation.
reuse the _computeSlot calculation for both TLOAD and TSTORE.
Describe alternatives.
No response