Skip to content

Commit

Permalink
Merge pull request #12 from EOSLaoMao/feature/v2.0.8
Browse files Browse the repository at this point in the history
nodeos updated to v2.0.8
  • Loading branch information
JohnnyZhao authored Feb 5, 2021
2 parents 2e89696 + d63b980 commit 90059ba
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion constant.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
'eosio.wrap',
'eosio.rex',
'eosio.assert']
DOCKER_IMAGE = "eoslaomao/eos:2.0.0-rc1"
DOCKER_IMAGE = "eoslaomao/eos:2.0.8-patch"
BIOS_DOCKER_COMPOSE = """
version: "3"
Expand Down
4 changes: 2 additions & 2 deletions generate.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def generate():
config = config_tmpl.format(bp_name=bp_name, port=port, http_port=http_port, key=keys[i], peers='\n'.join(peers), stale_production='false')
pub = keys[i].split('=')[1]
pri = keys[i].split('=')[2][:3]
cmd = 'system newaccount eosio {bp_name} {pub} {pub} --stake-net "10000.0000 EOS" --stake-cpu "10000.0000 EOS" --buy-ram-kbytes "128000 KiB"'
cmd = 'system newaccount eosio {bp_name} {pub} {pub} --stake-net "10000.0000 EOS" --stake-cpu "10000.0000 EOS" --buy-ram-kbytes "128000"'
account_script.write(cmd_wrapper(cmd.format(pub=pub, bp_name=bp_name)))
cmd = 'system regproducer {bp_name} {pub}'
reg_script.write(cmd_wrapper(cmd.format(pub=pub, bp_name=bp_name)))
Expand Down Expand Up @@ -133,7 +133,7 @@ def generate_voters(prods):
account = 'voter%d' % i
pub = key_pair['Public key']
priv = key_pair['Private key']
cmd = 'system newaccount eosio {bp_name} {pub} {pub} --stake-net "10000.0000 EOS" --stake-cpu "10000.0000 EOS" --buy-ram-kbytes "128000 KiB"'
cmd = 'system newaccount eosio {bp_name} {pub} {pub} --stake-net "10000.0000 EOS" --stake-cpu "10000.0000 EOS" --buy-ram-kbytes "128000"'
account_script.write(cmd_wrapper(cmd.format(pub=pub, bp_name=account)))
cmd = """push action eosio.token issue '{"to":"eosio","quantity":"60000000.0000 EOS","memo":"issue"}' -p eosio"""
cmd = """transfer eosio %s "60000000.0000 EOS" -p eosio""" % account
Expand Down
2 changes: 1 addition & 1 deletion init.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

#Docker image used to generate EOS keys
IMAGE=eoslaomao/eos:2.0.0-rc1
IMAGE=eoslaomao/eos:2.0.8-patch

#Number of block producers, default is 3.
NUM_BPS=${1:-3}
Expand Down

0 comments on commit 90059ba

Please sign in to comment.