Handle blockchain transaction failures #522

Closed
opened 2024-10-22 16:21:36 +00:00 by vdomnich-yadro · 1 comment
Member

FrostFSID contract now provides Waiter method for awaiting transactions to enter blockchain. It allows to ensure that a transaction entered a block successfully (with a HALT status). It would be nice to leverage these capabilities in s3 gateway in places where we wait transactions in contract clients.

Authmate

Modify register-user command to init contract clients with waiter options that raise an error if transaction enters blockchain in FAILED state.

Gateway

Init contract clients with waiter options that raise an error if transaction enters blockchain in FAILED state.

FrostFSID contract now [provides Waiter method](https://git.frostfs.info/TrueCloudLab/frostfs-contract/issues/120) for awaiting transactions to enter blockchain. It allows to ensure that a transaction entered a block successfully (with a HALT status). It would be nice to leverage these capabilities in s3 gateway in places where we wait transactions in contract clients. ## Authmate Modify `register-user` command to init contract clients with waiter options that raise an error if transaction enters blockchain in `FAILED` state. ## Gateway Init contract clients with waiter options that raise an error if transaction enters blockchain in `FAILED` state.
Author
Member

Closed in #523

Closed in https://git.frostfs.info/TrueCloudLab/frostfs-s3-gw/pulls/523
alexvanin added this to the v0.31.0 milestone 2024-11-20 12:12:09 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: TrueCloudLab/frostfs-s3-gw#522
No description provided.