EAS v1.2.0: gas optimizations, minor improvements and fixes, and some typo and...
EAS v1.2.0: gas optimizations, minor improvements and fixes, and some typo and NATSPEC fixes (#7094) * Add an index and the schema record data to the Registered event * Gas Optimization: Cache resolver.isPayable() external call * Add extra multiRequest.data.length == 0 validation * Gas Gas Optimization: Cache Revoked event arguments * Make sure to refund the attester/revoker in case of non-last attestation/revocation and where there is no resolver * Gas Optimization: cache loop iteration lengths * Gas Optimization: optimize _resolveAttestation() and _resolveAttestations() * Fix missing Natspec, renaming variables, and incorrect comments * Add explicit deadline to delegated attestation/revocation requests * Provide an option for users to invalidate nonces by increasing their nonces to (higher) new values * Add extra input length validation in multiRevoke and multiAttest functions * Updates sample usage in comments * Capture the payment amount in signatures * Bump version * Emit NonceIncreased event when users increase their nonces * Make delegate attestation deadline inclusive + handle prevent nonce overflow due to user error * Minor fix * Update bindings * Fix lint * Lock semver * Add an index and the schema record data to the Registered event * Gas Optimization: Cache resolver.isPayable() external call * Add extra multiRequest.data.length == 0 validation * Gas Gas Optimization: Cache Revoked event arguments * Make sure to refund the attester/revoker in case of non-last attestation/revocation and where there is no resolver * Gas Optimization: cache loop iteration lengths * Gas Optimization: optimize _resolveAttestation() and _resolveAttestations() * Fix missing Natspec, renaming variables, and incorrect comments * Add explicit deadline to delegated attestation/revocation requests * Provide an option for users to invalidate nonces by increasing their nonces to (higher) new values * Add extra input length validation in multiRevoke and multiAttest functions * Updates sample usage in comments * Capture the payment amount in signatures * Bump version * Emit NonceIncreased event when users increase their nonces * Make delegate attestation deadline inclusive + handle prevent nonce overflow due to user error * Minor fix * Update bindings * Fix lint * Lock semver
Showing
This source diff could not be displayed because it is too large. You can view the blob instead.
Please register or sign in to comment