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

Fail on transfer error #47

Open
mpeterdev opened this issue Jul 24, 2024 · 0 comments
Open

Fail on transfer error #47

mpeterdev opened this issue Jul 24, 2024 · 0 comments

Comments

@mpeterdev
Copy link
Collaborator

In order to have the transaction fail when a NearPromise for a transfer is created that encounters an error, the NearPromise must be returned from the contract function. We cannot due this in our StorageManagement functions since there is other data required to be returned instead. We need a way to tie into NearPromise failures when using .build()

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

No branches or pull requests

1 participant