Commit Graph

11 Commits

Author SHA1 Message Date
Mamy Ratsimbazafy 2d34f1453c
Migrate from ttmath to stint (#24)
* Constants and accounts compile as standalone

* Mass replace ttmath by Stint

* Adapt utils_numeric proc

* Adapt memory.nim

* Deactivate "ValidationError" test that requires pow(2, 256) function

* Fix state_db toByteArrayBE

* Fix more getUint toInt conversion

* Remove absolute value ambiguous call

* Stub-ify proc and opcode that requires pow - https://github.com/status-im/nim-stint/issues/37
2018-05-07 14:41:54 +02:00
mratsim 48c389e57c Fix #17: EthTime break by upstream commit f6df2d9956 2018-04-14 11:20:17 +02:00
coffeepots 4a40cac4aa
Merge branch 'master' into EthTime 2018-04-10 18:16:25 +01:00
Coffepots 79e74f3da3 Remove double line and use ttmath for generating u256 2018-04-06 19:34:11 +01:00
Coffepots c66afe18dd Revert keccak change, get test_opcode to run 2018-04-06 19:29:47 +01:00
Coffepots 59b28cd1b2 More descriptive comment on timestamp 2018-04-06 18:59:32 +01:00
Coffepots 4e1755a0bf Get test_opcode to run 2018-04-06 18:56:57 +01:00
mratsim 5a3202f4d3 Update README badges and add dual-license header 2018-04-06 16:52:10 +02:00
Alexander Ivanov edac9af2a2 Improve types 2018-03-13 16:30:38 +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 0ec03afced Block and stack ops, elegant stack/dup/swap multiple opcode short def 2018-01-30 14:51:43 +02:00