Igor Żuk

Results 110 comments of Igor Żuk

I can confirm that the issue is still present in 0.9.5. This affects not only the storage variables initialization, but also immutables and constants: ```solidity // SPDX-License-Identifier: UNLICENSED pragma solidity...

> The idea for the library was to provide a different alternative to the hashing option. That is dependent on the hash implementation versus having computation done on each of...

Keccak works in-place, on an arbitrary memory range, check https://www.evm.codes. The scratch space is used mostly for calculating the storage slot indexes, because it involves repeated hashing of pairs of...

> With this being said, if the lengths do not match, my function is O(1) and performs better than the Keccak counterpart in any case. From the very first proposed...

> share the test code with me so I could debug It's the code I shared above, just run it with `forge test -vv` and see which cases print `DIFFERENT...

I found the bug. In `equal_nonAligned` `numTailBytes` should never be 0, for cases where it is, it should be set to 32. This is because `endMinusWord` always leaves 1-32 unchecked...

You may be interested in this comment: https://github.com/ZeframLou/create3-factory/issues/4#issuecomment-1640992276

This would be awesome, but it's impossible, either the private key is published and anybody can waste its 0 nonce on an unimportant transaction, or all possible future transactions are...

The deterministically deployed CREATE3Factory is `0x6aa3d87e99286946161dca02b97c5806fc5ed46f`, regardless of the chain or who deployed it (e.g. https://etherscan.io/address/0x6aa3d87e99286946161dca02b97c5806fc5ed46f). Anybody can deploy it on any chain for everybody to use, as long as...

I don't know, probably not. You can deploy it yourself if you need it (of course if zkSync is EVM-compatible enough).