-
Notifications
You must be signed in to change notification settings - Fork 46
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
[frontend] Try to fix API #339
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
}, | ||
"pages/api/v1/cmc/supply.ts": { | ||
"maxDuration": 30 | ||
}, | ||
"pages/api/internal/create_ephemeral_account.ts": { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This one doesn't exist anymore
This reverts commit 26aa610.
], | ||
}, | ||
}) | ||
return response.data.result.map((x: any) => new PublicKey(x.pubkey)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is there a way to paginate the response ? that could be a good fix.
The large volume of new stake accounts has broken the API for the total number of locked tokens.
The goals of this PR are :
api_utils.ts
getAllStakeAccounts
that is more efficientIt still don't works but I think it's in a reviewable state