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

Consider having the Error Validation Layer return metadata on the actual transfer. #233

Open
TarikGul opened this issue Aug 1, 2023 · 0 comments
Labels
Discussion Up for discussion

Comments

@TarikGul
Copy link
Member

TarikGul commented Aug 1, 2023

Currently our error validation layer just does a bunch of checks based on specific inputs and will either error, or do nothing. This is a really great step in our process as it protects the user from making mistakes when constructing their transaction.
It could be very useful to bundle any information we either fetch, or perform some complex logic to receive, and then save that to some localized metadata object, and return it. We might be able to utilize that metadata to either:

a) Increase performance where we may repeat certain functionality.
b) Return more information to the user that may be valuable.
c) Increase capacity for more accurate debugging.

@TarikGul TarikGul added the Discussion Up for discussion label Aug 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Discussion Up for discussion
Projects
None yet
Development

No branches or pull requests

1 participant