Commit Graph

  • 39cdbe4037 Removed eth_getBalance from common coffeepots 2018-07-31 18:14:46 +0100
  • de0ffe6c76 Fixes for short strings, added raise-on-failed-validation procs coffeepots 2018-07-31 18:14:20 +0100
  • 67a80f2141 Fix for json conversion of hexstrings coffeepots 2018-07-31 17:46:40 +0100
  • ba35999f58 Add tests for JSON RPC hex strings coffeepots 2018-07-27 18:02:59 +0100
  • 7e0fc43f97 Add JSON RPC hex strings support coffeepots 2018-07-27 18:02:02 +0100
  • b3df3a6267 Setup test rpc server, initial call to eth_getBalance coffeepots 2018-07-26 22:48:01 +0100
  • 1921f9b389 arith.json, boolean.json, and mktx.json test fixtures don't provide useful information (#90) Dustin Brody 2018-07-30 15:29:13 +0000
  • 4944fef3ae
    Merge pull request #87 from status-im/db Yuriy Glukhov 2018-07-30 17:36:07 +0300
  • 84515b78a9 Align DB backend interfaces with eth_trie. Init BaseChainDB in nimbus. Yuriy Glukhov 2018-07-26 23:08:43 +0300
  • 06a673a4ef arith.json, boolean.json, and mktx.json test fixtures don't provide useful information Dustin Brody 2018-07-30 04:17:08 -0700
  • d40638af8c Let Appveyor testing again. Fix test_storage_backends.nim for Windows. cheatfate 2018-07-28 12:42:40 +0300
  • dcf97d8198 memory expansion boilerplate usage wasn't 100% consistent, so extcodecopy and codecopy were returning far too low gas costs in many cases (#88) Dustin Brody 2018-07-28 07:59:33 +0000
  • 20fedd4152 memory expansion boilerplate usage wasn't 100% consistent, so extcodecopy and codecopy were returning far too low gas costs in many cases Dustin Brody 2018-07-27 17:50:24 -0700
  • 385769f73d
    Merge 9638d24f45 into fc09bd2874 Dustin Brody 2018-07-26 20:36:44 +0000
  • 9638d24f45 first approach to detecting addition overflow for copy opcodes Dustin Brody 2018-07-26 13:29:22 -0700
  • bd72df2daa
    Merge 4e2054896d into fc09bd2874 Yuriy Glukhov 2018-07-26 20:16:34 +0000
  • fc09bd2874
    Merge pull request #83 from status-im/FixTestFixtureValueHexLiteralParsing Yuriy Glukhov 2018-07-26 23:10:31 +0300
  • 4e2054896d Zap rocksdb storage before the test Yuriy Glukhov 2018-07-26 23:08:43 +0300
  • 3d826faee4 Second attempt to add rocksdb dlls to testing. cheatfate 2018-07-26 19:04:39 +0300
  • f2606b697e First attempt to add rocksdb.dll to tests. cheatfate 2018-07-26 18:54:02 +0300
  • 555dcd5a01
    Merge pull request #84 from status-im/fix-seq-init Yuriy Glukhov 2018-07-26 17:54:55 +0300
  • f6f355b6c8 Workaround for nim issue 7833 Yuriy Glukhov 2018-07-26 16:14:16 +0300
  • 5d82493a9c fix comment to correctly reflect REVERT opcode Dustin Brody 2018-07-25 16:30:18 -0700
  • 90165f4f6b Ethereum test fixtures provide storage values as hex literals (e.g., 0x04), not decimal literals Dustin Brody 2018-07-25 09:31:57 -0700
  • 04bacca35c
    Merge pull request #81 from status-im/ClampMemoryGasCostToNonnegative Yuriy Glukhov 2018-07-25 13:48:21 +0300
  • 8713939bfe
    Merge pull request #82 from status-im/ImplementSelfDestructOp Yuriy Glukhov 2018-07-25 13:41:14 +0300
  • 47e5081f86 TODO comment for other forks on the selfdestruct op coffeepots 2018-07-25 10:40:08 +0100
  • 85e1c39a83 accessing memory can't cost less than nothing Dustin Brody 2018-07-24 18:37:56 -0700
  • 9f01223dd2
    Merge pull request #80 from status-im/FixEndiannessMStore8 Yuriy Glukhov 2018-07-24 23:05:36 +0300
  • c2ed3bf11e mstore8 wants LSB of BE representation, i.e. last byte Dustin Brody 2018-07-24 12:25:21 -0700
  • 52daaf49c0 Implemented selfDestruct op coffeepots 2018-07-24 17:21:29 +0100
  • 473140f586
    Merge pull request #79 from status-im/FixExtCodeCopyCost Yuriy Glukhov 2018-07-24 12:19:04 +0300
  • e8453e3876
    Merge pull request #78 from status-im/FixZeroSizeSha3 Yuriy Glukhov 2018-07-24 12:15:41 +0300
  • df23f802c6 ExtCodeCopy is a memory expansion operation for gas computation purposes Dustin Brody 2018-07-23 17:00:06 -0700
  • 9dc9a18c42 Attempt to fix appveyor tests. cheatfate 2018-07-24 01:53:41 +0300
  • 870eb175c0 update to the latest eth_p2p Zahary Karadjov 2018-07-24 00:44:04 +0300
  • 00cd33febd add subcase of yellow paper equation (297) for zero-length memory ranges Dustin Brody 2018-07-23 14:00:49 -0700
  • 7f4d97dca0 add the ETH and LES protocol implementations to the nimbus build Zahary Karadjov 2018-07-23 00:34:43 +0300
  • a226bab661 Add test_vm_json instructions mratsim 2018-07-20 22:02:52 +0200
  • 1602c8ca03 restore the compilation of the main nimbus executable Zahary Karadjov 2018-07-20 20:02:19 +0300
  • 01a920b3b6
    Merge pull request #76 from status-im/FixFailOnEmptyChildComputation Yuriy Glukhov 2018-07-20 11:15:12 +0300
  • 31c9365e48
    Merge pull request #75 from status-im/RemoveValidateCanonicalAddress Yuriy Glukhov 2018-07-20 11:15:00 +0300
  • 3e201aab03
    Merge pull request #77 from status-im/FixRpcImports Yuriy Glukhov 2018-07-20 11:14:47 +0300
  • 6e10e306a6 Change import from eth-rpc to json_rpc coffeepots 2018-07-20 08:57:51 +0100
  • 868f2b1959 Remove if statement for actualOutputSize - 1 coffeepots 2018-07-20 08:53:56 +0100
  • 6ce46c0163 Only write to child computation if data present coffeepots 2018-07-19 19:14:17 +0100
  • e33bc85bfa Remove validateCanonicalAddress coffeepots 2018-07-19 19:04:01 +0100
  • feaff16e9d Corrected jump boundary check. Nonexistent sload pushes 0. (#74) Yuriy Glukhov 2018-07-19 16:11:52 +0300
  • 6bafbc20d0 Corrected jump boundary check. Nonexistent sload pushes 0. Yuriy Glukhov 2018-07-18 18:52:57 +0300
  • b2acf3a5e3 GasMeter is an object now (#73) Yuriy Glukhov 2018-07-18 15:18:17 +0300
  • 2d8b0baab2 GasMeter is an object now Yuriy Glukhov 2018-07-18 12:35:57 +0300
  • 6c67115ef5 Fixed sstore gas computation, empty sha3, smod, sdiv (#71) Yuriy Glukhov 2018-07-18 12:14:28 +0300
  • 40a31b4ea8 Comments addressed Yuriy Glukhov 2018-07-18 12:10:06 +0300
  • 2e9871e033 Fixed smod and sdiv Yuriy Glukhov 2018-07-18 11:22:50 +0300
  • ca5eba20f8 update example mratsim 2018-07-17 19:18:59 +0200
  • 554352a307 Fixed sstore gas computation, fixed empty sha3 Yuriy Glukhov 2018-07-17 19:39:43 +0300
  • 601db4d9f3 Fixed a few more tests (#70) Yuriy Glukhov 2018-07-17 10:57:14 +0200
  • 3992f7ec91 Fixed sha3 opcode Yuriy Glukhov 2018-07-16 18:31:03 +0200
  • e32a865815 Fixed getting reading balance from the test fixtures Yuriy Glukhov 2018-07-16 17:55:52 +0200
  • c8be4be5f1
    Merge pull request #69 from status-im/add-log-memory-validation Yuriy Glukhov 2018-07-16 12:34:37 +0300
  • 46a8b5dc49 Refactored log opcodes, added validation, fixed a couple of tests Yuriy Glukhov 2018-07-13 18:54:33 +0300
  • 9c88710ed6 Apply the P2PServer -> EthereumNode rename Zahary Karadjov 2018-07-12 14:14:04 +0300
  • 4dd75aee84
    Delete utilities: address, padding, bytes (#68) Mamy Ratsimbazafy 2018-07-06 17:08:31 +0200
  • 872506975b fix todo comment mratsim 2018-07-06 13:47:45 +0200
  • 9e9876af9e Fix C compiler error: member reference base type 'char' is not a structure or union mratsim 2018-07-06 13:44:05 +0200
  • f03e447608 Remove bigEndianToInt mratsim 2018-07-06 13:41:53 +0200
  • d280ea0d88 Delete utilities: address, padding, bytes mratsim 2018-07-06 13:28:00 +0200
  • 4b5eada322
    Refactor interpreter dispatch (#65) Mamy Ratsimbazafy 2018-07-06 09:52:31 +0200
  • bd17353eb7 Merge callDataLoad and codeCopy fixes, todo simplify see #67 mratsim 2018-07-05 21:45:19 +0200
  • 42fd80c00b Merge remaining opcodes implementation from #59 mratsim 2018-07-05 21:24:02 +0200
  • 549d72279c Reactivate stack check (deactivated in #59, necessary to pass tests) mratsim 2018-07-05 19:07:24 +0200
  • 763489c544 Deactivate balance and sload test following #59 mratsim 2018-07-05 19:03:48 +0200
  • fe312a4dab add a missing import Zahary Karadjov 2018-07-05 19:43:23 +0300
  • 65330cda00 fix the initialization of the VM database Zahary Karadjov 2018-07-05 19:38:09 +0300
  • 6d53c46014 Static compilation fixes after rebasing mratsim 2018-07-05 15:41:28 +0200
  • b08de18a38 Address review comment: don't tag fork by default, make opcode impl grepable mratsim 2018-07-05 10:58:40 +0200
  • 27545b8ace Address review comment on "push" + VMTests in debug mode (not release) mratsim 2018-07-05 10:31:28 +0200
  • 622129683a Trigger CI rebuild after rocksdb fix https://github.com/status-im/nim-rocksdb/pull/5 mratsim 2018-07-04 14:19:31 +0200
  • 2a3ae3a7b2 loggers are now template again, why does this pass new tests? mratsim 2018-07-04 11:17:53 +0200
  • 1a5b358c53 inline push, swap and dup opcodes mratsim 2018-07-04 11:11:13 +0200
  • b5020ff0ac Revert const gasCosts -> generates SIGSEGV mratsim 2018-07-04 11:07:12 +0200
  • b4b5543417 Enable omputed gotos and compile-time gas fees mratsim 2018-07-04 10:56:10 +0200
  • 5226b58e22 Delete opcode table mratsim 2018-07-03 19:04:48 +0200
  • 18e682da70 delete base.nim 🔥, yet another OO remnants mratsim 2018-07-03 18:56:28 +0200
  • b677c1f12d Delete exceptions that were used as control flows mratsim 2018-07-03 18:53:40 +0200
  • 816b6bca39 Delete object oriented fork code mratsim 2018-07-03 18:50:07 +0200
  • 2348ea031f Delete previous opcode implementation mratsim 2018-07-03 18:10:01 +0200
  • 8e31b88313 Reuse the same stub as OO implementation mratsim 2018-07-03 16:57:53 +0200
  • 8effe7d921 Add tracing - expXY_success is not a regression, sload stub was accidentally passing the test mratsim 2018-07-03 16:16:09 +0200
  • 2e86b9f6e8 update logging procs mratsim 2018-07-03 14:03:05 +0200
  • f0164e9c8f Fix padding / range error on expXY_success (gas computation left) mratsim 2018-07-03 13:51:32 +0200
  • 54bb55dc05 Fix sha3 regression on empty memory slice and until end of range slice mratsim 2018-07-03 12:57:13 +0200
  • 9f3d9e91fe Update for latest devel, don't import old dispatch code as quasiBoolean macro is broken by latest devel mratsim 2018-07-03 12:46:59 +0200
  • eae2a9e1ef Fix jump regressions mratsim 2018-07-03 11:15:01 +0200
  • 1221c732d0 Fix byte op mratsim 2018-07-02 23:51:40 +0200
  • cf08fe7c57 Properly catch and recover from EVM exceptions (stack underflow ...) mratsim 2018-07-02 23:35:18 +0200
  • a8c2c9afdc halt execution without exceptions for Return, Revert, selfdestruct (fix #62) mratsim 2018-07-02 23:09:18 +0200
  • 1befcff887 Make test_vm_json compile mratsim 2018-07-02 22:53:38 +0200
  • 90c014c94c Pass the opcode test mratsim 2018-07-02 17:35:29 +0200
  • 2dc0376d1e Add the new dispatching logic mratsim 2018-07-02 17:04:50 +0200