Commit Graph

428 Commits

Author SHA1 Message Date
Jacek Sieka fa92b99322
build rocksdb on osx as well 2018-08-31 09:47:41 -06:00
coffeepots 77df371cd1 Update toSignature to use range instead of UInt256 2018-08-31 17:18:19 +03:00
Jacek Sieka db202dc35f
replace logging module with nim-chronicles (fixes #38)
This blindly changes logging to nim-chronicles - issues that ensue:

* keeps gas cost computation logs hidden behind flag
* unclear if logScope is practical - for example, since vm is split over
many files, topics get lost when using simple top-level per-module
topics
* when passing named object around, scope should incliude the name of
the object but this is caught neither by logScope nor by dynamicLogScope
2018-08-29 16:13:03 -06:00
coffeepots 055b169e86 Merge branch 'master' of https://github.com/status-im/nimbus 2018-08-29 18:13:10 +01:00
coffeepots 2f6f9b765c Use getSender from transactions, Re-add getAccountDb, fix accountDbFromTag 2018-08-29 18:12:39 +01:00
coffeepots 372ea24c41
Merge pull request #125 from status-im/getSenderReturn
Alternative form of getSender that raises and returns address
2018-08-29 18:07:04 +01:00
coffeepots 3adc9f04f7
Merge pull request #124 from status-im/chain-db-interface
Separate Chain from ChainDB
2018-08-29 17:53:52 +01:00
coffeepots e59d019a03
Merge branch 'master' into chain-db-interface 2018-08-29 17:23:25 +01:00
coffeepots bdb1904fd5 Alternative form of getSender that raises and returns address 2018-08-29 16:52:12 +01:00
coffeepots ffa5aafab4 Get block RPCs now return Option[BlockObject] 2018-08-29 16:01:43 +03:00
coffeepots 396f31f643 Updated to use option types 2018-08-29 16:01:43 +03:00
coffeepots f3df5156d9 Update to option types instead of refs 2018-08-29 16:01:43 +03:00
coffeepots 18d62d8c79 toSignature is now a proc 2018-08-29 16:01:43 +03:00
coffeepots 74a4ab6efc Update len to template 2018-08-29 16:01:43 +03:00
coffeepots ae03675b07 Use toCanonicalAddress in getSender 2018-08-29 16:01:43 +03:00
coffeepots 4e007e7d6c Update transaction hash to not include tx signature 2018-08-29 16:01:43 +03:00
coffeepots 6a55c59cc5 Simplify populating transaction object by moving fetching inside proc 2018-08-29 16:01:43 +03:00
coffeepots bdb48b9438 Update account gas in transaction blocks 2018-08-29 16:01:43 +03:00
coffeepots f8a3581af5 Add sender address derivation for several RPCs 2018-08-29 16:01:43 +03:00
coffeepots 55fee296d8 Update estimateGas return type, copy header logs bloom for block header 2018-08-29 16:01:43 +03:00
coffeepots 53bd7774db Add sender to getReceipt, calculate transaction hash once 2018-08-29 16:01:43 +03:00
coffeepots d901c20bb2 Add toSignature(Transaction) and getSender(Transaction) local procs 2018-08-29 16:01:43 +03:00
coffeepots 3f1e140d59 Add hex data string checking to web3_sha3 2018-08-29 16:01:43 +03:00
coffeepots 6223a9a638 Add eth_newFilter stub now types are fixed 2018-08-29 16:01:43 +03:00
coffeepots dedb63a7f7 eth_sign (sans retrieval of account private key) 2018-08-29 16:01:43 +03:00
coffeepots f51fca2cae Add cumulativeGas to receipts, update FilterLog type, getWork type 2018-08-29 16:01:43 +03:00
coffeepots f151911ddf Updates to use GasInt and Filter Logs 2018-08-29 16:01:43 +03:00
coffeepots 33b7dd931b Add Whisper RPC prototypes 2018-08-29 16:01:43 +03:00
coffeepots 3f3c4249ba Add Whisper types 2018-08-29 16:01:43 +03:00
coffeepots 3f2f8f83b4 Add WhisperIdentityStr 2018-08-29 16:01:43 +03:00
coffeepots fec18e4ec2 Add WhisperIdentity string, clean up len func 2018-08-29 16:01:43 +03:00
Yuriy Glukhov e3be8ca30a Separate Chain from ChainDB 2018-08-29 11:49:01 +03:00
Jacek Sieka df88326cfd
Merge pull request #116 from status-im/test-ccache
travis: use ccache
2018-08-28 19:26:38 -06:00
Jacek Sieka 6df5daee5e
travis: check for nimble also 2018-08-26 21:51:23 -06:00
Jacek Sieka e34578b019
travis: clean nim dir before building 2018-08-26 15:09:43 -06:00
Jacek Sieka a5660439ce
travis: use public git repo url 2018-08-26 14:56:52 -06:00
Jacek Sieka 1d80646127
travis: quote 2018-08-26 09:34:10 -06:00
Jacek Sieka 87163160df
travis: cache full nim installation 2018-08-26 09:22:29 -06:00
coffeepots f4ba2ea172
Merge pull request #119 from status-im/getSenderFromTransaction
Remove BaseTransaction object, add transaction.getSender()
2018-08-24 19:32:04 +01:00
coffeepots 6b68d6ddb2 Fixed wrong equality 2018-08-24 18:34:54 +01:00
Jacek Sieka 1bc8bb2e11
appveyor: match travis build and use nimble install -dy for dependencies (avoids compiling broken parsts of deps) 2018-08-24 11:21:19 -06:00
coffeepots 3b82c9bd44 Remove and 0xff 2018-08-24 17:03:44 +01:00
coffeepots c3f73860a4 Remove defunct comment 2018-08-24 16:52:48 +01:00
coffeepots 7542b42d32 Remove BaseTransaction object, add transaction.getSender() 2018-08-24 16:46:48 +01:00
Jacek Sieka c338a948db
appveyor: use status-im/Nim branch 2018-08-24 07:13:48 -06:00
Jacek Sieka 592f8bf061
vscode: add default build task 2018-08-22 21:43:22 -06:00
Jacek Sieka 84f992d9df
travis: cache creates directory - check file instead before downloading 2018-08-21 14:15:26 -06:00
Jacek Sieka 4aca1e5b9c
travis: try caching full rocksdb build 2018-08-21 14:12:23 -06:00
Jacek Sieka c1d405a032
travis: install rocksdb from tarball instead 2018-08-21 13:35:40 -06:00
Jacek Sieka fcbd10e6f7
travis: simplify script 2018-08-21 13:13:35 -06:00