Anton Bukov
Anton Bukov
What do you think of adding runtime function to compute hash of the exact struct entity: ```solidity State memory state; type(State).hashStruct(state); ```
@hrkrshnn done: https://github.com/ethereum/solidity/issues/14208
Wen merge @hrkrshnn? đ
Why not use CocoaPods for libraries?
@kilic I meant it could be used for `mul2048()`
@kilic also you could try to use `uint256[8]` instead of `bytes` it is stored similar way but without length prefix.
@frangio if your contract is performing token approve and expecting to spend it later in the same transaction This `forceApprove` is the cheapest way to do so without any allowance...
@frangio I think it depends on the situation. If developer is going to spend this approve in the same transaction, then yes, I would recommend to use it. If this...
@frangio I think smart contract wallets will be able to let receiver claim their tokens without performing transaction. In case of permit to other wallet (EOA or SC).
BTW Uniswapâs permit2 supports EIP1271: https://github.com/Uniswap/permit2/blob/ca6b6ff2b47afc2942f3c67b0d929ca4f0b32631/src/libraries/SignatureVerification.sol#L43