You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not too long ago I contributed some optimizations including adding a calldata compression function to the packages/contracts/src/EmailWalletCore.sol contract. However this is not being used yet.
Not exactly sure how you'd do this as I'm not familiar with your backend / ether-rs but this can probably be achieved with a custom middleware that feeds all calldata through the function if you're on the right chain and calling the right contract.
The text was updated successfully, but these errors were encountered:
Not too long ago I contributed some optimizations including adding a calldata compression function to the
packages/contracts/src/EmailWalletCore.sol
contract. However this is not being used yet.To do so you need to add something in the backend that passes calldata through the following compression function (implemented in Solidity): https://github.com/Vectorized/solady/blob/main/src/utils/LibZip.sol#L171-L210. You can either re-implement it in Rust or try to run the code in your backend.
Not exactly sure how you'd do this as I'm not familiar with your backend / ether-rs but this can probably be achieved with a custom middleware that feeds all calldata through the function if you're on the right chain and calling the right contract.
The text was updated successfully, but these errors were encountered: