Ș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
andri lim
83e01994df
add total count to test helpers
2018-12-26 23:45:57 +02:00
Ștefan Talpalaru
6a24701bbf
Merge branch 'segfault'
2018-12-18 14:27:28 +01:00
Ștefan Talpalaru
048a43b2f1
better error handling
...
- added some useful `chronicles` defines in the top-level nim.cfg
- converted some assert() calls to error codes to avoid a reported
segfault with -d:release
- the recoverable errors are being recovered from, in persistWorkItem()
- the only case that's a show stopper raises an exception
2018-12-17 23:36:38 +01:00
andri lim
ff08a6ad95
fix some typo
2018-12-16 15:38:51 +02:00
andri lim
d3380f6cf0
fix test
2018-12-16 15:38:51 +02:00
andri lim
8c6cec4999
fix getTransactionReceipt
2018-12-16 15:38:51 +02:00
andri lim
9c0bb70ba7
working makeReceipt
2018-12-16 15:38:51 +02:00