Commit Graph

760 Commits

Author SHA1 Message Date
Ștefan Talpalaru a2a11ed7aa document env var 2019-01-09 22:26:40 +02:00
Ștefan Talpalaru e267254b4c Makefile modifications
- dependency repos moved to "vendor/<package name>"; delete
  "vendor/repos" by hand after making sure it contains no unpushed work
- fixed the "validator_keygen" build and merged it with that of "beacon_node"
2019-01-09 22:26:40 +02:00
Ștefan Talpalaru 262eefac26 - marked the phony targets explicitly
- replaced `nimble` with `nim` for compiling, since `nim` already knows
  how to add the Nimble packages to its module path
- better target dependencies for "beacon_node" and "validator_keygen"
2019-01-09 14:25:00 +02:00
Ștefan Talpalaru afb76ff65c rebuild Nimble's package db when cloning newly added REPOS items 2019-01-09 14:25:00 +02:00
Zahary Karadjov 8b054858b3 Add build targets for nim-beacon-chain 2019-01-09 14:25:00 +02:00
Ștefan Talpalaru bd9d15d947 new build system
- isolate dependencies (both Git repos and ".nimble" dir) in "vendor"
- ensure that everything is compiled using our version of Nim with
  something as simple as "make"
- pull the latest changes with "make update"
- re-create Nimble's package dir and re-build the Nim compiler automatically when needed
- "env.sh" script that can be used to prefix any command that needs to use
  "nim" or "nimble" from our Nim repo
- move the top level nim.cfg to nimbus/nim.cfg so it doesn't apply to
  deps
- "fetch-dlls" `make` target for Windows to get precompiled Snappy, RocksDB and SQLite DLLs
2019-01-09 14:25:00 +02:00
Jacek Sieka 74add30c5f
Merge pull request #208 from status-im/cleanup
ForLoopMacros cleanup
2019-01-07 11:40:43 -06:00
Ștefan Talpalaru 00afb0889c
ForLoopMacros cleanup 2019-01-07 18:13:08 +01:00
Ștefan Talpalaru 89044b84e7 update Nimbus header and refine db backend picking
- dynamically generated copyright year interval
- added the db backend to the header
- documented the db-backend-changing define, made it case insensitive
  and ensured wrong values would trigger compilation errors
2019-01-07 01:21:29 +02:00
Ștefan Talpalaru 6d234b70d7
Merge branch 'eth_estimateGas' 2019-01-06 21:20:41 +01:00
Ștefan Talpalaru 7c7260552d
rebase and various fixes
- port to new APIs
- added copyright headers
- bumped the copyright interval in modified files
- fixed tests
- reorganised imports
- normalised function names
- deleted some trailing space
- added test_rpc to all_tests
- assert() -> doAssert()
- moved the RPC port in a constant for the test suite
2019-01-06 20:19:48 +01:00
coffeepots d19a7f7c04
Add simple test for eth_estimateGas 2019-01-06 19:03:35 +01:00
coffeepots 2c1c3d6c76
Update eth_estimateGas sig for testing 2019-01-06 19:03:35 +01:00
coffeepots 20933f494b
Moved and unstubbed intrinsicGas from vm_state_transactions 2019-01-06 19:03:35 +01:00
coffeepots c2fae69318
Add assertion to check for canonical head 2019-01-06 19:03:34 +01:00
coffeepots ab0f8f6748
Update eth_estimateGas to use optional types 2019-01-06 19:03:34 +01:00
coffeepots 3f1122702e
Initial commit for eth_estimateGas 2019-01-06 19:03:34 +01:00
coffeepots ac9fb37465
Initial commit for eth_estimateGas 2019-01-06 19:03:20 +01:00
Ștefan Talpalaru 03c1664c8a
update test logs 2019-01-06 14:27:06 +01:00
andri lim b93d809805 fix internal transactions account tracing 2019-01-06 13:17:25 +02:00
andri lim 281b7dffac implement debug_setHead 2019-01-06 13:17:08 +02:00
andri lim 74d728f962 pass additional 15 general state tests 2019-01-06 13:16:45 +02:00
andri lim e78fb72ef6 fixes #188 2019-01-06 13:16:45 +02:00
andri lim 041ed689aa fix silly typo mistake 2019-01-06 11:43:38 +02:00
andri lim 96b18cfce3 add select_backend module 2019-01-06 11:43:38 +02:00
andri lim 0487720769 fix capturedb bug 2019-01-06 11:43:38 +02:00
andri lim 7683f68c15 fix statediff bug 2019-01-06 11:43:38 +02:00
andri lim ab0fb7fdf0 fix getScore 32bit bug 2019-01-06 11:43:38 +02:00
andri lim 3a10f99694 add persistblock test 2019-01-06 11:43:38 +02:00
andri lim 5cf43c2909 implement dumpDebuggingMetaData 2019-01-06 11:43:38 +02:00
andri lim 8a6d351c22 add internal transactions dump 2019-01-06 11:43:38 +02:00
andri lim 5fc134ac2a add lmdb backend 2019-01-06 11:43:38 +02:00
andri lim 3b5562d85b rebase 2019-01-06 11:43:38 +02:00
andri lim a6bf970b1b some cleanup 2019-01-06 11:43:38 +02:00
andri lim 9db4e9296a add tracer test 2019-01-06 11:43:38 +02:00
andri lim e3fee70f0a fixes tracer 2019-01-06 11:43:38 +02:00
andri lim 890e8e11a4 dumpDebuggingMetaData stub 2019-01-06 11:43:38 +02:00
andri lim 3a355e0569 implement debug_traceBlock 2019-01-06 11:43:38 +02:00
andri lim 6dc4b0be9a implement dumpBlockState 2019-01-06 11:43:38 +02:00
andri lim 35c1c7e075 move block processing to executor 2019-01-06 11:43:38 +02:00
andri lim f613f8b3c6 add dumpBlockState stub 2019-01-06 11:43:38 +02:00
andri lim 403e12b91f add statediff to traceTransaction 2019-01-06 11:43:38 +02:00
andri lim 9d6dbceefc add enable/disableTracing to vm_state 2019-01-06 11:43:38 +02:00
andri lim b159b5c945 remove lastOpCodeHasRetVal, make it simpler 2019-01-06 11:43:38 +02:00
Ștefan Talpalaru 26ee2fce26 fix breakage with Nim HEAD 2019-01-04 15:39:16 +02:00
Bruno Škvorc 0c2e3eb204
Update README.md 2019-01-02 14:50:44 +01:00
Bruno Škvorc e24bf52624
Update README.md 2019-01-02 14:50:29 +01:00
Ștefan Talpalaru d556cf7641
Merge branch 'jangko-fix_datadir' 2018-12-28 13:14:29 +01:00
andri lim 40f094f6d5 fix datadir typo 2018-12-28 15:24:57 +07:00
Bruno Škvorc f874f675a0
Update README.md 2018-12-27 15:32:35 +01:00