Created
August 27, 2019 21:45
-
-
Save desaperados/de375cd0a437e7340deb741c13801eee to your computer and use it in GitHub Desktop.
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
+ dapp build | |
+ dapp clean | |
+ rm -rf out | |
+ solc --overwrite ds-test/=lib/ds-test/src/ ds-test=lib/ds-test/src/index.sol --combined-json=abi,bin,bin-runtime,srcmap,srcmap-runtime,ast,metadata /=/ src/SelloutDao.sol src/SelloutDao.t.sol | |
src/SelloutDao.t.sol:48:9: Warning: Return value of low-level calls not used. | |
omg.call.value(1 ether).gas(100000)(""); | |
^-------------------------------------^ | |
+ export MOLOCH_KEY=0xcd16CBdA54af2556EBB6df4FBFd178e63c33FD89 | |
+ MOLOCH_KEY=0xcd16CBdA54af2556EBB6df4FBFd178e63c33FD89 | |
+ export MOLOCH_DELEGATE_KEY=0x72BA1965320ab5352FD6D68235Cc3C5306a6FFA2 | |
+ MOLOCH_DELEGATE_KEY=0x72BA1965320ab5352FD6D68235Cc3C5306a6FFA2 | |
++ seth block latest timestamp | |
+ DAPP_TEST_TIMESTAMP=1566942186 | |
++ seth block latest number | |
+ DAPP_TEST_NUMBER=8434689 | |
+ DAPP_TEST_ADDRESS=0xcd16CBdA54af2556EBB6df4FBFd178e63c33FD89 | |
+ export DAPP_TEST_TIMESTAMP DAPP_TEST_NUMBER DAPP_TEST_ADDRESS | |
+ hevm dapp-test --rpc=https://parity0.mainnet.makerfoundation.com:8545 --json-file=out/dapp.sol.json --verbose 1 | |
Running 2 tests for src/SelloutDao.t.sol:SelloutDaoTest | |
[PASS] test_after() (gas: 20958) | |
[FAIL] test_basic_sanity() | |
Failure: test_basic_sanity | |
"Error: Wrong `uint' value" | |
Expected: 2000000000000000000 | |
Actual: 1000000000000000000 | |
src/SelloutDao.t.sol:SelloutDaoTest | |
├╴constructor | |
├╴initialize test | |
└╴test_basic_sanity() | |
├╴create SelloutDaoTest (src/SelloutDao.t.sol:35) | |
│ ├╴call [unknown] (lib/ds-test/src/test.sol:27) | |
│ │ └╴← 0x000000000000000000000000c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2 | |
│ └╴← 3598 bytes of code | |
├╴call [unknown] (src/SelloutDao.t.sol:38) | |
│ ├╴log2(0x0000000000000000000000001ea7998b394d6c380c6e797fbe22d76797713d9e, 0xde7b64a369e10562cc2e71f0f1f944eaf144b75fead6ecb51fac9c4dd6934885, 0xcd16cbda54af2556ebb6df4fbfd178e63c33fd89) <no source map> | |
│ └╴← 0x | |
├╴call SelloutDaoTest::[unknown method](0x02c7e7af) (src/SelloutDao.t.sol:40) | |
│ └╴← 0x0000000000000000000000000000000000000000000000000000000000000000 | |
├╴call SelloutDaoTest::[unknown method](0xfe95a5ce) (src/SelloutDao.t.sol:46) | |
│ └╴← 0x0000000000000000000000000000000000000000000000000000000000000000 | |
├╴call SelloutDaoTest::[fallback function](0x) (src/SelloutDao.t.sol:48) | |
│ └╴← 0x | |
├╴log_bytes32("Error: Wrong `uint' value") (lib/ds-test/src/test.sol:112) | |
├╴log_named_uint(" Expected", 2000000000000000000) (lib/ds-test/src/test.sol:113) | |
├╴log_named_uint(" Actual", 1000000000000000000) (lib/ds-test/src/test.sol:114) | |
├╴call SelloutDaoTest::[unknown method](0x02c7e7af) (src/SelloutDao.t.sol:52) | |
│ └╴← 0x0000000000000000000000000000000000000000000000000000000000000001 | |
├╴call SelloutDaoTest::[unknown method](0xfe95a5ce) (src/SelloutDao.t.sol:53) | |
│ └╴← 0x000000000000000000000000cd16cbda54af2556ebb6df4fbfd178e63c33fd89 | |
├╴call [unknown] (src/SelloutDao.t.sol:55) | |
│ └╴← 0x0000000000000000000000000000000000000000000000000000000000000000 | |
├╴call [unknown] (src/SelloutDao.t.sol:57) | |
│ ├╴log2(0x0000000000000000000000000000000000000000000000056bc75e2d63100000, 0xe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c, 0xcd16cbda54af2556ebb6df4fbfd178e63c33fd89) <no source map> | |
│ └╴← 0x | |
├╴call [unknown] (src/SelloutDao.t.sol:58) | |
│ ├╴log3(0x000000000000000000000000000000000000000000000000d02ab486cedc0000, 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef, 0xcd16cbda54af2556ebb6df4fbfd178e63c33fd89, 0x1ea7998b394d6c380c6e797fbe22d76797713d9e) <no source map> | |
│ └╴← 0x0000000000000000000000000000000000000000000000000000000000000001 | |
├╴call [unknown] (src/SelloutDao.t.sol:60) | |
│ └╴← 0x000000000000000000000000000000000000000000000000d02ab486cedc0000 | |
├╴call SelloutDaoTest::[unknown method](0xb28b7289000000000000000000000000cd16cbda54af2556ebb6df4fbfd178e63c33fd890000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000004486f6c6100000000000000000000000000000000000000000000000000000000) (src/SelloutDao.t.sol:62) | |
│ ├╴call [unknown] (src/SelloutDao.t.sol:60) | |
│ │ └╴← 0x0000000000000000000000000000000000000000000000008ac7230489e80000 | |
│ ├╴call [unknown] (src/SelloutDao.t.sol:60) | |
│ │ ├╴log3(0x0000000000000000000000000000000000000000000000008ac7230489e80000, 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925, 0x1ea7998b394d6c380c6e797fbe22d76797713d9e, 0x1fd169a4f5c59acf79d0fd5d91d1201ef1bce9f1) <no source map> | |
│ │ └╴← 0x0000000000000000000000000000000000000000000000000000000000000001 | |
│ ├╴call [unknown] <source not found> | |
│ │ ├╴call [unknown] <no source map> | |
│ │ │ ├╴log3(0x0000000000000000000000000000000000000000000000008ac7230489e80000, 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef, 0x1ea7998b394d6c380c6e797fbe22d76797713d9e, 0x1fd169a4f5c59acf79d0fd5d91d1201ef1bce9f1) <no source map> | |
│ │ │ └╴← 0x0000000000000000000000000000000000000000000000000000000000000001 | |
│ │ ├╴call [unknown] <no source map> | |
│ │ │ ├╴log3(0x0000000000000000000000000000000000000000000000000000000000000000, 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef, 0xcd16cbda54af2556ebb6df4fbfd178e63c33fd89, 0x1fd169a4f5c59acf79d0fd5d91d1201ef1bce9f1) <no source map> | |
│ │ │ └╴← 0x0000000000000000000000000000000000000000000000000000000000000001 | |
│ │ ├╴log4(0x000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001, 0x2d105ebbc222c190059b3979356e13469f6a29a350add74ac3bf4f22f16301d6, 0x1ea7998b394d6c380c6e797fbe22d76797713d9e, 0xcd16cbda54af2556ebb6df4fbfd178e63c33fd89, 0xcd16cbda54af2556ebb6df4fbfd178e63c33fd89) <no source map> | |
│ │ └╴← 0x | |
│ ├╴call [unknown] (src/SelloutDao.t.sol:67) | |
│ │ └╴← 0x0000000000000000000000000000000000000000000000000000000000000061 | |
│ └╴← 0x | |
├╴call SelloutDaoTest::[unknown method](0xe24bea03) (src/SelloutDao.t.sol:64) | |
│ └╴← 0x0000000000000000000000000000000000000000000000000000000000000060 | |
├╴call [unknown] (src/SelloutDao.t.sol:67) | |
│ └╴← 0x0000000000000000000000000000000000000000000000004563918244f40000 | |
├╴call [unknown] (src/SelloutDao.t.sol:70) | |
│ └╴← 0x0000000000000000000000000000000000000000000000000000000000004380 | |
├╴call [unknown] (src/SelloutDao.t.sol:72) | |
│ └╴← 0x0000000000000000000000000000000000000000000000000000000000000000 | |
├╴call SelloutDaoTest::[unknown method](0xb3f98adc0000000000000000000000000000000000000000000000000000000000000001) (src/SelloutDao.t.sol:73) | |
│ ├╴call [unknown] (src/SelloutDao.t.sol:70) | |
│ │ ├╴log4(0x0000000000000000000000000000000000000000000000000000000000000001, 0x29bf0061f2faa9daa482f061b116195432d435536d8af4ae6b3c5dd78223679b, 0x60, 0x1ea7998b394d6c380c6e797fbe22d76797713d9e, 0xcd16cbda54af2556ebb6df4fbfd178e63c33fd89) <no source map> | |
│ │ └╴← 0x | |
│ └╴← 0x | |
├╴call [unknown] (src/SelloutDao.t.sol:74) | |
│ └╴← 0x0000000000000000000000000000000000000000000000000000000000000001 | |
├╴call SelloutDaoTest::[unknown method](0x159090bd) (src/SelloutDao.t.sol:76) | |
│ ├╴call SelloutDaoTest::[fallback function](0x) <source not found> | |
│ │ └╴← 0x | |
│ ├╴call [unknown] <source not found> | |
│ │ └╴← 0x0000000000000000000000000000000000000000000000004563918244f40000 | |
│ ├╴call [unknown] (src/SelloutDao.t.sol:55) | |
│ │ ├╴log3(0x0000000000000000000000000000000000000000000000004563918244f40000, 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef, 0x1ea7998b394d6c380c6e797fbe22d76797713d9e, 0xcd16cbda54af2556ebb6df4fbfd178e63c33fd89) <no source map> | |
│ │ └╴← 0x0000000000000000000000000000000000000000000000000000000000000001 | |
│ └╴← 0x | |
├╴call [unknown] (src/SelloutDao.t.sol:79) | |
│ └╴← 0x0000000000000000000000000000000000000000000000000000000000000000 | |
└╴call [unknown] (src/SelloutDao.t.sol:80) | |
└╴← 0x000000000000000000000000000000000000000000000004e1003b28d9280000 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment