jangko
3a826b8406
replace all unittest usage with unittest2
...
- test_graphql
- test_rpc
- test_hexstrings
fixes #691
2021-06-21 20:30:01 +07:00
jangko
a0d10f5728
drop PublicNetwork enum usage and replace it with NetworkId
...
we cannot limit the `--networkid` switch to values available in
`PublicNetwork` enum. it should able to accept very wide range of
custom NetworkId.
2021-05-20 14:04:16 +07:00
jangko
f2491e6307
fixes crappy custom genesis and chain config parser
...
instead of using stdlib/json, now we switch to json_serialization
the result is much tidier code and more robust when parsing
optional fields.
fixes #635
2021-05-13 16:04:08 +07:00
jangko
5ee918f4ef
fixes test_graphql crash due to recent changes related to `chainId`
...
now test_graphql takes another route to initialize the empty db
that is safer instead of bypassing commonly used route.
2021-05-12 09:45:09 +07:00
jangko
10142ad711
add missing `disableParamFiltering` in test_graphql.nim
...
if there is no `disableParamFiltering()`, and the test is run via
all_tests.nim, no test unit will be executed
2021-05-04 13:03:08 +07:00
jangko
a95cec3aa8
add graphql test suite
2021-04-24 11:01:56 +07:00