narimiran
36a75197d2
write `Fork` enum in a "modern way"
...
This provides the same functionality as `$` proc, but it keeps working
with Nim 1.3+, where `parseEnum` implementation has been changed to be
able to work with enums with holes (after a bugfix for them).
Note that the first character is case-sensitive and "Constantinople" !=
"constantinople".
Since the tests (`test_op_arith` and `test_op_bit`) use lower-case first
letter, the string representation is also changed to the lower-case.
2020-09-03 10:03:20 +02:00
andri lim
285d1ae7d8
Merge pull request #522 from status-im/fix_evmc
...
Fix evmc set_storage and cleanup sstore gasCost
2020-07-21 22:16:56 +07:00
jangko
6ffb33ccac
cleanup sstore gasCost
2020-07-21 20:13:58 +07:00
jangko
2f3a22d840
fix evmc_host.set_storage
2020-07-21 19:58:17 +07:00
andri lim
95f6711304
Merge pull request #521 from status-im/reduce_warnings
...
Reduce warnings
2020-07-21 16:46:18 +07:00
jangko
04dcec03a3
fix missing import when chronicles enabled
2020-07-21 15:12:59 +07:00
jangko
207065746c
reduce more warnings
2020-07-21 13:25:27 +07:00
jangko
165f9fea2e
reduce warnings
2020-07-21 13:15:06 +07:00
andri lim
6078ff3a62
Merge pull request #520 from status-im/fix_compilation_error
...
fix random_keys crash
2020-07-21 12:19:05 +07:00
jangko
91eb5db346
save some CI time by combining tools build
2020-07-21 11:28:03 +07:00
jangko
ab5c763a84
move rng to configuration
2020-07-21 00:16:59 +07:00
jangko
45bbf65470
fix libnimbus compilation error due to nim-eth changes
2020-07-20 17:03:20 +07:00
jangko
9ee04efca4
fix random_keys crash
2020-07-20 15:16:34 +07:00
jangko
845671bf0a
fix compilation error following breaking changes in nim-eth
2020-07-20 13:50:05 +07:00
jangko
063019ab95
bump submodules
2020-07-20 12:35:32 +07:00
andri lim
bfd7113035
Merge pull request #519 from status-im/block_witness_short_rlp
...
explicit block witness short rlp support
2020-07-09 21:57:25 +07:00
jangko
c8871bd00c
fix test_block_witness
2020-07-09 08:25:18 +07:00
jangko
a2de3067a9
add test for short rlp in block witness
2020-07-08 23:17:48 +07:00
jangko
883f03b732
update block witness docs
2020-07-08 21:14:19 +07:00
jangko
0d0bc35137
block witness spec changes: explicit short rlp encoding
2020-07-08 21:05:20 +07:00
andri lim
f81b3d5b96
Merge pull request #518 from status-im/forkid
...
implement forkid calculation and tests for each supported network
2020-07-05 08:26:30 +07:00
jangko
376cbcdfd5
bump nim-eth
2020-07-04 17:16:56 +07:00
jangko
e37cacd8f1
implement forkid calculation and tests for each supported network
2020-07-04 13:23:09 +07:00
andri lim
069e125f98
Merge pull request #517 from status-im/bump_modules
...
bump submodules
2020-06-24 23:11:55 +07:00
jangko
2ef8179ab0
fix libnimbus compilation errors related to eth/keys changes
2020-06-24 20:33:08 +07:00
jangko
12ddfee675
fix compilation error related to lib-secp256k1 changes
2020-06-24 17:07:33 +07:00
jangko
51f2017b03
add bearssl submodule
2020-06-24 13:10:09 +07:00
jangko
702977276b
bump vendor/news
2020-06-24 12:57:44 +07:00
jangko
ef5a964b42
bump submodules
2020-06-24 11:44:09 +07:00
Ștefan Talpalaru
75b5d4effe
Makefile: move "nat-libs" to "deps"
2020-06-22 17:12:12 +02:00
andri lim
6ea488e037
Merge pull request #516 from status-im/validate_block_witness
...
syncing with PoA chain
2020-06-22 11:56:56 +07:00
jangko
438ad832cc
fix rpc/p2p.nim
2020-06-22 10:59:24 +07:00
jangko
f401622782
cache miner address instead of recalculation
2020-06-22 07:48:23 +07:00
jangko
9d0b399213
fix accounts_cache: move overlayStorage to originalStorage when not clearCache
2020-06-20 18:45:09 +07:00
jangko
2385df7bae
miner address calculation for PoA consensus engine
2020-06-19 20:24:09 +07:00
jangko
2e583e9aa0
fix persist tool to support testnet
2020-06-19 17:52:19 +07:00
jangko
3931c1ff5c
fix tracer to support testnet
2020-06-19 17:51:53 +07:00
jangko
bd7e1fe2e5
reuse VMState and AccountsCache for better performance
2020-06-18 13:16:38 +07:00
jangko
49460b6b1e
move buildWitness from test_blockchain_json to vm_state
2020-06-18 13:16:38 +07:00
jangko
eabacb0a33
allow nimbus to read geth database
2020-06-18 13:16:25 +07:00
Ștefan Talpalaru
3eef659d19
Merge pull request #514 from status-im/Nim-1-2-2
...
Nim-1.2.2
2020-06-17 18:23:03 +02:00
Ștefan Talpalaru
b4f5d8d62f
Nim-1.2.2
2020-06-17 15:10:07 +02:00
Ștefan Talpalaru
6fcf7f4ef4
add link to nimbus-build-system docs
2020-06-13 02:03:02 +02:00
andri lim
5eab20ccb9
Merge pull request #515 from status-im/block_witness
...
Stateless client experiment: Generate block witness after block validation
2020-06-09 10:03:07 +07:00
jangko
3947e9a853
piggyback generate block witness test on test_blockchain_json
2020-06-06 10:26:36 +07:00
jangko
7c026e1b48
modify VMState to enable witness data collection
2020-06-06 10:05:11 +07:00
jangko
50816f2ebb
implement block witness data collection in accounts_cache
2020-06-03 20:50:13 +07:00
jangko
7d062e171b
block witness: add test for unwanted multiple identical keys when constructing witness from trie
2020-06-02 12:27:13 +03:00
andri lim
fc271b3e8d
Merge pull request #512 from status-im/bump
...
bump vendor/nimbus-build-system
2020-06-02 11:24:20 +07:00
andri lim
a5e9db6ee1
Merge pull request #511 from status-im/accounts_cache
...
stateless client experiment: switch `state_db` to `accounts_cache`
2020-06-02 09:31:07 +07:00