Skip to content

[EAN-Issue-2528] Updated supra-contract bindings to meat registry state viewer requirements#17

Open
aregng wants to merge 2 commits intofeature/evm_automationfrom
task/issue-2528
Open

[EAN-Issue-2528] Updated supra-contract bindings to meat registry state viewer requirements#17
aregng wants to merge 2 commits intofeature/evm_automationfrom
task/issue-2528

Conversation

@aregng
Copy link

@aregng aregng commented Feb 18, 2026

@aregng aregng requested a review from sjoshisupra February 18, 2026 18:06
Comment on lines +210 to +213
result = new uint64[](length);
for (uint256 i = 0; i < length; i++) {
result[i] = uint64(EnumerableSet.at(set, i));
}

Choose a reason for hiding this comment

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

This might be slower, use EnumerableSet.values(set) that provides an array of all values directly. @aregng

Copy link
Author

Choose a reason for hiding this comment

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

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