teor
735330618e
cleanup(state): Update some outdated comments in the state & rpcs ( #7434 )
...
* Add a module cleanup TODO
* Fix an unrelated comment
* Update the comments about the bincode legacy format
2023-08-31 16:25:11 +00:00
teor
349af4d575
Fix testnet checkpoint job height regex ( #7433 )
2023-08-31 16:24:42 +00:00
dependabot[bot]
c5ea437ebd
build(deps): bump actions/checkout from 3.5.3 to 3.6.0 ( #7425 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 3.5.3 to 3.6.0.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v3.5.3...v3.6.0 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-31 13:59:49 +00:00
dependabot[bot]
e7a322d640
build(deps): bump tj-actions/changed-files from 38.0.0 to 38.1.3 ( #7426 )
...
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files ) from 38.0.0 to 38.1.3.
- [Release notes](https://github.com/tj-actions/changed-files/releases )
- [Changelog](https://github.com/tj-actions/changed-files/blob/main/HISTORY.md )
- [Commits](https://github.com/tj-actions/changed-files/compare/v38.0.0...v38.1.3 )
---
updated-dependencies:
- dependency-name: tj-actions/changed-files
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-31 01:08:30 +00:00
Alfredo Garcia
e567ab812d
change(deps): Run `cargo update` ( #7429 )
...
* cargo update
* update rustls duplicated dependency version
* replace deprecated function
2023-08-31 00:49:01 +00:00
Alfredo Garcia
40c35e2729
update checkpoints ( #7428 )
2023-08-31 00:48:38 +00:00
Alfredo Garcia
38caaafc02
change(docs): update docs for new lightwalletd version used in Zebra ( #7427 )
...
* upgrade docs for new lightwalletd repo zebra is using now
* Update book/src/user/lightwalletd.md
Co-authored-by: Marek <mail@marek.onl>
---------
Co-authored-by: Marek <mail@marek.onl>
2023-08-30 22:30:20 +00:00
teor
5888a4e5d6
cleanup(clippy): Fix a clippy lint and deny.toml entry after recent changes ( #7419 )
...
* Remove unmatched-skip-root in deny.toml
* Ignore unused variable when getblocktemplate-rpcs is disabled
---------
Co-authored-by: Alfredo Garcia <oxarbitrage@gmail.com>
2023-08-30 17:26:49 +00:00
Pili Guerra
a857d1c48c
Remove custom blank template and enable blank issues ( #7420 )
2023-08-30 11:02:18 +00:00
dependabot[bot]
05c9aac111
build(deps): bump the log group with 1 update ( #7398 )
...
Bumps the log group with 1 update: [sentry](https://github.com/getsentry/sentry-rust ).
- [Release notes](https://github.com/getsentry/sentry-rust/releases )
- [Changelog](https://github.com/getsentry/sentry-rust/blob/master/CHANGELOG.md )
- [Commits](https://github.com/getsentry/sentry-rust/compare/0.31.5...0.31.6 )
---
updated-dependencies:
- dependency-name: sentry
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: log
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alfredo Garcia <oxarbitrage@gmail.com>
2023-08-30 01:34:42 +00:00
dependabot[bot]
c1915f1d7b
build(deps): bump the app group with 1 update ( #7399 )
...
Bumps the app group with 1 update: [clap](https://github.com/clap-rs/clap ).
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/v4.3.23...clap_complete-v4.4.0 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: app
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alfredo Garcia <oxarbitrage@gmail.com>
2023-08-30 01:34:01 +00:00
Marek
c403efdfc3
add(docs): Mention the tree deduplication in CHANGELOG.md ( #7414 )
...
* Mention the tree deduplication in `CHANGELOG.md`
* Use an alternative formulation
2023-08-30 01:33:31 +00:00
dependabot[bot]
a2b5e4b3be
build(deps): bump the test group with 1 update ( #7401 )
...
Bumps the test group with 1 update: [proptest-derive](https://github.com/proptest-rs/proptest ).
- [Release notes](https://github.com/proptest-rs/proptest/releases )
- [Changelog](https://github.com/proptest-rs/proptest/blob/0.4.0/CHANGELOG.md )
- [Commits](https://github.com/proptest-rs/proptest/compare/proptest-derive-0.3.0...0.4.0 )
---
updated-dependencies:
- dependency-name: proptest-derive
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: test
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alfredo Garcia <oxarbitrage@gmail.com>
2023-08-30 01:32:50 +00:00
Gustavo Valverde
7f28ac9dd5
fix(ci): allow to set docs build as a required test ( #7413 )
...
* fix(ci): allow to set docs build as a required test
* build(docs): add problem matcher to docs
2023-08-30 01:32:14 +00:00
dependabot[bot]
6ec670e45a
build(deps): bump the async group with 2 updates ( #7397 )
...
Bumps the async group with 2 updates: [reqwest](https://github.com/seanmonstar/reqwest ) and [tokio-test](https://github.com/tokio-rs/tokio ).
Updates `reqwest` from 0.11.19 to 0.11.20
- [Release notes](https://github.com/seanmonstar/reqwest/releases )
- [Changelog](https://github.com/seanmonstar/reqwest/blob/master/CHANGELOG.md )
- [Commits](https://github.com/seanmonstar/reqwest/compare/v0.11.19...v0.11.20 )
Updates `tokio-test` from 0.4.2 to 0.4.3
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-test-0.4.2...tokio-test-0.4.3 )
---
updated-dependencies:
- dependency-name: reqwest
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: async
- dependency-name: tokio-test
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: async
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-29 10:08:25 +00:00
Gustavo Valverde
ff60260464
fix(build): reintroduce `RUST_LOG` info ( #7404 )
...
Not having the default `info` level causes some tests to not output the needed logs to debug information.
2023-08-29 07:45:26 +00:00
Arya
2b81d845ea
fix(panic): Log a warning instead of panicking for unused mining configs ( #7290 )
...
* Logs warning for unused mining config
* add conditional serialization of the mining section
* rustfmt
* Simplify mining::Config argument passing
* Simplify mining config argument passing in start.rs
---------
Co-authored-by: Alfredo Garcia <oxarbitrage@gmail.com>
Co-authored-by: teor <teor@riseup.net>
2023-08-29 07:44:59 +00:00
dependabot[bot]
e58000f07f
build(deps): bump the formats group with 2 updates ( #7400 )
...
Bumps the formats group with 2 updates: [serde](https://github.com/serde-rs/serde ) and [regex](https://github.com/rust-lang/regex ).
Updates `serde` from 1.0.185 to 1.0.188
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.185...v1.0.188 )
Updates `regex` from 1.9.3 to 1.9.4
- [Release notes](https://github.com/rust-lang/regex/releases )
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/regex/compare/1.9.3...1.9.4 )
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: formats
- dependency-name: regex
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: formats
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: teor <teor@riseup.net>
2023-08-29 04:01:15 +00:00
Marek
2ea994a19e
fix(state): Fix the deduplication of note commitment trees ( #7379 )
...
* Log errors and panic if duplicate trees are found after the de-duplicate upgrade
* Always check for duplicates, even if the state is already marked as upgraded
* Minor doc fixes
* Document ranges for `zs_delete_range`
* Revert the comment for `sapling_tree`
* Rearrange tree methods & fix their docs
* Bump DATABASE_FORMAT_PATCH_VERSION from 0 to 1
* Remove the manual tree deletion at early heights
* Add `skip_while` to `zs_range_iter`
* Refactor the tree deduplication
* Add comments to the pruning
* Turn warnings into panics
* Remove redundant checks
These checks are superseded by `check_for_duplicate_trees`
* Remove an edge case that ignored the last tree
* Suggestion for Fix the deduplication of note commitment trees (#7391 )
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
---------
Co-authored-by: teor <teor@riseup.net>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-08-28 22:59:07 +00:00
Alfredo Garcia
3ca4597c2c
fix redundant doc links ( #7402 )
2023-08-28 20:11:23 +00:00
teor
c116cff5f0
fix(db): use the correct state version for databases without a state version file ( #7385 )
...
* If there's an existing database with no version file, give it version 25.0.0
* Creating the RocksDB database makes a temporary change to the default database version
2023-08-28 17:01:01 +00:00
teor
798b271279
Show correct lightwalletd cache heights in CI cached state ( #7390 )
2023-08-28 12:06:51 +00:00
dependabot[bot]
f4b37bac14
build(deps): bump tj-actions/changed-files from 37.6.0 to 38.0.0 ( #7374 )
...
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files ) from 37.6.0 to 38.0.0.
- [Release notes](https://github.com/tj-actions/changed-files/releases )
- [Changelog](https://github.com/tj-actions/changed-files/blob/main/HISTORY.md )
- [Commits](https://github.com/tj-actions/changed-files/compare/v37.6.0...v38.0.0 )
---
updated-dependencies:
- dependency-name: tj-actions/changed-files
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-28 09:17:26 +00:00
Arya
94d9155adb
change(state): Add note subtree index handling to zebra-state, but don't write them to the finalized state yet ( #7334 )
...
* zebra-chain changes from the subtree-boundaries branch
```sh
git checkout -b subtree-boundaries-zebra-chain main
git checkout origin/subtree-boundaries zebra-chain
git commit
```
* Temporarily populate new subtree fields with None - for revert
This temporary commit needs to be reverted in the next PR.
* Applies suggestions from code review
* removes from_repr_unchecked methods
* simplifies loop
* adds subtrees to zebra-state
* uses split_at, from_repr, & updates state-db-upgrades.md
* Update book/src/dev/state-db-upgrades.md
Co-authored-by: teor <teor@riseup.net>
* renames partial_subtree to subtree_data
* tests that subtree serialization format
* adds raw data format serialization round-trip test
* decrements minor version and skips inserting subtrees in db
---------
Co-authored-by: teor <teor@riseup.net>
2023-08-28 08:50:31 +00:00
dependabot[bot]
f03978a9a2
build(deps): bump Swatinem/rust-cache from 2.6.1 to 2.6.2 ( #7373 )
...
Bumps [Swatinem/rust-cache](https://github.com/swatinem/rust-cache ) from 2.6.1 to 2.6.2.
- [Release notes](https://github.com/swatinem/rust-cache/releases )
- [Changelog](https://github.com/Swatinem/rust-cache/blob/master/CHANGELOG.md )
- [Commits](https://github.com/swatinem/rust-cache/compare/v2.6.1...v2.6.2 )
---
updated-dependencies:
- dependency-name: Swatinem/rust-cache
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: teor <teor@riseup.net>
2023-08-28 06:02:03 +00:00
teor
62258d51da
0. Add note commitment subtree types to zebra-chain ( #7371 )
...
* zebra-chain changes from the subtree-boundaries branch
```sh
git checkout -b subtree-boundaries-zebra-chain main
git checkout origin/subtree-boundaries zebra-chain
git commit
```
* Temporarily populate new subtree fields with None - for revert
This temporary commit needs to be reverted in the next PR.
* Applies suggestions from code review
* removes from_repr_unchecked methods
* simplifies loop
---------
Co-authored-by: arya2 <aryasolhi@gmail.com>
2023-08-28 00:48:16 +00:00
teor
67e3c26190
Avoid expensive cryptographic tree root recalculations in eq() ( #7386 )
...
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-08-26 01:45:46 +00:00
teor
ca8d529a09
cleanup(clippy): Fix new nightly clippy lints from July and August 2023 ( #7384 )
...
* cargo +nightly clippy --fix --all-features --all-targets
* Manually fix clippy::redundant_locals
* Remove unused deny.toml duplicate dependency exception
* Manually fix clippy::needless_pass_by_ref_mut
* Manually fix -W elided-lifetimes-in-associated-constant
* Manually fix clippy::unnecessary_mut_passed
* Manually fix -W unused_mut
---------
Co-authored-by: Alfredo Garcia <oxarbitrage@gmail.com>
2023-08-25 22:58:30 +00:00
dependabot[bot]
c696c520ce
build(deps): bump the async group with 2 updates ( #7360 )
...
* build(deps): bump the async group with 2 updates
Bumps the async group with 2 updates: [tokio](https://github.com/tokio-rs/tokio ) and [reqwest](https://github.com/seanmonstar/reqwest ).
Updates `tokio` from 1.31.0 to 1.32.0
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.31.0...tokio-1.32.0 )
Updates `reqwest` from 0.11.18 to 0.11.19
- [Release notes](https://github.com/seanmonstar/reqwest/releases )
- [Changelog](https://github.com/seanmonstar/reqwest/blob/master/CHANGELOG.md )
- [Commits](https://github.com/seanmonstar/reqwest/compare/v0.11.18...v0.11.19 )
---
updated-dependencies:
- dependency-name: tokio
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: async
- dependency-name: reqwest
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: async
...
Signed-off-by: dependabot[bot] <support@github.com>
* update bans
* fix typo in version
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Alfredo Garcia <oxarbitrage@gmail.com>
2023-08-25 20:34:00 +00:00
dependabot[bot]
0ac05676a8
build(deps): bump the app group with 1 update ( #7356 )
...
Bumps the app group with 1 update: [clap](https://github.com/clap-rs/clap ).
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/v4.3.21...v4.3.23 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: app
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-25 16:28:11 +00:00
Alfredo Garcia
000c7b4bc6
fix(clippy): Fix clippy and rustfmt after last releases today ( #7381 )
...
* fix clippy and rustfmt after last releases today
* Ignore clippy::arc_with_non_send_sync false positives in proptest code only
* Remove .cargo/config.toml changes that didn't work
---------
Co-authored-by: teor <teor@riseup.net>
2023-08-25 04:08:13 +00:00
Marek
e86197f6be
fix(docs): Simplify the docs for nodes in Sapling trees ( #7378 )
...
* fix docs build
* fix docs build errors in sapling trees
* fix docs build in sprout joinsplits
* fix doc build in handshake
* fix docs build in zebra-state
* fix docs build in zebrad
* new line fix
* Fix docs
* Simplify importing `bridgetree`
---------
Co-authored-by: Alfredo Garcia <oxarbitrage@gmail.com>
2023-08-24 15:55:53 +00:00
Alfredo Garcia
0cc48a322a
fix(docs): docs after new rust version ( #7375 )
...
* fix docs build
* fix docs build errors in sapling trees
* fix docs build in sprout joinsplits
* fix doc build in handshake
* fix docs build in zebra-state
* fix docs build in zebrad
* new line fix
2023-08-24 11:31:10 +00:00
dependabot[bot]
7fe040ed8e
build(deps): bump rustls-webpki from 0.100.1 to 0.100.2 ( #7368 )
...
Bumps [rustls-webpki](https://github.com/rustls/webpki ) from 0.100.1 to 0.100.2.
- [Release notes](https://github.com/rustls/webpki/releases )
- [Commits](https://github.com/rustls/webpki/compare/v/0.100.1...v/0.100.2 )
---
updated-dependencies:
- dependency-name: rustls-webpki
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-23 21:16:16 +00:00
Pili Guerra
32050a7281
Update issue templates to add a custom blank template ( #7367 )
...
* Update issue templates to add a custom blank template
* revert changes to other templates
* Update custom.md
Add details about intended template usage
2023-08-22 21:00:28 +00:00
dependabot[bot]
4ccd6f1c81
build(deps): bump the test group with 1 update ( #7358 )
...
Bumps the test group with 1 update: [tempfile](https://github.com/Stebalien/tempfile ).
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Stebalien/tempfile/compare/v3.7.1...v3.8.0 )
---
updated-dependencies:
- dependency-name: tempfile
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: test
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-21 23:39:06 +00:00
dependabot[bot]
31426f3b0e
build(deps): bump the formats group with 2 updates ( #7357 )
...
Bumps the formats group with 2 updates: [serde](https://github.com/serde-rs/serde ) and [serde_with](https://github.com/jonasbb/serde_with ).
Updates `serde` from 1.0.183 to 1.0.185
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.183...v1.0.185 )
Updates `serde_with` from 3.2.0 to 3.3.0
- [Release notes](https://github.com/jonasbb/serde_with/releases )
- [Commits](https://github.com/jonasbb/serde_with/compare/v3.2.0...v3.3.0 )
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: formats
- dependency-name: serde_with
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: formats
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-21 21:05:24 +00:00
dependabot[bot]
7123701183
build(deps): bump the log group with 2 updates ( #7355 )
...
Bumps the log group with 2 updates: [thiserror](https://github.com/dtolnay/thiserror ) and [inferno](https://github.com/jonhoo/inferno ).
Updates `thiserror` from 1.0.46 to 1.0.47
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.46...1.0.47 )
Updates `inferno` from 0.11.15 to 0.11.16
- [Changelog](https://github.com/jonhoo/inferno/blob/main/CHANGELOG.md )
- [Commits](https://github.com/jonhoo/inferno/compare/v0.11.15...v0.11.16 )
---
updated-dependencies:
- dependency-name: thiserror
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: log
- dependency-name: inferno
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: log
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-21 21:04:54 +00:00
Arya
b413e3e75b
fix(state): Avoid temporary failures verifying the first non-finalized block or attempting to fork the chain before the final checkpoint ( #6810 )
...
* Fix #6388 , rename sent_hashes field
* Removes prune_by_height, uses new SentHashes instead
* update queue_and_commit_to_non_finalized_state to start with children of non-finalized tip when dropping the finalized block write sender
* revert rename for now
* removes outdated TODO
---------
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2023-08-21 06:35:58 +00:00
Gustavo Valverde
92dd5285e6
ref(docs): consolidate docs linting and publishing ( #7339 )
...
* fix(docs): use specific variables to avoid using an `environment`
* fix(docs): build and publish the correct paths
* fix(docs): remove all environments
* ref(docs): consolidate docs linting and publishing
* chore: minimum lint
* fix: cross-reference
* fix(docs): remove preview URLs from deployments
2023-08-18 02:04:56 +00:00
dependabot[bot]
6b7eafd8f1
build(deps): bump tj-actions/changed-files from 37.5.1 to 37.6.0 ( #7342 )
...
Bumps [tj-actions/changed-files](https://github.com/tj-actions/changed-files ) from 37.5.1 to 37.6.0.
- [Release notes](https://github.com/tj-actions/changed-files/releases )
- [Changelog](https://github.com/tj-actions/changed-files/blob/main/HISTORY.md )
- [Commits](https://github.com/tj-actions/changed-files/compare/v37.5.1...v37.6.0 )
---
updated-dependencies:
- dependency-name: tj-actions/changed-files
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-17 18:40:24 +00:00
dependabot[bot]
0b0a340ace
build(deps): bump Swatinem/rust-cache from 2.6.0 to 2.6.1 ( #7341 )
...
Bumps [Swatinem/rust-cache](https://github.com/swatinem/rust-cache ) from 2.6.0 to 2.6.1.
- [Release notes](https://github.com/swatinem/rust-cache/releases )
- [Changelog](https://github.com/Swatinem/rust-cache/blob/master/CHANGELOG.md )
- [Commits](https://github.com/swatinem/rust-cache/compare/v2.6.0...v2.6.1 )
---
updated-dependencies:
- dependency-name: Swatinem/rust-cache
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-17 17:48:31 +00:00
Marek
d8f5d6b6f1
change(state): Deduplicate note commitment trees stored in the finalized state ( #7312 )
...
* Add support for deleting the trees
* Prune the trees
* Remove `Network` from `DiskWriteBatch`
Removing the `Network` from `DiskWriteBatch` makes it easy to
instantiate `DiskWriteBatch`es in `ZebraDb` that remove individual note
commitment trees.
The `Network` from `DiskWriteBatch` was used only for transparent
addresses, so the refactor isn't large. After removing it from
`DiskWriteBatch`, I passed it as a function argument instead. However,
we should simplify the parameter lists because at least two functions
have more than seven parameters now.
* Support individual tree removal in `ZebraDb`
* Refactor the tree removal task
* Prune old comments
* Remove redundant code
* Batch the removals
* delete ranges before relevant network upgrades
* moves prev_tree inits
* add iterator methods for reading note commitment trees
* Sets up skeleton of sapling pipeline
* Replaces .filter with .take_while
Fills in pipeline
Reuses zs_range_iter instead of repeating that code
Updates logic to stop at initial tip height
* uses std threads
* delete_range excludes end key
* fixes off by one bugs
* Log warning when a send fails
* Removes progress logs
* Log join errors instead of panicking
* Revert: Make the `db` field of `ZebraDb` private
* Move `delete_range_sapling_tree`
* Remove a redundant `else if` branch
Rationale:
The condition `n == 1` for the removed branch is true for a subset of
values of `n` in the preceding condition `n >= 1`.
* Use more specific error messages
* Revert: Remove redundant methods for tree removal
* Suggestions for Deduplicate note commitment trees stored in the finalized state (#7330 )
* Add TODOs to some `Height` methods
* Add methods for deleting individual trees
* Refactor the tasks for deleting trees
---------
Co-authored-by: arya2 <aryasolhi@gmail.com>
2023-08-17 00:41:11 +00:00
Gustavo Valverde
5eaaeae08c
fix(docs): deploy external and internal docs with the correct path ( #7338 )
...
* fix(docs): use specific variables to avoid using an `environment`
* fix(docs): build and publish the correct paths
* fix(docs): remove all environments
2023-08-16 22:16:55 +00:00
dependabot[bot]
b0003076c3
build(deps): bump the data-structures group with 1 update ( #7327 )
...
Bumps the data-structures group with 1 update: [bitflags](https://github.com/bitflags/bitflags ).
- [Release notes](https://github.com/bitflags/bitflags/releases )
- [Changelog](https://github.com/bitflags/bitflags/blob/main/CHANGELOG.md )
- [Commits](https://github.com/bitflags/bitflags/compare/2.3.3...2.4.0 )
---
updated-dependencies:
- dependency-name: bitflags
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: data-structures
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-16 19:17:49 +00:00
dependabot[bot]
22b4c061ba
build(deps): bump the async group with 1 update ( #7323 )
...
Bumps the async group with 1 update: [tokio](https://github.com/tokio-rs/tokio ).
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.29.1...tokio-1.31.0 )
---
updated-dependencies:
- dependency-name: tokio
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: async
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-16 16:10:32 +00:00
dependabot[bot]
951469956f
build(deps): bump the formats group with 2 updates ( #7336 )
...
Bumps the formats group with 2 updates: [serde](https://github.com/serde-rs/serde ) and [serde_json](https://github.com/serde-rs/json ).
Updates `serde` from 1.0.179 to 1.0.183
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.179...v1.0.183 )
Updates `serde_json` from 1.0.104 to 1.0.105
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.104...v1.0.105 )
---
updated-dependencies:
- dependency-name: serde
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: formats
- dependency-name: serde_json
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: formats
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-16 16:09:51 +00:00
dependabot[bot]
7605a3376b
build(deps): bump the log group with 2 updates ( #7337 )
...
Bumps the log group with 2 updates: [thiserror](https://github.com/dtolnay/thiserror ) and [log](https://github.com/rust-lang/log ).
Updates `thiserror` from 1.0.44 to 1.0.46
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.44...1.0.46 )
Updates `log` from 0.4.19 to 0.4.20
- [Release notes](https://github.com/rust-lang/log/releases )
- [Changelog](https://github.com/rust-lang/log/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/log/compare/0.4.19...0.4.20 )
---
updated-dependencies:
- dependency-name: thiserror
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: log
- dependency-name: log
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: log
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-16 11:10:03 +00:00
Arya
eec467a173
should fix the timeouts ( #7332 )
2023-08-15 22:16:09 +00:00
dependabot[bot]
80726e248b
build(deps): bump the app group with 1 update ( #7325 )
...
Bumps the app group with 1 update: [clap](https://github.com/clap-rs/clap ).
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/v4.3.19...v4.3.21 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: app
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-08-15 18:50:05 +00:00