Commit Graph

123 Commits

Author SHA1 Message Date
alexm-status f46ee5ac90
Improved syntax and formatting 2018-05-21 09:50:56 -07:00
mratsim 165b1872a6 Update the smart contract decompiler example 2018-05-18 12:57:55 +02:00
Mamy Ratsimbazafy 507bdda25a
Catch stack underflow (#33)
* Stack underflow: Add failing test to catch #31

* ensurePop, use proc instead of template + add comment for future refactoring of popInternal

* Check stack underflows before popping values

* run json tests again
2018-05-17 20:59:17 +02:00
Mamy Ratsimbazafy 74a558f187
Fix arithmetic implementation issues (#30)
* Change modular arithmetic ops and signextend implementation

* Don't use signed int, introduce EVM "pseudoSigned" conversion pass 4 sdiv/smod tests

* Print computation error in tests
2018-05-17 10:08:28 +02:00
alexm-status 65d477abcb
Update README.md 2018-05-16 22:04:19 -07:00
alexm-status f8938f9a05
Update README.md 2018-05-16 22:03:36 -07:00
alexm-status 07333bf208
Update README.md 2018-05-16 21:55:09 -07:00
alexm-status c254c14b68
Nimbus - An Ethereum 2.0 Sharding Client 2018-05-16 21:52:54 -07:00
alexm-status 7b818ea8b1
Update README.md 2018-05-16 21:51:17 -07:00
Mamy Ratsimbazafy 43797485e5
Fix exp gas cost pass 40 new tests (#29) 2018-05-16 10:41:34 +02:00
Mamy Ratsimbazafy 0f56bdec26
Re-enable exp and byteOp - pass several dozens more tests (#28)
* Rebase with master

* Run the new tests
2018-05-15 11:23:45 +02:00
Zahary Karadjov f705a60dc1 fixes #27 (a number of setStorage failing tests) 2018-05-14 23:13:13 +03:00
mratsim 9fc80cb6c9 Update VMTests with Stint, raise Exception for non-implemented Exp and byteOp instead of quitting 2018-05-11 18:16:35 +02:00
Mamy Ratsimbazafy 8f95c86944
Fix JSON VMtests compile-time errors (#25)
* Fix imports

* Fix Ethtime in fixtures following https://github.com/nim-lang/Nim/commit/f6df2d9956a79eda0486391
2018-05-11 15:32:10 +02:00
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
cheatfate c42bbf6d63 Fix: no help on empty command line. 2018-05-02 18:04:54 +03:00
cheatfate bb49e935f6 Added Discovery4Service as working prototype. 2018-05-02 18:01:10 +03:00
cheatfate 155287c21b Fix tests. 2018-05-01 11:44:05 +03:00
cheatfate 0c3c32df48 Remove #master hack from ttmath. 2018-05-01 11:41:52 +03:00
cheatfate 61ea215aa0 Remove #master hack. 2018-05-01 11:38:38 +03:00
cheatfate fac64467f2 Add nim-eth-p2p dependency.
Add ENode support to arguments parsing.
2018-05-01 03:47:35 +03:00
cheatfate 9c86166827 Added IP address checking. 2018-04-30 11:14:08 +03:00
cheatfate 4fbc4104cc Initial commit. 2018-04-30 11:14:08 +03:00
Mamy Ratsimbazafy 6654576c6a
Few steps forward vm_tests (#15)
* Enable vm_tests, remove usage of from keyword as a variable name

* Fix Genesis types and use the new EthTime

* Add a new VMKind enum (py-evm vmclass runtime type)

* renaming block_obj to block_types

* chain.BlockHeader and utils.header.Header are the same thing (BlockHeader in py-evm)

* For now blockNumbers are UInt256

* EoD merge: vm_test compiles and does not throw computation error

* running full transactions is too early
2018-04-14 12:40:41 +02:00
mratsim 8cf8811310 Merge branch 'master' of https://github.com/status-im/nimbus 2018-04-14 11:20:22 +02:00
mratsim 48c389e57c Fix #17: EthTime break by upstream commit f6df2d9956 2018-04-14 11:20:17 +02:00
Mamy Ratsimbazafy e150b09509
Fix Appveyor when it appends a random string (#16) 2018-04-13 19:33:20 +02:00
Yuriy Glukhov 4da71f76b9 Fixed TTInt rlp encoding. Fixes #9. (#12) 2018-04-12 12:34:20 +02:00
Mamy Ratsimbazafy a41ff1f3a5
CI - avoid Appveyor appending a unique string 2018-04-12 11:10:58 +02:00
mratsim 4e4951c769 Appveyor: disable fast-finish we always want 32 and 64-bit compilation 2018-04-12 10:39:51 +02:00
mratsim a5b2652f85 Remove direct ranges call see: https://travis-ci.org/status-im/nimbus/builds/365051359#L502 2018-04-12 09:59:37 +03:00
mratsim b7d949eec2 Use new memrange and nim rlp 2018-04-12 09:59:37 +03:00
mratsim 41ffbc4049 Rebase 2018-04-12 09:59:37 +03:00
mratsim fef28e876a Failures allowed for mac temporarily 2018-04-11 16:56:24 +02:00
mratsim 10689dd321 change the order of nim compilation and GCC compilation 2018-04-11 16:45:17 +02:00
mratsim d7379c1e11 Make travis OSX also use GCC 2018-04-11 16:41:08 +02:00
mratsim 452f9e81d0 Temporary: Don't use Clang on MacOS - https://github.com/status-im/nimbus/issues/9 2018-04-11 16:37:57 +02:00
Mamy Ratsimbazafy 3021bb957f
Switch to nimcrypto (#8) 2018-04-11 16:32:19 +02:00
Mamy Ratsimbazafy 09d53bd8dd
make Linux test green again 2018-04-11 15:58:48 +02:00
Mamy Ratsimbazafy 0d426df981
fix docker for Travis 2018-04-11 15:48:33 +02:00
Mamy Ratsimbazafy 2b9c35ab22
Add MacOS CI to Travis 2018-04-11 15:27:56 +02:00
coffeepots e8e82954c1
Appveyor address changed to "nimbus"
Appveyor address updated, updating corresponding configuration.
2018-04-11 10:51:43 +01:00
coffeepots 20a9c4903d
Merge pull request #7 from status-im/EthTime
Use separate EthTime type for timestamps
2018-04-10 19:18:07 +01:00
coffeepots c02510a7ab
Hopefully fix appveyor build issue
Error was:
cd C:\projects\nimbus
The system cannot find the path specified.
Command exited with code 1
2018-04-10 19:01:56 +01:00
coffeepots 4a40cac4aa
Merge branch 'master' into EthTime 2018-04-10 18:16:25 +01:00
coffeepots c003c069ca
Merge pull request #6 from cheatfate/master
Add appveyory.yml.
2018-04-10 18:05:33 +01:00
cheatfate bb6dbf79ae Add appveyory.yml. 2018-04-10 19:51:17 +03: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