Skip to content

Commit

Permalink
Merge branch 'rc-2024.10.4'
Browse files Browse the repository at this point in the history
  • Loading branch information
jacderida committed Oct 29, 2024
2 parents e7f2d1d + 37ef3ab commit f9421c3
Show file tree
Hide file tree
Showing 68 changed files with 1,523 additions and 552 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,10 @@ jobs:

- uses: Swatinem/rust-cache@v2

- name: Run autonomi tests
timeout-minutes: 25
run: cargo test --release --package autonomi --lib --features="full,fs"

- name: Run node tests
timeout-minutes: 25
run: cargo test --release --package sn_node --lib
Expand Down Expand Up @@ -666,7 +670,7 @@ jobs:
timeout-minutes: 1
run: |
peer_removed=$(rg "PeerRemovedFromRoutingTable" "${{ matrix.node_data_path }}" -c --stats | \
rg "(\d+) matches" | rg "\d+" -o) || { echo "Failed to extract peer removal count"; exit 1; }
rg "(\d+) matches" | rg "\d+" -o) || { echo "Failed to extract peer removal count"; exit 0; }
if [ -z "$peer_removed" ]; then
echo "No peer removal count found"
exit 1
Expand Down
74 changes: 74 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,80 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

*When editing this file, please respect a line length of 100.*

## 2024-10-28

## Autonomi API/CLI

#### Added

- Private data support.
- Local user data support.
- Network Vault containing user data encrypted.
- Archives with Metadata.
- Prepaid upload support for data_put using receipts.

#### Changed

- Contract token approval amount set to infinite before doing data payments.

### Client

#### Added

- Expose APIs in WASM (e.g. archives, vault and user data within vault).
- Uploads are not run in parallel.
- Support for local wallets.
- Provide `wallet create` command.
- Provide `wallet balance` command.

#### Changed

- Take metadata from file system and add `uploaded` field for time of upload.

#### Fixed

- Make sure we use the new client path throughout the codebase

### Network

#### Added

- Get range used for store cost and register queries.
- Re-enabled large_file_upload, memcheck, benchmark CI tests.

#### Changed

- Scratchpad modifications to support multiple data encodings.
- Registers are now merged at the network level, preventing failures during update and during
replication.
- Libp2p config and get range tweaks reduce intensity of operations. Brings down CPU usage
considerably.
- Libp2p’s native kad bootstrap interval introduced in 0.54.1 is intensive, and as we roll our own,
we significantly reduce the kad period to lighten the CPU load.
- Wipe node’s storage dir when restarting for new network

#### Fixed

- Fixes in networking code for WASM compatibility (replacing `std::time` with compatible
alternative).
- Event dropped errors should not happen if the event is not dropped.
- Reduce outdated connection pruning frequency.

### Node Manager

#### Fixed

- Local node register is cleaned up when --clean flag applied (prevents some errors when register
changes).

### Launchpad

#### Fixed

- Status screen is updated after nodes have been reset.
- Rewards Address is required before starting nodes. User input is required.
- Spinner does not stop spinning after two minutes when nodes are running.

## 2024-10-24

### Network
Expand Down
Loading

0 comments on commit f9421c3

Please sign in to comment.