forked from TrueCloudLab/frostfs-node
[#1741] neofs-adm: Use ValidUntilBlock
to wait for tx persist
Signed-off-by: Evgenii Stratonikov <evgeniy@morphbits.ru>
This commit is contained in:
parent
5321f8ef9c
commit
4208f7c0cf
4 changed files with 40 additions and 31 deletions
|
@ -312,12 +312,12 @@ func (c *initializeContext) deployContracts() error {
|
|||
return fmt.Errorf("could not create actor: %w", err)
|
||||
}
|
||||
|
||||
txHash, _, err := act.SendCall(mgmtHash, deployMethodName, params...)
|
||||
txHash, vub, err := act.SendCall(mgmtHash, deployMethodName, params...)
|
||||
if err != nil {
|
||||
return fmt.Errorf("can't deploy alphabet #%d contract: %w", i, err)
|
||||
}
|
||||
|
||||
c.Hashes = append(c.Hashes, txHash)
|
||||
c.SentTxs = append(c.SentTxs, hashVUBPair{hash: txHash, vub: vub})
|
||||
}
|
||||
|
||||
for _, ctrName := range contractList {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue