-
Notifications
You must be signed in to change notification settings - Fork 43
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
Add scaffolding for config unpacking #1323
Conversation
Signed-off-by: james-a-morris <[email protected]>
Signed-off-by: Pablo Maldonado <[email protected]>
…o pablo/relayer-config
Signed-off-by: Pablo Maldonado <[email protected]>
Signed-off-by: Pablo Maldonado <[email protected]>
Co-authored-by: James Morris, MS <[email protected]>
Signed-off-by: Pablo Maldonado <[email protected]>
Signed-off-by: Pablo Maldonado <[email protected]>
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
api/relayer-config.ts
Outdated
if (!RelayerFillLimitsSchema.is(message)) { | ||
return response | ||
.status(400) | ||
.json({ message: "Invalid configuration payload" }); | ||
} |
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.
We should assert here - we should only send status in the try catch. See https://github.com/across-protocol/frontend-v2/blob/98f3e618c61607870aabc8a625570481413c955f/api/account-balance.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.
No major blockers
No description provided.