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

Feat/protocol kit/get modules paginated #774

Merged
merged 9 commits into from
Apr 18, 2024

Conversation

leonardotc
Copy link
Contributor

@leonardotc leonardotc commented Apr 15, 2024

What it solves

Resolves #607
getModules returns a fixed number of Modules that would potentialy truncate the output list of addresses.

How this PR fixes it

Add getModulesPaginated from smart contract to versions that support it.
Add a function that uses getModules in the background for those contract versions that don't support it.

@leonardotc leonardotc linked an issue Apr 15, 2024 that may be closed by this pull request
@coveralls
Copy link

coveralls commented Apr 15, 2024

Pull Request Test Coverage Report for Build 8690631287

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 74.502%

Totals Coverage Status
Change from base Build 8686829311: 0.0%
Covered Lines: 481
Relevant Lines: 597

💛 - Coveralls

@dasanra dasanra changed the base branch from main to development April 15, 2024 09:17
@leonardotc leonardotc force-pushed the feat/protocol-kit/getModulesPaginated branch from 7fd6ca8 to e02c02c Compare April 15, 2024 11:16
@leonardotc leonardotc merged commit 71fa34a into development Apr 18, 2024
15 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Apr 18, 2024
@dasanra dasanra deleted the feat/protocol-kit/getModulesPaginated branch May 7, 2024 09:30
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

getModules returns at most 10 modules.
3 participants