Implement Waiter method on contract clients #120
Labels
No labels
P0
P1
P2
P3
good first issue
Infrastructure
blocked
bug
config
discussion
documentation
duplicate
enhancement
go
help wanted
internal
invalid
kludge
observability
perfomance
question
refactoring
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: TrueCloudLab/frostfs-contract#120
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Is your feature request related to a problem? Please describe.
Current implementation of Wait method in frostfsid client awaits for transaction to enter blockchain. However, it does not ensure that transaction entered blockchain with successful result. Checking transaction result in application code is not efficient: easy to overlook, code gets cumbersome. Solution (as we discussed it) is described below.
Describe the solution you'd like
It would be convenient if clients provided Waiter method that returns implementation of the
Waiter
interface from neo-go. Implementation can be configured with options:already exists
error should be ignored or not.Describe alternatives you've considered
Additional context
Closed in #121