radicle-contracts icon indicating copy to clipboard operation
radicle-contracts copied to clipboard

Optimize gas usage of attestations

Open cloudhead opened this issue 4 years ago • 0 comments

After testing the storage of the signature component with a bytes32 tuple instead of a byte[64] array, it looks like we can save a lot of gas. This should be investigated more and changed if it makes sense. Another alternative is for the attest function to take the Attestation object as an input, via ABIEncoderV2.

cloudhead avatar Oct 06 '20 11:10 cloudhead