Commit Graph

312 Commits

Author SHA1 Message Date
jangko 03784848eb
bump nim-graphql version from 0.2.12 to 0.2.14
enhancements:
- scalar `Float` now have proper validation
- seqs are not copied anymore in some places, but using system.move

bugfixes:
- `removeWhitespaces` in test_common no longer eat white spaces
  from quoted string.
- `skipWhitespace` in lexer.nim now preserve \r\n instead of replace it with \n

new features:
- add custom instrument infrastructure
- add Query Complexity instrumen
2021-05-10 22:22:04 +07:00
jangko 7f509a00df
bump nim-graphql from 0.2.10 to 0.2.12
- enhancements:
  - response stream reform:
    - allow for more response stream implementation easily

- features:
  - add NodeRespStream:
    - return AST produced by execution engine instead of serialize
      it into json or something else

  - add store flag to parseSchema and parseQuery family:
    - with this additional flag, both query and schema can be marked
      with stored flag
    - purge also become selective when purging queries
    - dog fooding the introspection schema loader using this flag

bugfixes:
  - next fields will continue execution if there is error:
    - if one field failed, it will not terminate subsequent fields
      execution, but errors are kept.
  - propagate inner field error to it's parent
    - Since Non-Null type fields cannot be null, field errors are propagated to be
      handled by the parent field. If the parent field may be null then it resolves
      to null, otherwise if it is a Non-Null type, the field error is further
      propagated to it’s parent field.

    - If a List type wraps a Non-Null type, and one of the elements of that list
      resolves to null, then the entire list must resolve to null. If the List type
      is also wrapped in a Non-Null, the field error continues to propagate upwards.

    - If all fields from the root of the request to the source of the field error
      return Non-Null types, then the "data" entry in the response should be null.
2021-05-07 17:38:51 +07:00
jangko cf9ed5c2ca
bump nim-graphql
fixes stupid bug in http gzip func
2021-05-05 16:49:30 +07:00
jangko 331a95f363
bump nim-graphql from from 0.2.8 to 0.2.10
- fixes httpserver gzip crc32 calculation
- catch exception and turn it into error code in
  public api functions
2021-05-05 14:07:28 +07:00
jangko 0cdda3c437
bump nim-graphql from 0.2.6 to 0.2.8
- AST node now is inheritable
2021-05-05 11:20:12 +07:00
jangko 44601157f3
bump nim-graphql from 0.2.4 to 0.2.6
bugfixes:
- empty list should be allowed as argument value or input field value

