The Ethereum ecosystem has moved on since the current contracts were created, opening avenues for which to explorer for gas optimisation.
Acceptance criteria
Make use of EIP-1153 when possible (TSTORE/TLOAD).
Extensive gas snapshotting and analysis to aid contract development.
Details
The current contracts are built with Solidity v0.7.6, targeting the default evmVersion at the time, which was istanbul. Since istanbul, there have been upgrades / updates to EVM that will enhance gas efficiency, making the contracts more competitive and/or allow for inclusion of additional features with offset gas cost.
Additionally, we should give consideration for upgrade paths where hashing may become more expensive, such as proposed in EIP-7667.
Possible Solutions
Make use of TSTORE / TLOAD:
a. Re-entrancy locks
b. Auction context exposure for callbacks (ie. eip1271 callback and/or HooksTrampoline callbacks)
Problem
The Ethereum ecosystem has moved on since the current contracts were created, opening avenues for which to explorer for gas optimisation.
Acceptance criteria
TSTORE
/TLOAD
).Details
The current contracts are built with Solidity v0.7.6, targeting the default
evmVersion
at the time, which wasistanbul
. Sinceistanbul
, there have been upgrades / updates to EVM that will enhance gas efficiency, making the contracts more competitive and/or allow for inclusion of additional features with offset gas cost.Additionally, we should give consideration for upgrade paths where hashing may become more expensive, such as proposed in EIP-7667.
Possible Solutions
TSTORE
/TLOAD
: a. Re-entrancy locks b. Auction context exposure for callbacks (ie.eip1271
callback and/orHooksTrampoline
callbacks)calldata
Research track