nwaku/tests/common
Ivan FB ed09074cc3
chore: message.nim - set max message size to 150KiB according to spec (#2298)
* message.nim: set max message size to 150KiB according to spec

Using KiB instead of KB because that seems more aligned with
the actual default defined in nim-libp2p (1024 * 1024)

Spec details: https://rfc.vac.dev/spec/64/#message-size

* test_protocol.nim: align test to current WakuMessage limit
* test_waku_client.nim: adapt test to MaxWakuMessageSize change
* make maxMessageSize configurable for wakunode2
* wakunode2 app now accepts max-num-bytes-msg-size with KiB, KB, or B units
* testlib/wakunode.nim: set maxMessageSize: "1024 KiB"
* test_waku_client.nim: remove duplicate check in "Valid Payload Sizes"
* set DefaultMaxWakuMessageSizeStr as the only source of truth
* external_config.nim: rename max-num-bytes-msg-size -> max-msg-size
2024-01-03 13:11:50 +01:00
..
test_all.nim chore: message.nim - set max message size to 150KiB according to spec (#2298) 2024-01-03 13:11:50 +01:00
test_base64_codec.nim tests(common): extend base64 test coverage 2023-03-01 10:28:55 +01:00
test_confutils_envvar.nim chore: vendor bump for 0.23.0 (#2274) 2023-12-14 07:16:39 +01:00
test_enr_builder.nim chore: vendor bump for 0.23.0 (#2274) 2023-12-14 07:16:39 +01:00
test_envvar_serialization.nim
test_parse_size.nim chore: message.nim - set max message size to 150KiB according to spec (#2298) 2024-01-03 13:11:50 +01:00
test_protobuf_validation.nim feat(protobuf): added error wrappers for invalid length validation 2023-02-20 15:03:32 +01:00
test_sqlite_migrations.nim chore(store-archive): Remove duplicated code (#2234) 2023-11-27 18:33:27 +01:00