Skip to content

Instantly share code, notes, and snippets.

@TOMOAKI12345
Created June 20, 2015 18:05
Show Gist options
  • Save TOMOAKI12345/35b30d27549366bccd47 to your computer and use it in GitHub Desktop.
Save TOMOAKI12345/35b30d27549366bccd47 to your computer and use it in GitHub Desktop.
pyepm
pyepm -r localhost -p 8545 contracts/EtherEx.yaml
PyEPM 0.9.12
=====
Deploying contracts/EtherEx.yaml...
Loading contracts/EtherEx.yaml...
Parsing contracts/EtherEx.yaml...
set:
deploy:
Deploying contracts/etherex.se...
Contract will be available at 0x8b5ae8b82eb93b4927b301dbaa8180c188d7d32f
Waiting for contract at 0x8b5ae8b82eb93b4927b301dbaa8180c188d7d32f. took 1s
Waiting for next block to be mined..................................... Ready! Mining took 38s
Replacing $EtherEx with 0x8b5ae8b82eb93b4927b301dbaa8180c188d7d32f (1)
deploy:
Deploying contracts/namereg.se...
Contract will be available at 0x038138ac3e26df88b0d24e67e616b9baaabfedc2
Waiting for contract at 0x038138ac3e26df88b0d24e67e616b9baaabfedc2. took 1s
Waiting for next block to be mined. Ready! Mining took 1s
Replacing $OwnNameReg with 0x038138ac3e26df88b0d24e67e616b9baaabfedc2 (4)
deploy:
Deploying contracts/etx.se...
Contract will be available at 0xca75fe7e30046679eaaf9eeba9dd1591ef676a49
Waiting for contract at 0xca75fe7e30046679eaaf9eeba9dd1591ef676a49.... took 4s
Waiting for next block to be mined. Ready! Mining took 1s
Replacing $ETX with 0xca75fe7e30046679eaaf9eeba9dd1591ef676a49 (1)
deploy:
Deploying contracts/etx.se...
Contract will be available at 0x153bde1a7819f67fd73c80b94f96722d4d77dffe
Waiting for contract at 0x153bde1a7819f67fd73c80b94f96722d4d77dffe. took 1s
Waiting for next block to be mined. Ready! Mining took 1s
Replacing $CAK with 0x153bde1a7819f67fd73c80b94f96722d4d77dffe (1)
deploy:
Deploying contracts/etx.se...
Contract will be available at 0x058d170c2ec1b0777697d4bed4bc80475e6771e6
Waiting for contract at 0x058d170c2ec1b0777697d4bed4bc80475e6771e6...... took 6s
Waiting for next block to be mined. Ready! Mining took 1s
Replacing $MID with 0x058d170c2ec1b0777697d4bed4bc80475e6771e6 (1)
transact:
Transaction to OwnNameRegEtherEx (0x038138ac3e26df88b0d24e67e616b9baaabfedc2)...
with data: [u'0x8b5ae8b82eb93b4927b301dbaa8180c188d7d32f']
Traceback (most recent call last):
File "~/Documents/workspace_js/etherex/bin/pyepm", line 9, in <module>
load_entry_point('pyepm==0.9.12', 'console_scripts', 'pyepm')()
File "~/Documents/workspace_js/etherex/lib/python2.7/site-packages/pyepm/pyepm.py", line 104, in main
deployment.deploy()
File "~/Documents/workspace_js/etherex/lib/python2.7/site-packages/pyepm/deploy.py", line 120, in deploy
self.transact(to, from_, fun_name, sig, data, gas, gas_price, value, wait)
File "~/Documents/workspace_js/etherex/lib/python2.7/site-packages/pyepm/deploy.py", line 186, in transact
result = instance.transact(to, fun_name=fun_name, sig=sig, data=data, gas=gas, gas_price=gas_price, value=value)
File "~/Documents/workspace_js/etherex/lib/python2.7/site-packages/pyepm/api.py", line 215, in transact
data = abi_data(fun_name, sig, data)
File "~/Documents/workspace_js/etherex/lib/python2.7/site-packages/pyepm/api.py", line 24, in abi_data
prefix = get_prefix(fun_name, sig)
File "~/Documents/workspace_js/etherex/bin/serpent.py", line 94, in <lambda>
get_prefix = lambda x, y: pyext.get_prefix(strtobytes(x), y) % 2**32
AttributeError: 'module' object has no attribute 'get_prefix'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment