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

fix: address contract code size issues #105

Conversation

ChaoticWalrus
Copy link
Contributor

Assorted changes to get the RegistryCoordinator within the contract code size limits.

Note the small fix in 1e27ee5

also reduce memory copying operations (I think, at least) in
the `registerOperator` function
specifically, only copy the `numOperatorsPerQuorum` returned by
the internal `_registerOperator` function
The `operatorId` in this check is already fetched from the `blsApkRegistry`
With the other changes, this return data is no longer necessary at all
I believe this change cuts down on the memory copying being done here
Likely not the ideal fix, but it gets the job done for the moment, at least.
Copy link
Collaborator

@wadealexc wadealexc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@ChaoticWalrus ChaoticWalrus merged commit 05402be into feat-adjust-compendium-for-per-avs-deployment Dec 13, 2023
3 checks passed
@ChaoticWalrus ChaoticWalrus deleted the fix-address-contract-code-size-issues branch December 13, 2023 21:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants