Commit Graph

3558 Commits

Author SHA1 Message Date
coffeepots a5ea8c67bd Update nonce type 2018-08-21 13:33:37 +01:00
coffeepots 8524c0b060 Fixes (eg eth_getTransactionCount) and helper funcs 2018-08-21 13:33:37 +01:00
coffeepots 3f2311be23 Add ref EthAddress 2018-08-21 13:33:37 +01:00
coffeepots 2702412431 Add some error checking for missing body hash 2018-08-20 21:14:30 +01:00
coffeepots d14e3de35b eth_getUncleByBlockNumberAndIndex 2018-08-20 21:06:26 +01:00
coffeepots 96eafbf26b eth_getUncleByBlockHashAndIndex, populate uncle hashes, not full uncles 2018-08-20 20:52:09 +01:00
coffeepots cb23bc0fdd Update block object to include hashes in uncles, not full block header 2018-08-20 20:51:25 +01:00
coffeepots c53b2502d7 eth_getTransactionReceipt 2018-08-20 20:42:40 +01:00
coffeepots 3dad7fbba8 Update receipt types 2018-08-20 20:29:40 +01:00
Mamy Ratsimbazafy 18e93903c9
Add the new experimental forloopmacros flag for Stint fix #109 (#110)
* Add the new experimental forloopmacros flag for Stint

* Use a .nimble switch instead of .cfg
2018-08-20 16:13:32 +02:00
coffeepots 39e0185cac Add receipt object 2018-08-17 23:51:05 +01:00
coffeepots d85c513453 eth_getTransactionByBlockNumberAndIndex 2018-08-17 20:06:43 +01:00
coffeepots bc5a4351d3 eth_getTransactionByBlockHashAndIndex 2018-08-17 20:03:30 +01:00
coffeepots 7527b52d11 eth_getTransactionByHash 2018-08-17 19:53:47 +01:00
coffeepots 6b49407952 Updates to TransactionObject in line with internal types 2018-08-17 19:53:22 +01:00
coffeepots be0f77870c Add getTransactionKey 2018-08-17 19:52:48 +01:00
coffeepots c9de0fbd29 Reduce range of cleanMemRef 2018-08-17 17:16:40 +03:00
coffeepots fd7062fecb Fix VMTest message creation in 32 bits, also duplicated word in comment 2018-08-17 17:16:40 +03:00
coffeepots ff52d75fc0 Fix overflowing int in 32 bit 2018-08-17 17:16:40 +03:00
coffeepots 5cd81ef3ac Update doAssert to display the correct contents of stint values 2018-08-17 17:16:40 +03:00
coffeepots 66adba9037 Fix for gas costs in 32 bit 2018-08-17 17:16:40 +03:00
coffeepots 1bf432fd46 Fix for VMTest parseHex in 32 bit 2018-08-17 17:16:40 +03:00
Dustin Brody a12b0771d6 remove superflous when true block, retained from when VMTests wasn't passing 2018-08-16 16:07:45 -04:00
coffeepots 691adf0e23 Update TransactionObject to use Blob 2018-08-16 20:25:50 +01:00
coffeepots 7ee928f5fd Update nonce type 2018-08-16 20:04:14 +01:00
coffeepots 2f9311db67 Fixes (eg eth_getTransactionCount) and helper funcs 2018-08-16 18:25:17 +01:00
coffeepots c429aa0285 Add ref EthAddress 2018-08-16 17:41:40 +01:00
coffeepots 0db650199b
Merge pull request #108 from status-im/moreRpcs1
More rpcs
2018-08-16 15:46:43 +01:00
coffeepots 22590dea32 eth_getBlockByNumber, using actual BlockHeader hash now 2018-08-15 14:12:49 +01:00
coffeepots 845866fc97 eth_getBlockByHash, changes to support returning marshalled Nim types 2018-08-15 14:08:40 +01:00
coffeepots 1826c0ce92 Add JSON transform for bloom filter 2018-08-15 14:07:06 +01:00
coffeepots b6a73327c3 Converted rpc types to Nimbus types in line with changes to hexstrings 2018-08-15 13:14:32 +01:00
coffeepots 4b03f6d4db Updated hexstrings to translate common Nimbus types to hex strings 2018-08-15 13:13:30 +01:00
coffeepots 88ab097a61 Add json converters for byte array and UInt256 types to hex string 2018-08-14 20:22:04 +01:00
coffeepots ee15f4a995 eth_getCode and helper func strToAddress 2018-08-14 18:22:31 +01:00
coffeepots 25f8123c6f eth_getUncleCountByBlockNumber 2018-08-14 16:55:57 +01:00
coffeepots 0e9edf8032 eth_getUncleCountByBlockHash 2018-08-14 16:55:28 +01:00
coffeepots b9906fb263 eth_getBlockTransactionCountByNumber 2018-08-14 16:54:59 +01:00
coffeepots 1871a7b090 eth_getBlockTransactionCountByHash 2018-08-14 16:53:45 +01:00
coffeepots 404d4d883d eth_getTransactionCount 2018-08-14 16:52:30 +01:00
Yuriy Glukhov 55b5dbd719 Raise KeyError when key not found 2018-08-14 18:40:59 +03:00
Dustin Brody f91bb16bdd Initial EVMC message type API matching: reorder overlapping fields to match EMVC; rename to to destination; replace isStatic with more general flags (with only one non-zero value); remove superfluous-seeming shouldTransferValue; keep internalFoo fields, which aren't in PyEVM either, so weren't per se part of PyEVM matching 2018-08-14 15:03:18 +03:00
coffeepots c3fbb0a098 Add eth_syncing, eth_getStorageAt, eth_blockNumber, eth_coinbase and some stubs 2018-08-13 19:29:38 +01:00
coffeepots fb185b7965 Update RPC signatures 2018-08-13 19:26:34 +01:00
coffeepots 370da80478 Add types to support RPC data transfer 2018-08-13 19:25:21 +01:00
coffeepots 0b5d8d53be Added EthHashStr tests 2018-08-13 19:03:09 +01:00
coffeepots 4c38ede9c9 Add EthHashStr validation 2018-08-13 18:39:17 +01:00
coffeepots d1f283b004 Updated test_rpc to use EthAddressStr 2018-08-13 17:34:54 +01:00
coffeepots 6aab8b05c5 Included tests for EthAddressStr 2018-08-13 17:34:14 +01:00
coffeepots e4d1c6817a Added EthAddressStr to validation 2018-08-13 17:33:57 +01:00