4788asm icon indicating copy to clipboard operation
4788asm copied to clipboard

feat: Huff implementation

Open clabby opened this issue 2 years ago • 0 comments

Overview

Adds an implementation of the 4788 contract in Huff language.

Optimizations:

  • -4 gas on a storage operation
  • -1 gas on a reading operation
  • Reduces the runtime code size by 2 bytes in comparison with the current ETK impl in main.

Screenshot 2023-08-08 at 1 59 28 PM

Can possibly do away with the calldatasize check before loading the timestamp safely, unless the spec calls for an explicit revert on that condition.

clabby avatar Aug 08 '23 01:08 clabby