features:
- add `parseSchemas`
2021-05-04 13:01:33 +07:00
jangko 24ce283498
bump nim-graphql from 0.2.2 to 0.2.4
bug fixes:
- fixes copyTree for nkMap node
- fixes queries with variables reusability
- fixes non nullable variables with no runtime value
2021-05-02 15:25:29 +07:00
jangko 86edf449cf
bump nim-graphql from 0.2.0 to 0.2.2
nim-graphql v0.2.2 have numerous bugfixes, but notable ones are:
- only one non-introspection field are allowed in subscription root
- @skip and @include should not allowed for subscription root
- more descriptive error message for playground ethapi, fixes
- fixes GraphiQL client complaint about our instrospection system is old
- graphql http server enhancements: gzip encoding and chunked transfer
2021-05-01 15:08:36 +07:00
jangko 6e79fa3708
bump nim-graphql from 0.1.2 to 0.2.0
- fixes http server response status code
- fixes `__schema.types` and `__schema.directives` implementation
- fixes 'getOperation' in executor.nim
- web ui(graphiql) for http server
2021-04-30 12:56:14 +07:00
jangko 1a68388969
bump nim-graphql submodule from 0.1.0 to 0.1.2
a crash bug is found in nim-graphql validator for
input object value coercion. the bug already fixed.
another non critical bug is about builtin 'specifiedByURL'
directive changed to 'specifiedBy' following the newest
graphql spec.
2021-04-27 12:51:56 +07:00
jangko 1ca4b63c3a
bump chronicles, serialization and json-serialization
recent nim-serialization API changes already made it's way into
toml-serialization. and with the addition of newest toml-serialization
along with it's bugfixes, those submodules mentioned above
become out of date because toml-serialization need newer version of
nim-serialization.
2021-04-24 10:36:48 +07:00
jangko e76e0144d0
add submodules: graphql and toml-serialization 2021-04-22 11:29:42 +07:00
Jacek Sieka 3147df0dcd
switch to chronos metrics, remove insecure (#580)
* switch to chronos metrics, remove insecure

See https://github.com/status-im/nimbus-eth2/pull/2468

also fixes pcre linking for real, and adds some random build flags that
help nimbus-eth2 stay afloat

* fix help

* don't omit frame pointers on windows
2021-04-09 09:26:06 +02:00
Jamie Lokier 6d30b349b3
Bump nim-eth for: Kademlia crash when trying to sync with testnet or mainnet (#489)
Prior to this commit, when using discv4 (Kademlia) to find peers, there is a
crash after a few minutes.  It occurs for most of us on Eth1 mainnet, and
everyone on Ropsten.

Tested for about 4 days constant operation on Ropsten.  The crash which occured
every few minutes no longer occurs, and discv4 keeps working.

Signed-off-by: Jamie Lokier <jamie@shareable.org>
2021-04-07 18:09:22 +01:00
kdeme f34431e2d4
Bump nim-eth and nim-chronos and fix exception effects 2021-04-02 19:55:21 +02:00
jangko 1988d08ad8 bump submodules 2021-03-19 12:30:00 +07:00
jangko a836c122ed bump submodules 2021-02-14 11:01:27 +07:00
jangko 8c5c967715 bump submodules 2021-01-20 11:50:07 +07:00
jangko fab894f5ad
bump nim-blscurve 2020-12-02 15:16:03 +07:00
jangko ed3b753276
add nim-blscurve submodule 2020-11-19 10:56:29 +07:00
jangko 952ad654e4
bump nim-chronos 2020-11-18 17:54:12 +07:00
jangko 71b4c44112
bump submodules 2020-11-17 10:01:00 +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
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
Zahary Karadjov d058509e69
Bump modules 2020-08-19 14:29:09 +03:00
jangko 6e4676e325
bump submodules 2020-08-04 12:32:57 +07:00
Ștefan Talpalaru 46e8870db3
Nim-1.2.6-RC1 (#524) 2020-07-30 14:10:22 +02:00
jangko 063019ab95
bump submodules 2020-07-20 12:35:32 +07:00
jangko 376cbcdfd5
bump nim-eth 2020-07-04 17:16:56 +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
Ș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
Ștefan Talpalaru d0d2b3dd8d
bump vendor/nimbus-build-system 2020-06-01 22:49:23 +02:00
jangko 4a0b3c4f16
bump more submodules 2020-05-14 10:28:07 +07:00
jangko a5d805aac5
bump submodules 2020-05-14 07:50:39 +07:00
Jacek Sieka ff028982d6 bump 2020-04-27 18:40:45 +03:00
Jacek Sieka d441687488 bump 2020-04-27 18:40:45 +03:00
Jacek Sieka ed7dbab70f db: use kvstore from nim-eth 2020-04-27 18:40:45 +03:00
kdeme 55fb4987d7
Bump chronicles + adjust some raises in libnimbus 2020-04-21 14:17:08 +02:00
kdeme 905102c736
Bump nim-eth for waku v1 changes 2020-04-21 14:16:19 +02:00
Jacek Sieka 4ade5797ee
rlp: don't use ranges / experimental features (#495) 2020-04-20 20:12:44 +02:00
Ștefan Talpalaru 73e9199ebf
new initial submodule update strategy (#494)
* new initial submodule update strategy

* Azure: increase timeout

* Makefile: change comment [skip ci]
2020-04-18 14:56:40 +02:00
Jacek Sieka 45a9933d83
vendor: bump (#493) 2020-04-18 00:11:42 +02:00
Ștefan Talpalaru a783b096fe
bump vendor/nimbus-build-system (#491)
* bump vendor/nimbus-build-system

- add the Nim compiler header to the Nimbus header
- also support the USE_LIBBACKTRACE env var

* "go-checks" target no longer available
2020-04-16 00:21:58 +02:00
andri lim b3a519398e bump nim-eth 2020-04-09 19:13:17 +03:00
Ștefan Talpalaru 558c4287fc
bump submodules 2020-04-08 20:36:37 +02:00
Ștefan Talpalaru 89b576298c
bump submodules to match "master" 2020-04-08 20:18:53 +02:00
Ștefan Talpalaru af89b51503
Merge branch 'master' into nim-1.2 2020-04-08 20:16:37 +02:00
Jacek Sieka c1899711c9
keep up with nim-eth (#483)
* keep up with nim-eth
2020-04-07 11:53:50 +02:00
Jacek Sieka 1d472cf090
Eth keys (#482)
* bump nim-eth, fix deprecated calls
2020-04-05 15:12:48 +02:00
Zahary Karadjov d704aed7c0
Bump confutils to fix the Waku build 2020-04-04 00:14:12 +03:00
Zahary Karadjov 9407c35a2f
Use Nim v1.2.0 2020-04-03 22:09:15 +03:00
Zahary Karadjov f8676ec094
Bump nim-chronos to fix the build on Linux 2020-04-03 22:09:15 +03:00
Zahary Karadjov c20e834cdb
Bump nimbus-build-system 2020-04-03 22:09:14 +03:00
Zahary Karadjov 3fc3ba925e
Compile Nimbus with Nim 1.2 2020-04-03 22:09:14 +03:00
Zahary Karadjov 5e27236c88
Bump nim-stew and nim-eth 2020-03-22 19:23:51 +02:00
Zed fff29f7a6a Replace markdown report code with testutils 2020-03-10 14:03:04 +02:00
Ștefan Talpalaru 71129cc2ab
nim-libbacktrace: don't build the C++ wrapper 2020-02-15 13:00:39 +01:00
Kim De Mey d3b8833145
Merge pull request #457 from status-im/waku-topics
Check all subscribed topics in quicksim + bump vendor/nim-eth
2020-02-14 15:44:19 +01:00
Ștefan Talpalaru e3d6f00f24
bump vendor/nim-libbacktrace 2020-02-14 12:51:42 +01:00
kdeme 55fb1294ed
Check all subscribed topics in quicksim + bump vendor/nim-eth 2020-02-14 11:36:37 +01:00
Ștefan Talpalaru 8568ec35ea
enable -march=native by default
plus some drive-by fixes and cosmetic changes
2020-02-13 20:18:27 +01:00
Ștefan Talpalaru e9e33d3a56
bump vendor/nim-libbacktrace 2020-02-13 11:20:53 +01:00
Ștefan Talpalaru f59dec7323
Merge branch 'libbacktrace' 2020-02-11 11:52:21 +01:00
Ștefan Talpalaru 06e0eb80e6
lightweight stack traces
Also converted the top-level nim.cfg into a config.nims, in the process.
2020-02-11 04:33:21 +01:00
Kim De Mey 0a6e1b4ba7 Merge pull request #451 from status-im/remove-waku-mode
Update to use waku topic-interest
2020-02-10 10:04:40 +01:00
kdeme b959b14109
Update to use waku topic-interest 2020-02-07 08:59:19 +01:00
Ștefan Talpalaru 0a0fbad45d
Nim 1.0.6 2020-01-27 16:03:27 +01:00
Ștefan Talpalaru 69a362dd86
Nim 1.0.6 RC 2020-01-27 16:01:42 +01:00
Kim De Mey a2478baeff
Merge pull request #446 from status-im/waku-queue-fixes
Bump vendor/nim-eth for waku/whisper queue fixes
2020-01-23 22:50:12 +01:00
kdeme 2507867d15
Bump vendor/nim-eth 2020-01-23 17:45:39 +01:00
andri lim 3c57cd638f add evmc submodule 2020-01-23 18:07:44 +02:00
Zahary Karadjov d23a33a80c Cosmetic improvements 2020-01-23 12:39:36 +02:00
kdeme 8c3595ff94 Bump vendor/nim-eth and fix changes 2020-01-23 12:39:36 +02:00
kdeme 7b80b313e4 Start implementation of waku node 2020-01-23 12:39:36 +02:00
andri lim f0ff11cc0a bump nim-stint 2020-01-19 19:17:37 +02:00
kdeme 48aa034058
Bump vendor/nim-eth 2019-12-18 11:52:40 +01:00
Ștefan Talpalaru d22b41caaa
bump nim-eth & nim-nat-traversal 2019-12-12 01:58:13 +01:00
Ștefan Talpalaru 0fadd7c309
bump nim-nat-traversal and nimbus-build-system 2019-12-10 17:09:34 +01:00
kdeme 5472924fff Bump several vendor modules 2019-12-05 13:02:21 +01:00
andri lim 5aa52854fe
Revert "bump chronicles 0.6.0 to 0.7.0"
This reverts commit 11432ef97d.
2019-12-05 17:35:34 +07:00
andri lim 11432ef97d
bump chronicles 0.6.0 to 0.7.0 2019-12-05 17:13:42 +07:00
Ștefan Talpalaru 2c247e2dd7
Merge branch 'nim1.0.4' 2019-12-02 10:47:13 +01:00
Ștefan Talpalaru f60ecc133f
Nim 1.0.4 2019-11-29 01:04:25 +01:00
kdeme 001ae6dff6
Bump vendor/nimcrypto 2019-11-28 12:20:22 +01:00
Ștefan Talpalaru 1fb9e07e96
bump vendor/nimbus-build-system 2019-11-22 15:55:21 +01:00
kdeme 4aee9fc7e8 Bump vendor/nim-eth 2019-11-19 11:02:00 +00:00
Ștefan Talpalaru 372f02dbcc
bump vendor/nim-nat-traversal and vendor/nimbus-build-system 2019-11-18 19:09:56 +01:00
Ștefan Talpalaru c1621a518b
bump vendor/nim-metrics 2019-11-10 18:28:55 +01:00
andri lim f21e953b80
bump modules 2019-11-06 23:41:56 +07:00
Ștefan Talpalaru d84e4810d5
unittest2 (parallelism disabled)
This is https://github.com/status-im/nimbus/pull/332 with parallelism
disabled, while some threadpool deadlock is being debugged.
2019-10-31 06:17:01 +01:00
Ștefan Talpalaru fab1628383
bump vendor/nimbus-build-system 2019-10-29 15:57:51 +01:00
Ștefan Talpalaru ebe7544a67
bump vendor/nimbus-build-system 2019-10-29 15:30:17 +01:00
Ștefan Talpalaru 506f1e88bd
ARM CI: apt-get update 2019-10-29 00:20:16 +01:00
andri lim ade81341c3
update nimbus-build-system 2019-10-28 22:50:30 +07:00