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

Update index.js #825

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

Crypto2099
Copy link

Update extension/index.js to account for the fact that Blockfrost page limit is set to a maximum of 100. Providing a larger integer value to paginate.limit results in an error to the user.

Update extension/index.js to account for the fact that Blockfrost page limit is set to a maximum of 100. Providing a larger integer value to paginate.limit results in an error to the user.
@Crypto2099
Copy link
Author

The rationale here being that other wallet providers may allow for a greater page limit than 100 and dApp developers should not need to analyze which wallet they are connected to in order to determine that wallet's page limit. So, if a value > Blockfrost limit is supplied, cap it to Blockfrost limit.

Copy link

sonarcloud bot commented Mar 5, 2024

Quality Gate Failed Quality Gate failed

Failed conditions
B Maintainability Rating on New Code (required ≥ A)

See analysis details on SonarCloud

Catch issues before they fail your Quality Gate with our IDE extension SonarLint

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.

1 participant