forked from TrueCloudLab/frostfs-node
[#684] neofs-adm: transfer gas to the proxy contract
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
This commit is contained in:
parent
c78350846a
commit
cf5f8a8f78
3 changed files with 43 additions and 1 deletions
|
@ -138,7 +138,7 @@ func (c *initializeContext) deployContracts() error {
|
|||
}
|
||||
res, err := c.Client.InvokeFunction(mgmtHash, "deploy", params, []transaction.Signer{signer})
|
||||
if err != nil {
|
||||
return fmt.Errorf("can't deploy contract: %w", err)
|
||||
return fmt.Errorf("can't deploy alphabet #%d contract: %w", i, err)
|
||||
}
|
||||
h, err := c.Client.SignAndPushInvocationTx(res.Script, acc, -1, 0, []client.SignerAccount{{
|
||||
Signer: signer,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue