Commit Graph

2000 Commits

Author SHA1 Message Date
jangko 18bfd34d84
remove some of json fixtures 2021-01-06 17:01:03 +07:00
andri lim 2dfa50c9a2
Merge pull request #547 from status-im/enumcase
test_precompiles: fix enum case
2020-12-10 08:44:11 +07:00
Ștefan Talpalaru 5e17bd5e16
test_precompiles: fix enum case
This fixes compilation with Nim-1.4.2.
2020-12-09 04:04:27 +01:00
andri lim de12fb3c94
Merge pull request #546 from status-im/eip2537
Eip2537 implementation
2020-12-02 20:39:24 +07:00
jangko c84e34cac6
simplify blscurve utils impl 2020-12-02 18:14:34 +07:00
jangko 397119468a
simplify bncurve getPoint 2020-12-02 16:17:52 +07:00
jangko fab894f5ad
bump nim-blscurve 2020-12-02 15:16:03 +07:00
jangko fec9d26873
more eip2537 cleanup 2020-12-02 15:15:58 +07:00
jangko 90415d537f
add map_to_curve_g1 implementation for miracl 2020-11-30 21:19:46 +07:00
jangko 3f79588a74
EIP2537 part 3 2020-11-29 08:01:17 +07:00
jangko 0799b4534c
EIP2537 part 2 2020-11-28 23:13:10 +07:00
andri lim b72d91ce32
Merge pull request #545 from narimiran/change-case
change case of `berlin`
2020-11-27 21:43:19 +07:00
jangko c1b7ae5b02
EIP2537 part 1 2020-11-27 21:42:17 +07:00
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