[#105] Change common ACL constants

Signed-off-by: Elizaveta Chichindaeva <elizaveta@nspcc.ru>
This commit is contained in:
Elizaveta Chichindaeva 2021-12-16 09:51:26 +03:00
parent da64379eef
commit 38e6776fc1
32 changed files with 331 additions and 289 deletions

View file

@ -706,7 +706,7 @@ def delete_container(cid: str, private_key: str):
deleteContainerCmd = (
f'{NEOFS_CLI_EXEC} --rpc-endpoint {NEOFS_ENDPOINT} --wif {private_key} '
f'container delete --cid {cid} --await'
f'container delete --cid {cid}'
)
logger.info(f"Cmd: {deleteContainerCmd}")
_cmd_run(deleteContainerCmd)

View file

@ -11,6 +11,7 @@ from neo3 import wallet
from common import *
import rpc_client
import contract
from wrappers import run_sh_with_passwd_contract
ROBOT_AUTO_KEYWORDS = False
@ -29,7 +30,7 @@ def withdraw_mainnet_gas(wallet: str, address: str, scripthash: str, amount: int
)
logger.info(f"Executing command: {cmd}")
out = _run_sh_with_passwd('', cmd)
out = (run_sh_with_passwd_contract('', cmd, expect_confirmation=True)).decode('utf-8')
logger.info(f"Command completed with output: {out}")
m = re.match(r'^Sent invocation transaction (\w{64})$', out)
if m is None: