Commit Graph

2087 Commits

Author SHA1 Message Date
narimiran 73c4837d0d change case of `berlin`
In `vm_forks.nim`, `FkBerlin`'s value is (lowercase) `"berlin"`.

Another example of using lowercase in similar code:
`constantinople` in `test_op_bit.nim`
2020-11-27 09:50:28 +01:00
andri lim 360b74327e
Merge pull request #544 from status-im/precompiles_test_rework
Precompiles test rework
2020-11-26 10:34:26 +07:00
jangko 92fec713db
add EIP2537 test vectors 2020-11-25 20:55:53 +07:00
andri lim 4d52d2fb92
Merge pull request #543 from status-im/eip_2315
EIP 2315: implement jumpsub, beginsub, and returnsub opcode
2020-11-25 20:55:30 +07:00
jangko 971e00e580
precompile contracts test rework 2020-11-25 20:42:15 +07:00
jangko 56bc1205e5
returnStack: use seq[int] instead of Uint256 Stack 2020-11-25 19:09:16 +07:00
jangko a263e6b1a6
implement EIP2315 tests 2020-11-25 18:23:02 +07:00
jangko a38882a9a0
implement EIP 2315 opcodes 2020-11-25 17:09:10 +07:00
jangko 5a78b8a5a7
stubbing berlin opcodes 2020-11-25 16:43:34 +07:00
jangko e2cd9b20fa
add returnStack to Computation 2020-11-25 16:26:24 +07:00
andri lim 6e122f1878
Merge pull request #542 from status-im/eip_2565
implement EIP2565
2020-11-24 18:59:33 +07:00
jangko 5bb6418bcb
implement EIP2565 2020-11-24 16:19:02 +07:00
andri lim 34fd5eed3c
Merge pull request #541 from status-im/eip_2046
implement EIP 2046
2020-11-19 17:03:46 +07:00
jangko 97f73fd03d
implement EIP 2046 2020-11-19 14:23:07 +07:00
andri lim cd98ddbbd3
Merge pull request #539 from status-im/prepare_berlin
Preparation for Berlin HF
2020-11-19 13:03:20 +07:00
jangko c68aa47464
fixes fork comparison related code 2020-11-19 11:59:53 +07:00
jangko 648cc77f80
add berlin hf enum 2020-11-19 10:58:37 +07:00
jangko ed3b753276
add nim-blscurve submodule 2020-11-19 10:56:29 +07:00
andri lim da69d3ef2a
Merge pull request #538 from status-im/bump_chronos
bump nim-chronos
2020-11-18 20:07:17 +07:00
jangko 952ad654e4
bump nim-chronos 2020-11-18 17:54:12 +07:00
andri lim bf5f1aef28
Merge pull request #537 from status-im/update_submodules
bump submodules
2020-11-17 14:56:10 +07:00
jangko 71b4c44112
bump submodules 2020-11-17 10:01:00 +07:00
zah 4e77dc220c
Update README.md 2020-10-07 21:48:46 +03:00
andri lim 53a3cbbcb1
Merge pull request #535 from status-im/bump_modules
bump submodules
2020-10-01 15:05:52 +07:00
jangko d5f45f13da
bump nim-eth and nim-stew 2020-10-01 14:06:47 +07:00
jangko 43308c8e76
bump submodules 2020-09-30 13:09:54 +07:00
andri lim a105de1e30
Merge pull request #529 from status-im/bump_modules
bump submodules
2020-09-16 10:46:10 +07:00
jangko e31a2ec3fc
replace tormund/news with status-im/news 2020-09-15 11:40:52 +07:00
jangko 1c7316a419
bump submodules 2020-09-10 09:54:36 +07:00
andri lim 676ce3aedb
Merge pull request #528 from narimiran/parse-enum-2
write `Fork` enum in a "modern way"
2020-09-04 15:09:01 +07:00
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
Zahary Karadjov d058509e69
Bump modules 2020-08-19 14:29:09 +03:00
andri lim 78f72be6e4
Merge pull request #525 from status-im/bump_submodules
bump submodules
2020-08-17 20:27:01 +07:00
jangko 6e4676e325
bump submodules 2020-08-04 12:32:57 +07:00
andri lim 66ade681b6
Merge pull request #523 from status-im/implement_rpc
[WIP] RPC implementation and test
2020-07-31 11:42:37 +07:00
Ștefan Talpalaru 46e8870db3
Nim-1.2.6-RC1 (#524) 2020-07-30 14:10:22 +02:00
jangko f6774b636a
fix premix/parser 2020-07-30 15:24:22 +07:00
jangko f987e86562
implement more eth rpc 2020-07-30 14:21:11 +07:00
jangko 9c38266ba7
implement eth_estimateGas 2020-07-29 12:42:32 +07:00
jangko c9802edfce
setup block and state env for more complex eth rpc tests 2020-07-28 23:48:45 +07:00
jangko d089a61539
add compiletime evm bytecode generator to macro_assembler 2020-07-24 19:54:27 +07:00
jangko bb89a296dd
implement eth_signTransaction, eth_sendTransaction, eth_sendRawTransaction, eth_call 2020-07-24 19:44:36 +07:00
jangko 7819dae7ce
implement eth_signTransaction 2020-07-23 22:30:42 +07:00
jangko d200a98a68
fix compilation error 2020-07-23 16:01:19 +07:00
jangko f82dff64fa
implement more eth rpc and keystore management 2020-07-23 14:54:32 +07:00
jangko 336efdb0c3
implement web3, net, and some eth namespace rpc 2020-07-22 23:57:55 +07:00
jangko 032c29288a
fix git revision string in config.nim 2020-07-22 18:40:12 +07: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