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: validate callBundle params #24

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

Conversation

tiennampham23
Copy link

@tiennampham23 tiennampham23 commented Aug 3, 2023

When we send callBundle requests, the Flashbot specifies certain parameters that are necessary. But when we miss one of these fields, Flashbot will return the error "Internal Error".

It is very hard to debug. So I add some lines of code to validate the parameters following the Flashbot documentation to save a lot of time for other developers who will use this endpoint.

@tiennampham23
Copy link
Author

@metachris PTAL, thanks

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