From ddba87a36e5f3fa7dd50947dab2d7830c859aca2 Mon Sep 17 00:00:00 2001 From: nolash Date: Sun, 7 Feb 2021 16:34:06 +0100 Subject: [PATCH] Upgrade signer --- python/giftable_erc20_token/runnable/deploy.py | 9 +-------- python/setup.cfg | 4 ++-- 2 files changed, 3 insertions(+), 10 deletions(-) diff --git a/python/giftable_erc20_token/runnable/deploy.py b/python/giftable_erc20_token/runnable/deploy.py index fcbaccd..5462b8e 100644 --- a/python/giftable_erc20_token/runnable/deploy.py +++ b/python/giftable_erc20_token/runnable/deploy.py @@ -15,7 +15,6 @@ import argparse import logging import time from enum import Enum -import uuid # third-party imports import web3 @@ -89,15 +88,9 @@ def main(): f.close() c = w3.eth.contract(abi=abi, bytecode=bytecode) - tx = c.constructor(args.n, args.s, args.d).buildTransaction - uu = str(uuid.uuid4()) - f = open(os.path.join('txs', uu), 'w') - f.write(str(tx())) - f.close() - logg.info('saved to {}'.format(uu)) (tx_hash, rcpt) = helper.sign_and_send( [ - tx, + c.constructor(args.n, args.s, args.d).buildTransaction ], force_wait=True, ) diff --git a/python/setup.cfg b/python/setup.cfg index 2aaf9ac..c10fc45 100644 --- a/python/setup.cfg +++ b/python/setup.cfg @@ -1,6 +1,6 @@ [metadata] name = giftable-erc20-token -version = 0.0.7b6 +version = 0.0.7b8 description = Simple ERC20 contract with deployment script that lets any address mint and gift itself tokens. author = Louis Holbrook author_email = dev@holbrook.no @@ -28,7 +28,7 @@ packages = giftable_erc20_token.runnable install_requires = web3==5.12.2 - crypto-dev-signer~=0.4.13rc1 + crypto-dev-signer~=0.4.13rc2 [options.package_data] * =