Testnet 0.22.0
What's Changed
Protocol Breaking Changes
- network-libp2p: Update
kad
configuration by @jsdanielh in #2536 - Consistent style for network topic names by @Eligioo in #2585
- Light History Store for full nodes by @viquezclaudio in #2370
- network-libp2p: Add fixes and improvements to discovery protocol by @jsdanielh in #2461
What's changed
- Don't forget validator IDs immediately when a message fails to send by @hrxi in #2310
- Concretize
RequestBatchSet
error by @hrxi in #2445 - Remove performance marks in web-client by @Eligioo in #2450
- Introduce
Sensitive
which can be used for hidingDebug
impls by @hrxi in #2464 - GH action for publishing OpenRPC document on new version by @Eligioo in #2417
- Add function to obtain genesis hash by @viquezclaudio in #2469
- Don't default-initialize RPC
Transaction
type by @hrxi in #2470 - RPC transaction size, web-client confirmations fix and desired peer count by @sisou in #2471
- Add command to list pre-stakers and optionally filter by validator by @Eligioo in #2395
- Check that the peer sends us a body exactly when we ask for it by @hrxi in #2291
- pow-migration: Fix detection of switching validator in pre-stake by @jsdanielh in #2403
- Fix reward inherent hashes by @hrxi in #2475
- docs: added
known_transaction_details
clarification by @onmax in #2484 - web-client: Rename
npm
package by @jsdanielh in #2485 - web-client slight performance and cleanup by @sisou in #2478
- ci: Also clean up disk space for devnet scnearios by @jsdanielh in #2500
- Unsubscribe from subscribed address when transaction sending fails by @sisou in #2480
- Make password comparisons constant-time by @hrxi in #2486
- Remove unused
Argon2dHash
andArgon2dHasher
by @hrxi in #2444 - Improve trienode serialization performance by vendoring postcard by @hrxi in #2249
- Enable
unused_qualifications
lint by @hrxi in #2519 - Fixing code coverage by @ii-cruz in #2538
- Remove duplicate function between the blockchains by @viquezclaudio in #2534
- Add log message to state sync by @viquezclaudio in #2532
- Run wasm tests in headless Chrome instead of NodeJS by @sisou in #2513
- Remove TODO about network ID needing to be checked by @hrxi in #2540
- Change serialization order of KeyPair to have the private key first by @sisou in #2518
- Add own abstraction layer over tokio::time::Interval by @sisou in #2318
- Remove obsolete TODOs, fix comments by @styppo in #2551
- WASM: add abstraction for
tokio::spawn
by @styppo in #2442 - SyncQueue: fix manipulation of
next_outgoing_index
on error path by @styppo in #2541 - SyncQueue: restrict the maximum number of requests to a reasonable range by @styppo in #2557
- Increase uptime in
FourValidatorsReconnectSpammer
DevNet scenario by @styppo in #2565 - Refactoring network into swarm, rate limiting and network types by @ii-cruz in #2563
- Improve state sync log by @viquezclaudio in #2571
- Define Dependabot groups for bundling package version updates by @Eligioo in #2577
- Get rid of
HistoricTransaction::into_transaction
by @hrxi in #2515 - Minor code cleanup by @fiaxh in #2586
- Remove unneeded
#![recursion_limit = "128"]
by @hrxi in #2583 - Macro sync: Check if peer is still connected after request by @fiaxh in #2584
- Fix "cache state must exist" panic in
validator-network
by @hrxi in #2561 - Test the gossipsub message size limit by @hrxi in #2559
- Remove
BlockHeader
enum by @hrxi in #2549 - Fix history sync to use additional non prunable checkpoints by @jsdanielh in #2547
- TransactionBuilder: Return Transaction instead of Result if creation can't fail by @fiaxh in #2587
- Make sure a received missing block is still relevant by @nibhar in #2591
- Add genesis config hash as extra data to migration ready transaction by @Eligioo in #2479
- Remove unused imports from tests by @hrxi in #2594
- Fix feature compilation for several crates by @jsdanielh in #2597
- Increase mempool tests wait time by @viquezclaudio in #2596
- BlockQueue: Restrict buffering of blocks per peer per height by @nibhar in #2568
- Make the full_sync_threshold configurable by @Eligioo in #2589
- State sync not required for live sync instead of macro sync by @viquezclaudio in #2533
- Make the address book available to web clients by @nibhar in #2603
- Rename back to
ExtendedTransaction
for serialization by @hrxi in #2606 - LiveSync: move peer list update to its own task by @styppo in #2607
Dependencies
- All current dependabot updates v28 by @hrxi in #2435
- build(deps): bump serde from 1.0.200 to 1.0.201 by @dependabot in #2447
- build(deps): bump serde_json from 1.0.116 to 1.0.117 by @dependabot in #2446
- build(deps): bump syn from 2.0.61 to 2.0.63 by @dependabot in #2467
- build(deps): bump libmdbx from 0.4.2 to 0.5.0 by @dependabot in #2468
- build(deps): bump serde from 1.0.201 to 1.0.202 by @dependabot in #2473
- Update dependencies and use more specific versions for dependencies with known CVEs by @jsdanielh in #2462
- build(deps): bump wasm-bindgen-derive from 0.2.1 to 0.3.0 by @dependabot in #2476
- build(deps): bump toml from 0.8.12 to 0.8.13 by @dependabot in #2477
- build(deps): bump log from 0.4.17 to 0.4.21 by @dependabot in #2482
- All current dependabot updates v29 by @hrxi in #2493
- All current dependabot updates v30 by @jsdanielh in #2535
- build(deps): bump hyper-util from 0.1.4 to 0.1.5 by @dependabot in #2537
- All current dependabot updates v31 by @hrxi in #2554
- build(deps): bump the minor-and-patch-updates group across 1 directory with 5 updates by @dependabot in #2581
- build(deps): bump docker/build-push-action from 5.3.0 to 5.4.0 by @dependabot in #2572
- build(deps): bump braces from 3.0.2 to 3.0.3 in /web-client/launcher by @dependabot in #2582
- build(deps): bump the minor-and-patch-updates group across 1 directory with 2 updates by @dependabot in #2600
Full Changelog: v0.21.1...v0.22.0