Comments (2)
Pull my latest commit and try again. Should be fixed.
On 14-05-06 10:43 AM, jorisbontje wrote:
Using the subcurrency.se example from
http://blog.ethereum.org/2014/04/10/pyethereum-and-serpent-programming-guide-2/,
the init clause persists the data in the invalid state '' instead of
that of the contract itself ('da7ce79725418f4f6e13bf5f520c89cec5f6a974'):|{'coinbase': '0000000000000000000000000000000000000000',
'difficulty': 4194304,
'extra_data': '',
'gas_limit': 1000000,
'gas_used': 1973L,
'min_gas_price': 1000000000000000,
'nonce': '\x04\x99Og\xdcU\xb0\x9e\x81J\xb7\xff\xc8\xdf6\x86\xb4\xaf\xb2\xbbS\xe6\x0e\xae\x97\xef\x04?\xe0?\xb8)',
'number': 0,
'prevhash': '\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00',
'state': {'': {'balance': 0L,
'code': '',
'nonce': 0L,
'storage': {1171285107467697789631807507971492729443352172582L: 1000000L}},
'0000000000000000000000000000000000000000': {'balance': 1973000000000000L,
'code': '',
'nonce': 0L,
'storage': {}},
'cd2a3d9f938e13cd947ec05abc7fe734df8dd826': {'balance': 998027000000000000L,
'code': '',
'nonce': 1L,
'storage': {}},
'da7ce79725418f4f6e13bf5f520c89cec5f6a974': {'balance': 0L,
'code': '6000609f556001602036040c0d61002759600035600054600053565b525b54602052f26100785833602054602053566040546000356060546020356080546080536040530a61006e59608053604053036020535760805360605356016060535760015b525b54602052f26100785860005b525b54602052f2',
'nonce': 0L,
'storage': {}}},
'state_root': '\x14\xae\xbb\xf2\xff]%\n,\xf4y\xc4\xf3\x10\x96?\xe0|\x1a\xc9)%\xe1\xbc\xf6E\x88\x8a\xacx\xce',
'timestamp': 0,
'tx_list_root': '\x94\x1e\xaa\xb7\x10\xfa\xe1b\xe1$,~Ek\x94\xec\xd4\xac?;\t>]\x159)\x06:\xfdy\xd1\x9b',
'uncles_hash': '\x1d\xccM\xe8\xde\xc7]z\xab\x85\xb5g\xb6\xcc\xd4\x1a\xd3\x12E\x1b\x94\x8at\x13\xf0\xa1B\xfd@\xd4\x93G'}
|Test to reproduce:
https://github.com/EtherCasts/evm-sim/tree/master/tests/test_subcurrency.py—
Reply to this email directly or view it on GitHub
#87.
from pyethereum.
Fixed! 👯
from pyethereum.
Related Issues (20)
- pyethereum depends on some python3-only packages HOT 5
- indicate ValueError: No matching functions found when call function contained in abi json file
- ImportError: cannot import name 'ALL_BYTES' HOT 15
- E TypeError: decode_hex() takes 1 positional argument but 2 were given
- pip install ethereum failed HOT 5
- RuntimeError: Format missing, but need one (identified source as text as no file with that name was found). HOT 1
- Broken argument positions cause method to repeat almost infinitely HOT 1
- Question: How do i get the raw txid to broadcast to jsonRPC using "eth_sendRawTransaction" method
- bitcoin import conflicts with python-bitcoinlib HOT 1
- Installing pye on windows
- Create doc section for `Installation`
- pip install ethereum failed on Windows 10 HOT 4
- .
- test_blocks.py throwing many errors
- How to call a function in smart contract by using tester.py
- Cannot install via pipenv HOT 1
- The new opcodes introduced in Constantinople are not supported
- Gonzalez950
- Error on building wheel for pyethash HOT 3
- Technical papers
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pyethereum.