This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pragma solidity ^0.5.13; | |
contract SendMoneyExample { | |
uint public balanceReceived; | |
uint public lockedUntil; | |
function receiveMoney() public payable { | |
balanceReceived += msg.value; | |
lockedUntil = block.timestamp + 1 minutes; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pragma solidity ^0.5.13; | |
contract MappingStructExample { | |
struct Payment { | |
uint amount; | |
uint timestamp; | |
} | |
struct Balance { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/Users/glaksmono/Documents/py-evm/tests/trinity/integration/test_trinity_cli.py:134: Exception | |
------------------------------------------------------------ Captured stdout call ------------------------------------------------------------ | |
b' INFO 08-09 12:51:59 main \n' | |
b' ______ _ _ __ \n' | |
b' /_ __/____(_)___ (_) /___ __\n' | |
b' / / / ___/ / __ \\/ / __/ / / /\n' | |
b' / / / / / / / / / / /_/ /_/ / \n' | |
b' /_/ /_/ /_/_/ /_/_/\\__/\\__, / \n' | |
b' /____/ \n' | |
b' INFO 08-09 12:51:59 main Trinity/eth-0.2.0a29/darwin/cpython3.6.4\n' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(venv) ➜ py-evm git:(eth-py-evm-667) ✗ pytest tests/json-fixtures/test_blockchain.py -x --ff --pdb | |
======================================================= test session starts ======================================================= | |
platform darwin -- Python 3.6.4, pytest-3.2.5, py-1.5.3, pluggy-0.4.0 | |
rootdir: /Users/glaksmono/Documents/py-evm, inifile: pytest.ini | |
plugins: xdist-1.22.2, pythonpath-0.7.2, mock-1.10.0, forked-0.2, cov-2.5.1, hypothesis-3.56.9, flaky-3.4.0 | |
collecting 0 items | |
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> traceback >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> | |
ImportError while importing test module '/Users/glaksmono/Documents/py-evm/tests/json-fixtures/test_blockchain.py'. | |
Hint: make sure your test modules/packages have valid Python names. |
NewerOlder