Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compare changes #1

Draft
wants to merge 194 commits into
base: stable
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
194 commits
Select commit Hold shift + click to select a range
33cb6e8
feat(autonomi): archive API in wasm
b-zee Oct 15, 2024
7fce069
feat(autonomi): vault API calls
b-zee Oct 15, 2024
91bf045
refactor(autonomi): wasm refactor; vault test
b-zee Oct 15, 2024
2e32497
fix(autonomi): feature gate vault api
b-zee Oct 15, 2024
2309975
fix: use the correct client cli name and paths
RolandSherwin Oct 16, 2024
8fb0c1f
chore: more logging for the cli
RolandSherwin Oct 16, 2024
189aaa7
Merge pull request #2250 from RolandSherwin/ci_bench
RolandSherwin Oct 16, 2024
6c4ad11
Merge pull request #2244 from b-zee/feat-autonomi-wasm-file-vault
b-zee Oct 17, 2024
a7c8b65
feat: improved archives with metadata
grumbach Oct 16, 2024
71a2c90
feat: improve errors and manage errors in fs module
grumbach Oct 17, 2024
00515be
chore: fix wasm time types
grumbach Oct 17, 2024
bc6e238
feat: add file with default metadata
grumbach Oct 17, 2024
f7a9d4a
fix: wasm
grumbach Oct 17, 2024
7e1027d
Merge pull request #2251 from grumbach/improved_archives
grumbach Oct 17, 2024
993635b
fix(nodeman): clean should remove the local node register
joshuef Oct 17, 2024
af26fa8
Merge pull request #2260 from joshuef/CleanRegistry
joshuef Oct 17, 2024
2497cb5
test(CI): re-enable large_file_upload CI test
maqi Oct 16, 2024
50d28d7
Merge pull request #2254 from maqi/enable_large_file_upload_test
maqi Oct 17, 2024
9b11935
refactor(evmlib): break up `pay_for_quotes` into smaller functions
mickvandijke Oct 15, 2024
325410a
refactor(evmlib): add `approve_calldata` and `transfer_calldata`
mickvandijke Oct 16, 2024
7be6894
feat(evmlib): add raw transaction functions to support external signers
mickvandijke Oct 16, 2024
3c88ef7
feat(autonomi): working external signer put
mickvandijke Oct 16, 2024
58e485a
docs(autonomi): update encrypt_data docs
mickvandijke Oct 17, 2024
72bb5a3
refactor(autonomi): simplify external signer put
mickvandijke Oct 17, 2024
cbb6669
fix(autonomi): `PutError` from `CostError`
mickvandijke Oct 17, 2024
000f8fa
test(autonomi): add js mocha test
b-zee Oct 16, 2024
bca9503
fix(autonomi): gen secret key in the rigth way
b-zee Oct 16, 2024
7ff98aa
docs(autonomi): add wasm README
b-zee Oct 17, 2024
5f5cdb7
fix(networking): use platform Instant::now
b-zee Oct 17, 2024
3249f53
Merge pull request #2261 from b-zee/fix-kad-instant
b-zee Oct 17, 2024
97bfbe3
chore(networking): rename get_closest_peers -> get_close_group_closes…
joshuef Oct 17, 2024
44f1f87
feat(networking): use range based gets for close_peers calls
joshuef Oct 17, 2024
84324eb
Merge pull request #2259 from joshuef/Feat-CloseInRange
joshuef Oct 18, 2024
b6bbb24
refactor(global): remove patch from Cargo.toml
b-zee Oct 18, 2024
8603d3f
test(wasm): improve wasm test index.html
mickvandijke Oct 18, 2024
9a7ce8c
feat: user data stored in vault
grumbach Oct 18, 2024
3c1dd9e
chore: fix test
grumbach Oct 18, 2024
8bd5007
chore: improve naming to data encoding
grumbach Oct 18, 2024
88694f7
chore: cleanup namings accordingly
grumbach Oct 18, 2024
2437a88
Merge pull request #2263 from grumbach/vault_with_user_data
grumbach Oct 18, 2024
ebba7d6
Merge pull request #2264 from mickvandijke/wasm-test-improvement
b-zee Oct 18, 2024
37d9022
refactor(evmlib): rename error variant and remove dead code allowances
mickvandijke Oct 18, 2024
0ccde60
Merge pull request #2242 from mickvandijke/metamask-integration
mickvandijke Oct 18, 2024
68060f9
Merge remote-tracking branch 'origin/main' into test-js-wasm
b-zee Oct 18, 2024
f5b6b24
Merge pull request #2255 from b-zee/test-js-wasm
b-zee Oct 18, 2024
f0ade29
feat(autonomi): expose archive methods in wasm
b-zee Oct 18, 2024
8d3b07d
refactor(autonomi): remove index.html
b-zee Oct 18, 2024
901d5d4
test(autonomi): fix browser wasm test
b-zee Oct 18, 2024
0fc6f23
refactor(autonomi): remove unused wasm imports
b-zee Oct 18, 2024
2ad12d5
feat(autonomi): expose user data in wasm
b-zee Oct 18, 2024
ce6104a
Merge pull request #2267 from b-zee/feat-archive-wasm
b-zee Oct 18, 2024
8538d30
feat(evmlib): add token allowance and approval functions & set contra…
mickvandijke Oct 21, 2024
6c32173
refactor(autonomi): move `new` to top of impl
b-zee Oct 21, 2024
ffd7cc3
Merge pull request #2275 from mickvandijke/contract-approve-infinite
b-zee Oct 21, 2024
3fff7e3
feat(node): wipe storage_dir when restart for new network
maqi Oct 21, 2024
dc2ae97
refactor(autonomi): user data refactor
b-zee Oct 21, 2024
a5df15f
Merge pull request #2276 from maqi/wipeout_storage_dir_when_restart_f…
joshuef Oct 22, 2024
284608d
refactor(autonomi): use empty string as default
b-zee Oct 22, 2024
b5917e8
Merge pull request #2269 from b-zee/feat-vault-user-data-wasm
b-zee Oct 22, 2024
28ca53e
chore: accumulate register at the network level during split
RolandSherwin Oct 19, 2024
c2d698f
Merge pull request #2270 from RolandSherwin/accumulate_register
RolandSherwin Oct 22, 2024
c8cb53e
feat: added metamask wasm bindings and js example
mickvandijke Oct 22, 2024
76f8b1e
fix(network): return kad event dropped if we cannot get the query id
RolandSherwin Oct 22, 2024
672ddc8
fix(autonomi): add wait for tx confirmation to the mm js test
mickvandijke Oct 22, 2024
b467597
Merge pull request #2288 from RolandSherwin/fix_get_record_failure
RolandSherwin Oct 22, 2024
71d5cab
chore(CI): re-enable memcheck test
maqi Oct 18, 2024
7a98217
chore(deps): bump actions/cache from 4.0.2 to 4.1.2
dependabot[bot] Oct 22, 2024
8eeb1a6
feat(autonomi): generate metadata from actual file
b-zee Oct 22, 2024
77771e7
Merge pull request #2266 from maqi/enable_mem_check_test
joshuef Oct 23, 2024
eeb91c9
Merge pull request #2287 from mickvandijke/metamask-js
b-zee Oct 23, 2024
435487f
chore: upgrade alloy to version 0.5.3
mickvandijke Oct 23, 2024
49115fd
Revert "Revert "Merge pull request #2224 from joshuef/RangeBasedGets""
maqi Oct 23, 2024
9d55e30
Revert "feat(autonomi): download either a file or directory based on …
maqi Oct 23, 2024
7341105
Revert "Revert "Merge pull request #2243 from maqi/record_store_dir_p…
maqi Oct 23, 2024
bb54425
Merge pull request #2300 from maqi/merge_back_RC2024-10-3
jacderida Oct 23, 2024
379ef20
Merge branch 'stable'
jacderida Oct 23, 2024
e74961b
feat(autonomi): add `uploaded` metadata
b-zee Oct 23, 2024
b41466e
Merge pull request #2299 from mickvandijke/upgrade-alloy
jacderida Oct 23, 2024
e1ffa01
Merge pull request #2290 from b-zee/feat-metadata-from-file
b-zee Oct 23, 2024
8c8b7da
chore(autonomi): resolve wasm build error due to merge
maqi Oct 23, 2024
d2d3749
Merge pull request #2303 from maqi/address_wasm_build_error
jacderida Oct 23, 2024
7b60628
chore(CI): re-enable benchmark test
maqi Oct 23, 2024
fb174b9
fix(networking): replication factor of 5 to reduce CPU overhead
joshuef Oct 21, 2024
9523ce0
feat: local user data in CLI, list commands
grumbach Oct 22, 2024
893dd2d
feat: vault in CLI and vault key generation from evm sk
grumbach Oct 23, 2024
fd318ca
fix: vault key security
grumbach Oct 23, 2024
f3c7d97
feat: node side vault support, client side vault solidification
grumbach Oct 24, 2024
8b3579b
chore: small cleanups
grumbach Oct 24, 2024
022b08a
feat(networking): decrease distance of set range from get_closest calls
joshuef Oct 23, 2024
bc5d987
chore(networking): refactor handle_get_record_finished
joshuef Oct 22, 2024
379c7ee
Merge pull request #2302 from maqi/re-enable_bench_test
joshuef Oct 24, 2024
8bbf7d0
fix: wasm
grumbach Oct 24, 2024
deae93e
chore: only do chunk validation some of the time
joshuef Oct 23, 2024
a19763c
chore(networking): choose a smaller range
joshuef Oct 24, 2024
526b19a
chore(networking): passive discovery not on forced repl
joshuef Oct 24, 2024
a9b5323
chore(networking): only validate chunks from periodic replication calls
joshuef Oct 24, 2024
1112d6d
fix: do not retry for non-bad peer connections
joshuef Oct 24, 2024
1b7920e
Merge pull request #2305 from grumbach/cli_user_data_vault
grumbach Oct 24, 2024
c612b04
feat: add `getEvmNetwork` function to wasm client
mickvandijke Oct 24, 2024
87e4c6b
Merge branch 'hotfix-2024.10.3.3'
jacderida Oct 24, 2024
3c19c1b
chore: bump the `autonomi` crate
jacderida Oct 24, 2024
dc44346
Merge branch 'chore-bump_autonomi' into stable
jacderida Oct 24, 2024
bfe7f40
Merge branch 'chore-bump_autonomi'
jacderida Oct 24, 2024
725ac94
chore: remove redundant crates from binary removal script
jacderida Oct 24, 2024
24a3356
Merge branch 'chore-modify_bin_removal' into stable
jacderida Oct 24, 2024
9e11a00
Merge branch 'chore-modify_bin_removal'
jacderida Oct 24, 2024
c928ec7
Merge pull request #2289 from maidsafe/dependabot/github_actions/acti…
joshuef Oct 24, 2024
538985d
chore(CI): reduce peer_removed expectation due to code change
maqi Oct 24, 2024
b428ec4
Merge pull request #2307 from joshuef/MinViableChangesReduced
maqi Oct 24, 2024
2916bea
fix(ci): make the nightly tests work with evm
RolandSherwin Oct 24, 2024
8616c7a
feat: private data, private archives, vault support and CLI integration
grumbach Oct 25, 2024
d8cad7c
ci: fix upload download from different clients
grumbach Oct 25, 2024
b17da95
feat(kad): reduce bootstrap interval
joshuef Oct 25, 2024
4e3349d
Merge pull request #2314 from grumbach/private_data
grumbach Oct 25, 2024
5f7ada9
Merge pull request #2310 from RolandSherwin/fix_nightly
RolandSherwin Oct 25, 2024
95eaf9c
Merge pull request #2309 from mickvandijke/wasm-evm-network-fn
mickvandijke Oct 25, 2024
43d7936
feat(autonomi): allow the uploader to work with the new apis
RolandSherwin Oct 16, 2024
985034a
test(autonomi): add tests for uploader
RolandSherwin Oct 17, 2024
5e5aa3f
feat(uploader): error out on io error
RolandSherwin Oct 18, 2024
a4f3da9
feat(uploader): upload chunk and registers with correct cfg
RolandSherwin Oct 18, 2024
c320816
feat(autonomi): use the uploader for register and chunk uploads
RolandSherwin Oct 18, 2024
f4cd35c
feat: provide target arch based mpsc channel
RolandSherwin Oct 18, 2024
78c526a
feat(uploader): feature gate registers
RolandSherwin Oct 18, 2024
de22bb7
feat(ci): enable autonomi unit tests
RolandSherwin Oct 18, 2024
e7ee280
feat(uploader): feature gate data
RolandSherwin Oct 18, 2024
40390bc
chore(uploader): add docs and small fixes
RolandSherwin Oct 18, 2024
a46c666
chore: update based on comments
RolandSherwin Oct 24, 2024
d0d368c
Merge pull request #2317 from joshuef/ReduceKadBoot
maqi Oct 25, 2024
19b8471
chore(network): logging multiple fetched multiple versions
maqi Oct 25, 2024
b4010bb
Merge pull request #2258 from RolandSherwin/optimize_uploads
RolandSherwin Oct 25, 2024
9a243fd
fix(launchpad): update status after resetting
mazzi Oct 25, 2024
7ef21a3
Merge branch 'main' into fix_update_after_reset
mazzi Oct 25, 2024
c61de4a
Merge pull request #2318 from mazzi/fix_update_after_reset
RolandSherwin Oct 25, 2024
793f584
fix(launchpad): rewards address req to start nodes
mazzi Oct 25, 2024
32b36aa
Merge branch 'main' into fix_rewards_address_required
mazzi Oct 25, 2024
7ea058b
Merge branch 'main' into fix_rewards_address_required
mazzi Oct 25, 2024
4344055
Merge pull request #2321 from mazzi/fix_rewards_address_required
jacderida Oct 25, 2024
4f02f66
feat: print rewards address in `status --details`
jacderida Oct 25, 2024
dc243ad
fix(launchpad): throbbler stops after a while
mazzi Oct 25, 2024
4919059
Merge branch 'main' into fix_throbbler_stops
mazzi Oct 25, 2024
f996df0
Merge pull request #2326 from mazzi/fix_throbbler_stops
jacderida Oct 25, 2024
f6e6023
Merge pull request #2325 from jacderida/feat-print_rewards_address
jacderida Oct 25, 2024
4751eed
Merge branch 'stable'
jacderida Oct 25, 2024
6184db9
chore(release): release candidate 2024.10.4.1
jacderida Oct 25, 2024
f5400f3
chore: stop processing faucet and auditor binaries
jacderida Oct 25, 2024
cefd686
Merge pull request #2319 from maqi/split_debug
maqi Oct 27, 2024
f37b4d3
Revert "feat(autonomi): allow the uploader to work with the new apis"
grumbach Oct 28, 2024
31721be
Merge pull request #2334 from maidsafe/revert-2258-optimize_uploads
grumbach Oct 28, 2024
8fa5d60
chore: unrelevant -> irrelevant
joshuef Oct 28, 2024
4fd95c1
feat(networking): par_iter for relevant record check
joshuef Oct 28, 2024
6602249
fix(networking): speed up get_filtered_peers_exceeding_range
joshuef Oct 21, 2024
23cf0f4
feat(networking): maintain records by bucket list
joshuef Oct 28, 2024
1b77e7a
feat(networking): throttle replication
joshuef Oct 28, 2024
d87560f
feat(networking): reduce replication interval, decrease throttle
joshuef Oct 28, 2024
de5ea2b
feat(networking): improve add_keys perf for repl fetcher
joshuef Oct 28, 2024
6e0beef
chore(networking): remove debug only work
joshuef Oct 28, 2024
7d68852
chore(networking): reduce CONNECT_TIMEOUT
joshuef Oct 28, 2024
f0d1c3d
chore(networking): do not print all keys, verify one key at once
joshuef Oct 28, 2024
5861360
fix(CI): address failed CI
maqi Oct 28, 2024
81cfbc6
Merge pull request #2336 from maqi/cherry_pick_Josh_work
jacderida Oct 28, 2024
7a41d8b
feat(metrics): cap node wallet balance to i64::MAX
RolandSherwin Oct 28, 2024
26bce27
fix(autonomi): use FuturesUnordered for WASM
b-zee Oct 28, 2024
c8d39a0
fix(launchpad): changing copy on terms and conditions
mazzi Oct 28, 2024
5d96ef6
docs(autonomi): add WASM docs
b-zee Oct 28, 2024
8ccc869
chore(network): reduce outdated connection prunning frequency
maqi Oct 28, 2024
905365e
chore: updated arbitrum sepolia contracts
mickvandijke Oct 28, 2024
586e94b
fix(launchpad): using sn_node_current_reward_wallet_balance as attos
mazzi Oct 28, 2024
60bb78f
Merge pull request #2342 from maqi/reduce_outdated_connection_pruning…
jacderida Oct 28, 2024
98021d9
chore(release): release candidate 2024.10.4.2
jacderida Oct 28, 2024
1432e08
Merge pull request #2344 from mazzi/fix_add_attos_metric
jacderida Oct 28, 2024
e85240e
Merge branch 'update-arb-sepolia-contracts' into rc-2024.10.4
jacderida Oct 28, 2024
66893c6
Merge pull request #2339 from b-zee/fix-no-tokio-joinset
jacderida Oct 28, 2024
b6e9218
Merge pull request #2341 from b-zee/docs-autonomi-wasm
jacderida Oct 28, 2024
62b1275
feat: improved fs uploads performance
grumbach Oct 28, 2024
d7dc71e
feat: re-enable autonomi tests
grumbach Oct 28, 2024
899661c
feat: batch size depends on CPU count
grumbach Oct 28, 2024
ade585f
feat: limited threads chunk uploads
grumbach Oct 29, 2024
25e48e1
feat: customizable upload batch size from env var, defaults to 8 per …
grumbach Oct 29, 2024
5d4f926
Merge branch 'rc-2024.10.4' into upload_performance
grumbach Oct 29, 2024
d273e2f
feat: add wallet lock to prevent concurrent payments
grumbach Oct 29, 2024
7203ffd
Merge pull request #2333 from grumbach/upload_performance
grumbach Oct 29, 2024
436c24a
fix: remove useless join error
grumbach Oct 29, 2024
989761b
chore: remove sneaky useless errr
grumbach Oct 29, 2024
d63c834
Merge pull request #2348 from grumbach/hot_fix_joinerr
b-zee Oct 29, 2024
5aabab6
Merge pull request #2340 from mazzi/fix_change_copy
jacderida Oct 29, 2024
7ca5531
Merge pull request #2338 from RolandSherwin/metrics_attoss
RolandSherwin Oct 29, 2024
bc68e90
feat(cli): add wallet support
ermineJose Oct 16, 2024
aea309f
chore: update ANT contract max supply for Anvil
mickvandijke Oct 29, 2024
e145bb1
feat(cli): multi-wallet support & select wallet from disk
mickvandijke Oct 28, 2024
8d3652f
Merge pull request #2352 from mickvandijke/feat-autonomi-cli-wallet-i…
b-zee Oct 29, 2024
a5eba2c
Merge pull request #2353 from mickvandijke/update-contract-artifacts
jacderida Oct 29, 2024
5babd26
docs: changelog for 2024.10.4.2
jacderida Oct 29, 2024
37ef3ab
chore(release): stable release 2024.10.4.2
jacderida Oct 29, 2024
a44fd08
Merge branch 'rc-2024.10.4' into stable
jacderida Oct 29, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
750 changes: 369 additions & 381 deletions .github/workflows/benchmark-prs.yml

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions .github/workflows/generate-benchmark-charts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ jobs:
# Criterion outputs the actual bench results to stderr "2>&1 tee output.txt" takes stderr,
# passes to tee which displays it in the terminal and writes to output.txt
run: |
cargo criterion --features=local --message-format=json 2>&1 -p autonomi | tee -a output.txt
cargo criterion --features=local --message-format=json 2>&1 -p autonomi-cli | tee -a output.txt
cat output.txt | rg benchmark-complete | jq -s 'map({
name: (.id | split("/"))[-1],
unit: "MiB/s",
Expand Down Expand Up @@ -158,17 +158,17 @@ jobs:
shell: bash
run: |
peak_mem_usage=$(
rg '"memory_used_mb":[^,]*' $CLIENT_DATA_PATH/logs --glob safe.* -o --no-line-number --no-filename |
rg '"memory_used_mb":[^,]*' $CLIENT_DATA_PATH/logs/*/*.log -o --no-line-number --no-filename |
awk -F':' '/"memory_used_mb":/{print $2}' |
sort -n |
tail -n 1
)
total_mem=$(
rg '"memory_used_mb":[^,]*' $CLIENT_DATA_PATH/logs --glob safe.* -o --no-line-number --no-filename |
rg '"memory_used_mb":[^,]*' $CLIENT_DATA_PATH/logs/*/*.log -o --no-line-number --no-filename |
awk -F':' '/"memory_used_mb":/ {sum += $2} END {printf "%.0f\n", sum}'
)
num_of_times=$(
rg "\"memory_used_mb\"" $CLIENT_DATA_PATH/logs --glob safe.* -c --stats |
rg "\"memory_used_mb\"" $CLIENT_DATA_PATH/logs/*/*.log -c --stats |
rg "(\d+) matches" |
rg "\d+" -o
)
Expand Down
792 changes: 284 additions & 508 deletions .github/workflows/memcheck.yml

Large diffs are not rendered by default.

Loading
Loading