Commit Graph

3518 Commits

Author SHA1 Message Date
Mamy Ratsimbazafy 284a026e51
Add opcode tests (#4) 2018-04-06 16:25:01 +02:00
Coffepots 078f7abf22 Merge branch 'master' of https://github.com/status-im/nimbus 2018-04-05 19:00:46 +01:00
Coffepots cafbc7f46d Added gas calculations, fleshed out generateHeaderFromParentHeader 2018-04-05 18:51:42 +01:00
Coffepots b40b3e078c Adding fork info 2018-04-05 18:32:18 +01:00
mratsim 91d493382b Removing all files in .gitignore 2018-04-05 09:53:00 +02:00
Yuriy Glukhov 1d81a7c7ba clang compilation error fixed (#5) 2018-04-04 17:47:31 +02:00
Yuriy Glukhov 39b82b5397
Merge pull request #3 from status-im/refactor-tests
Refactor tests: remove bash/unix shell dependency for tests
2018-04-04 14:27:05 +03:00
mratsim 0b5df0fee1 Add sh -c 2018-04-04 12:45:45 +02:00
mratsim 5493656c36 fix use statusteam 2018-04-04 12:33:21 +02:00
mratsim ea80536f8f okay this should work now 2018-04-04 12:28:58 +02:00
mratsim 3d1d5afd67 Travis: Refresh package.json 2018-04-04 12:14:39 +02:00
mratsim 467a4b15f7 Use Status docker 2018-04-04 11:40:37 +02:00
mratsim f0d74a4758 update .gitignore 2018-04-03 18:23:24 +02:00
mratsim 94d805792f Travis: refresh nimble packages (deleted by mistake) 2018-04-03 18:19:47 +02:00
mratsim 6c5ceda9b3 Update Travis config 2018-04-03 18:15:44 +02:00
mratsim cbc0176011 update test readme 2018-04-03 18:14:47 +02:00
mratsim 3852c84841 Refactor: remove .sh dependency for tests 2018-04-03 18:09:09 +02:00
mratsim 1cf5e6694b Force usage of GCC on MacOS for #2 2018-04-03 12:30:05 +02:00
Jacek Sieka 00a0aa9970
Add chat links to readme (fixes #1) 2018-03-17 16:39:13 +08:00
Alexander Ivanov c4361061c1 Opcode add test 2018-03-14 13:11:32 +02:00
Alexander Ivanov c1a8fa6381 Fix memory 2018-03-14 11:15:03 +02:00
Alexander Ivanov edac9af2a2 Improve types 2018-03-13 16:30:38 +02:00
Alexander Ivanov 8be1a51c64 Fix 80 arithmetic gas cost tests, improve exp gas cost 2018-02-28 17:06:05 +02:00
Alexander Ivanov f179695341 Fix arithmetic and save test progress in VMTests.md 2018-02-27 20:10:45 +02:00
Zahary Karadjov cb78a39cef Specify the copyright holders properly 2018-02-27 19:55:19 +02:00
Alexander Ivanov dc365b2e23 Fix tests 2018-02-26 14:00:15 +02:00
Zahary Karadjov fd23b8ac0f Add Nix files for obtaining all C/C++ dependencies 2018-02-23 18:55:04 +02:00
Alexander Ivanov 99921f38cb Pass more tests, use UInt256 more often
82 / 189 arithmetic
55 / 62 logic
77 / 78 stack

Most errors are the same sstore gascost bug, also next work on flow and memory
2018-02-20 19:27:43 +02:00
Alexander Ivanov aa1970013d Fix error functions 2018-02-16 11:32:25 +02:00
Alexander Ivanov 9c056b85de Pass first fixtures tests
Todo

Pass most VM opcode tests that we can (of those that don't depend
too much on porting the whole py-evm)

Simplify a bit the current py-evm-inspired internal loop arch
2018-02-14 18:38:01 +02:00
Alexander Ivanov 3a0596bac7 WIP tests based on fixtures 2018-02-13 19:18:08 +02:00
Alexander Ivanov 63d76e0f37 Improve headers build 2018-02-13 12:42:22 +02:00
Alexander Ivanov 0d31382e3d Work on text fitures and decompiling bytecode 2018-02-12 18:59:50 +02:00
Alexander Ivanov 925eb627a5 Travis badge 2018-02-07 18:50:28 +02:00
Alexander Ivanov 6c013b86aa Travis retest updated docker image 2018-02-07 18:47:14 +02:00
Alexander Ivanov df41fe270e Add the ttmath wrapper 2018-02-07 18:16:04 +02:00
Alexander Ivanov 35e43fa32e Pass correctly commands to docker command for travis 2018-02-07 13:46:07 +02:00
Alexander Ivanov e07fc0562d Separate test build from run 2018-02-07 13:15:54 +02:00
Alexander Ivanov 8a7a8f3e06 Travis: try to run sh 2018-02-07 13:07:38 +02:00
Alexander Ivanov 04546ef629 Compile actual test files 2018-02-07 11:58:17 +02:00
Alexander Ivanov 640e668dfe Default yes for nimble travis 2018-02-07 11:55:23 +02:00
Alexander Ivanov f918692496 Fix memory and gas tests 2018-02-07 11:50:15 +02:00
Alexander Ivanov 211d46e39e Finish the first memory impl and tests, stack tests, fixes validation 2018-02-06 21:20:06 +02:00
Alexander Ivanov 04b1228fbe Add gas meter tests and some helpers unittest 2018-01-31 15:28:25 +02:00
Alexander Ivanov a233cef719 CodeStream impl and tests, fix byte and string fields 2018-01-31 14:57:05 +02:00
Alexander Ivanov 62f1417439 WIP system instructions 2018-01-30 20:43:41 +02:00
Alexander Ivanov b9eb74fa26 WIP call (different call variants depending on fork) 2018-01-30 20:12:05 +02:00
Alexander Ivanov 69dccb1520 Invalid op 2018-01-30 16:44:52 +02:00
Alexander Ivanov dba3c4b971 Add logging ops 2018-01-30 16:35:12 +02:00
Alexander Ivanov 5a4b934f82 Add flow ops 2018-01-30 15:20:52 +02:00