commit 23c1a40734db21f51a3e58e9b0612a476ad3937b
parent a582b8bc0ed6a03f02ee16b0452b2648c71f3443
Author: lash <dev@holbrook.no>
Date: Fri, 10 Feb 2023 16:42:53 +0000
Remove breaking arg flag in gas cli
Diffstat:
2 files changed, 1 insertion(+), 5 deletions(-)
diff --git a/chainlib/eth/contract.py b/chainlib/eth/contract.py
@@ -440,10 +440,6 @@ class ABIContractEncoder(ABIMethodEncoder):
return contents
- def bytes(self, v):
- l = len(v)
-
-
def bytes_fixed(self, mx, v, exact=0, enforce_word=False):
"""Add arbirary length byte data to value vector.
diff --git a/chainlib/eth/runnable/gas.py b/chainlib/eth/runnable/gas.py
@@ -83,7 +83,7 @@ def process_config_local(config, arg, args, flags):
arg_flags = ArgFlag()
arg = Arg(arg_flags)
-flags = arg_flags.STD_WRITE | arg_flags.WALLET | arg_flags.CREATE | arg_flags.VALUE | arg_flags.TAB
+flags = arg_flags.STD_WRITE | arg_flags.WALLET | arg_flags.VALUE | arg_flags.TAB
argparser = chainlib.eth.cli.ArgumentParser()
argparser = process_args(argparser, arg, flags)