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

Throw an error when sender does not exists on the ledger #4647

Open
peterjah opened this issue Feb 15, 2024 · 0 comments · May be fixed by #4652
Open

Throw an error when sender does not exists on the ledger #4647

peterjah opened this issue Feb 15, 2024 · 0 comments · May be fixed by #4652
Assignees
Labels
api Issues related to the API enhancement New feature or request smart-contracts Issue related to the smart contract world

Comments

@peterjah
Copy link

Is your feature request related to a problem? Please describe.
When sending an operation to the node where the sender does not exists on the ledger (i.e it has not received MAS). The node returns an operationId, an the operation is ignored.

Describe the solution you'd like
If the sender does not exists, return an error instead of an operationId, so the client can handle the error, instead of waiting for an operation that will never be included

Exemple use case:
I am sending some token to a fresh wallet, and i try to swap it...

@Leo-Besancon Leo-Besancon self-assigned this Feb 22, 2024
@Leo-Besancon Leo-Besancon linked a pull request Feb 22, 2024 that will close this issue
8 tasks
@AurelienFT AurelienFT added enhancement New feature or request api Issues related to the API smart-contracts Issue related to the smart contract world labels Mar 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api Issues related to the API enhancement New feature or request smart-contracts Issue related to the smart contract world
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants