Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

♻️ Use Interface Events #248

Merged
merged 3 commits into from
May 27, 2024
Merged

Conversation

pcaversaccio
Copy link
Owner

@pcaversaccio pcaversaccio commented May 24, 2024

🕓 Changelog

Using directly interface events leads to a cleaner code structure, i.e. they do not have to be redefined in a module contract. In addition, we adjust the upper bound for the batch calls in the erc1155 contract to 128 (and an uint8 type), reduce the upper bound for the return value of eip712Domain to 32, and implement a constant parameter _DYNARRAY_BOUND for the dynamic arrays in the merkle_proof_verification contract.

🐶 Cute Animal Picture

image

Signed-off-by: Pascal Marco Caversaccio <pascal.caversaccio@hotmail.ch>
Signed-off-by: Pascal Marco Caversaccio <pascal.caversaccio@hotmail.ch>
@pcaversaccio pcaversaccio added the refactor/cleanup ♻️ Code refactorings and cleanups label May 24, 2024
@pcaversaccio pcaversaccio added this to the 0.1.0 milestone May 24, 2024
@pcaversaccio pcaversaccio self-assigned this May 24, 2024
Signed-off-by: Pascal Marco Caversaccio <pascal.caversaccio@hotmail.ch>
@pcaversaccio pcaversaccio added the optimisation ⚡️ Code optimisations (e.g. gas improvements) label May 27, 2024
@pcaversaccio pcaversaccio merged commit acee070 into modules May 27, 2024
13 checks passed
@pcaversaccio pcaversaccio deleted the refactor/interface-events branch May 27, 2024 09:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
optimisation ⚡️ Code optimisations (e.g. gas improvements) refactor/cleanup ♻️ Code refactorings and cleanups
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant