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

Export get committed functions #38

Merged
merged 1 commit into from
Oct 3, 2024

Conversation

goran-ethernal
Copy link
Collaborator

We need to export two functions for relayer:
getCommittedBatch - returns the committed batch by batch id.
getCommittedValidatorSet - returns the committed validator set.

This is needed because we can not use the exported mappings since solidity compiler does not generate the signature field in the Signed structures if that struct is not used in any function. This is done because of solidity optimizations if that structure is not used in any function.

@goran-ethernal goran-ethernal self-assigned this Oct 3, 2024
@goran-ethernal goran-ethernal changed the base branch from main to feat/bridge October 3, 2024 08:56
@goran-ethernal goran-ethernal force-pushed the export-getCommitted-functions branch from 5d08f99 to f28edeb Compare October 3, 2024 08:58
@goran-ethernal goran-ethernal merged commit df3d966 into feat/bridge Oct 3, 2024
7 checks passed
@goran-ethernal goran-ethernal deleted the export-getCommitted-functions branch October 3, 2024 09:03
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