sstore2
sstore2 copied to clipboard
Faster & cheaper contract key-value storage for Ethereum Contracts
i noticed that the gas cost of creationCodeFor for ~1500 bytes is ~7.2k gas i'm assuming this is due to the 2x abi.encodePacked calls that would be allocating and building...
Changes to `contracts/utils/Bytecode.sol`: - `creationCodeFor` has been changed to use `PUSH2` instead of `PUSH4` since there is a max contract size limit of `24576 bytes` which is less than `2^16...
``` Parameter SSTORE2.write(bytes)._data (contracts/sstore2/SSTORE2.sol#22) is not in mixedCase Parameter SSTORE2.read(address)._pointer (contracts/sstore2/SSTORE2.sol#45) is not in mixedCase Parameter SSTORE2.read(address,uint256)._pointer (contracts/sstore2/SSTORE2.sol#57) is not in mixedCase Parameter SSTORE2.read(address,uint256)._start (contracts/sstore2/SSTORE2.sol#57) is not in mixedCase Parameter...
I am trying `yarn add -D https://github.com/0xsequence/sstore2` but receiving the following error: ``` error An unexpected error occurred: "ENOENT: no such file or directory, open '/Users/clementwalter/Library/Caches/Yarn/v6/npm-@0xsequence-create3-3.0.0-606096fd114f8996131c0b395a3b42625c3cab47/node_modules/@0xsequence/create3/.yarn-tarball.tgz'". ``` I tried removing...
Howdy! @ryley-o and I are team members over at Art Blocks, where we've been working on adding some of the fancier gas savings techniques re: storage, influenced by this SSTORE2...
Given that this `sstore2` library was one of the initial reference points for the [`BytecodeStorage`](https://github.com/ArtBlocks/artblocks-contracts/blob/main/contracts/libs/0.8.x/BytecodeStorage.sol) library that we developed at Art Blocks, I wanted to file this issue as a...
It would be useful