Arya
0a3790b73e
change(consensus): Remove Sprout and Sapling parameter download task and debug_skip_preload config ( #7844 )
...
* removes groth16 download task
* updates docs.
* Adds new config to test configs
* fixes compatibility with past configs
* uses inner config to deserialize removed field for compatibility
* update docs
* updates latest config
* Applies suggestions from code review
* Avoid duplicating hard-coded default values
---------
Co-authored-by: teor <teor@riseup.net>
2023-10-27 06:12:57 +00:00
teor
920ee14512
fix(doc): Fix broken links to `zebra_network` and `zebra_state` `Config` structs on doc.zebra.zfnd.org ( #7838 )
...
* Use full module paths to avoid a rustdoc bug
* Exclude zebra-test from external docs
2023-10-27 01:05:26 +00:00
teor
71a9865b6c
remove(cmd): Remove `zebrad download` command, because it no longer does anything ( #7819 )
...
* Remove the `zebrad download` command
* Reorder command.rs imports
* Remove zcash-params/Dockerfile and the main Dockerfile commands that use it
* Stop building zcash-params Docker images in CI
* Update CHANGELOG for `zebrad download` removal
* Clarify why the image is smaller
Co-authored-by: Marek <mail@marek.onl>
---------
Co-authored-by: Marek <mail@marek.onl>
2023-10-25 23:42:27 +00:00
teor
aad883b68a
change(consensus): Build Sprout and Sapling parameters into the zebrad binary, so a download server isn't needed ( #7800 )
...
* Build sapling parameters into zebrad
* Load the sapling parameters from wagyu-zcash-parameters
* Reword logs
* wget https://github.com/zcash/zcash/raw/master/src/rust/src/sprout-groth16.vk
* Load sprout from binary and remove download code
* Remove download examples binaries
* Remove unused features and dependencies
* Remove docs and comments about downloading parameters
* Add CHANGELOG entry
* Remove parameter cache steps in workflows
* Update comment about downloading
Co-authored-by: Marek <mail@marek.onl>
* Fix outdated timeout comments and short timeouts
---------
Co-authored-by: Marek <mail@marek.onl>
2023-10-24 23:27:24 +00:00
dependabot[bot]
e56b66d182
build(deps): bump the app group with 1 update ( #7802 )
...
Bumps the app group with 1 update: [toml](https://github.com/toml-rs/toml ).
- [Commits](https://github.com/toml-rs/toml/compare/toml-v0.8.2...toml-v0.8.3 )
---
updated-dependencies:
- dependency-name: toml
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-10-23 19:18:56 +00:00
teor
64f777274c
fix(security): fix concurrency issues in tree key formats, and CPU usage in genesis tree roots ( #7392 )
...
* Add tree key format and cached root upgrades
* Document the changes in the upgrades
* Remove unnecessary clippy::unwrap_in_result
* Fix database type
* Bump state version
* Skip some checks if the database is empty
* Fix tests for a short state upgrade
* Disable format checks in some tests
* Document state performance issues
* Clarify upgrade behaviour
* Clarify panic messages
* Delete incorrect genesis trees write code
* Fix metrics handling for genesis
* Remove an unused import
* Explain why genesis anchors are ok
* Update snapshots
* Debug a failing test
* Fix some tests
* Fix missing imports
* Move the state check in a test
* Fix comment and doc typos
Co-authored-by: Marek <mail@marek.onl>
Co-authored-by: Arya <aryasolhi@gmail.com>
* Clarify what a long upgrade is
* Rename unused function arguments
Co-authored-by: Marek <mail@marek.onl>
* Add all_unordered log regex matching methods
* Fix timing issues with version upgrades and other logs
* Fix argument name in docs
Co-authored-by: Marek <mail@marek.onl>
* Explain match until first for all regexes behaviour better
---------
Co-authored-by: Marek <mail@marek.onl>
Co-authored-by: Arya <aryasolhi@gmail.com>
2023-10-19 14:50:46 +00:00
teor
08ce2ad500
feature(mining): Enable mining RPCs by default in production builds ( #7740 )
...
* Enable getblocktemplate-rpcs in production builds
* Update mining instructions
* Consistently use ZF funding stream addresses in examples
* Simplify skip_getblocktemplate()
* Set the test miner address based on the network
* Correctly skip checks in lightwalletd send transactions test
* Wait longer for transaction query
* Wait longer before re-checking the mempool
* Skip mempool checks if it wasn't queried by lightwalletd
* rustfmt
* clippy and rustfmt
* Fix attribute issue
* Fix typo
Co-authored-by: Arya <aryasolhi@gmail.com>
---------
Co-authored-by: Arya <aryasolhi@gmail.com>
2023-10-18 04:15:17 +00:00
teor
2a077f21c7
fix(ci): Skip mempool checks if it wasn't queried by lightwalletd ( #7744 )
...
* Correctly skip checks in lightwalletd send transactions test
* Wait longer for transaction query
* Wait longer before re-checking the mempool
* Skip mempool checks if it wasn't queried by lightwalletd
* rustfmt
* clippy and rustfmt
* Fix attribute issue
2023-10-17 02:56:00 +00:00
dependabot[bot]
5b9877a520
build(deps): bump the formats group with 1 update ( #7746 )
...
Bumps the formats group with 1 update: [regex](https://github.com/rust-lang/regex ).
- [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.10.0...1.10.2 )
---
updated-dependencies:
- 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>
2023-10-17 00:25:55 +00:00
Marek
13230d09fe
chore: Release v1.3.0 ( #7610 )
...
* Update `CHANGELOG.md`
* Apply suggestions from code review
Co-authored-by: teor <teor@riseup.net>
* Group together test PRs for `z_getsubtreesbyindex`
* chore: Release
* Update the end of support height
* Add progress bars changelog entry
* Update CHANGELOG.md
Co-authored-by: teor <teor@riseup.net>
* Update CHANGELOG.md
Co-authored-by: teor <teor@riseup.net>
* Update `CHANGELOG.md`
* Update `CHANGELOG.md`
* Update `README.md`
* Update `ESTIMATED_RELEASE_HEIGHT`
Set the release height to start on ~ Monday, 2023-10-16.
* Update CHANGELOG.md
Co-authored-by: teor <teor@riseup.net>
* Remove changelog entries invisible to users
---------
Co-authored-by: teor <teor@riseup.net>
2023-10-16 23:04:33 +00:00
dependabot[bot]
0507670259
build(deps): bump the log-time group with 1 update ( #7748 )
...
Bumps the log-time group with 1 update: [tracing](https://github.com/tokio-rs/tracing ).
- [Release notes](https://github.com/tokio-rs/tracing/releases )
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-0.1.37...tracing-0.1.39 )
---
updated-dependencies:
- dependency-name: tracing
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: log-time
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-16 20:13:38 +00:00
teor
ae52e3d23d
change(ui): Enable the progress bar feature by default, but only show progress bars when the config is enabled ( #7615 )
...
* Add a progress bar config that is disabled unless the feature is on
* Simplify the default config
* Enable the progress bar feature by default, but require the config
* Rename progress bars config to avoid merge conflicts
* Use a log file when the progress bar is activated
* Document how to configure progress bars
* Handle log files in config_tests and check config path
* Fix doc link
* Fix path check
* Fix config log matching
* Fix clippy warning
* Add tracing to config tests
* It's zebrad not zebra
* cargo fmt --all
* Update release for config file changes
* Fix config test failures
* Allow printing to stdout in a method
2023-10-12 00:25:37 +00:00
dependabot[bot]
00d2b45cb6
build(deps): bump the app group with 3 updates ( #7715 )
...
Bumps the app group with 3 updates: [clap](https://github.com/clap-rs/clap ), [semver](https://github.com/dtolnay/semver ) and [toml](https://github.com/toml-rs/toml ).
Updates `clap` from 4.4.4 to 4.4.6
- [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.4.4...v4.4.6 )
Updates `semver` from 1.0.19 to 1.0.20
- [Release notes](https://github.com/dtolnay/semver/releases )
- [Commits](https://github.com/dtolnay/semver/compare/1.0.19...1.0.20 )
Updates `toml` from 0.8.0 to 0.8.2
- [Commits](https://github.com/toml-rs/toml/compare/toml-v0.8.0...toml-v0.8.2 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: app
- dependency-name: semver
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: app
- dependency-name: toml
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-10-10 05:31:50 +00:00
dependabot[bot]
b2f69bbb3b
build(deps): bump the formats group with 2 updates ( #7714 )
...
* build(deps): bump the formats group with 2 updates
Bumps the formats group with 2 updates: [regex](https://github.com/rust-lang/regex ) and [byteorder](https://github.com/BurntSushi/byteorder ).
Updates `regex` from 1.9.5 to 1.10.0
- [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.5...1.10.0 )
Updates `byteorder` from 1.4.3 to 1.5.0
- [Changelog](https://github.com/BurntSushi/byteorder/blob/master/CHANGELOG.md )
- [Commits](https://github.com/BurntSushi/byteorder/compare/1.4.3...1.5.0 )
---
updated-dependencies:
- dependency-name: regex
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: formats
- dependency-name: byteorder
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: formats
...
Signed-off-by: dependabot[bot] <support@github.com>
* Add a test-related exception to deny.toml
---------
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-10-10 03:31:25 +00:00
Arya
931e0a7587
fix(tests): Checking if transactions get into the mempool fails in lightwalletd tests ( #7644 )
...
* copy zcash/lightwalletd service.proto
* uses correct assert & minor cleanup
* adds comment about checking service.proto file when
* adds workaround in send_transaction_test
* Update docs
Co-authored-by: Arya <aryasolhi@gmail.com>
---------
Co-authored-by: teor <teor@riseup.net>
2023-10-10 02:00:51 +00:00
dependabot[bot]
57964cefeb
build(deps): bump the test group with 1 update ( #7712 )
...
Bumps the test group with 1 update: [console-subscriber](https://github.com/tokio-rs/console ).
- [Release notes](https://github.com/tokio-rs/console/releases )
- [Commits](https://github.com/tokio-rs/console/compare/console-subscriber-v0.1.10...console-subscriber-v0.2.0 )
---
updated-dependencies:
- dependency-name: console-subscriber
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-10-10 00:49:20 +00:00
dependabot[bot]
004e4366c4
build(deps): bump the data-structures group with 1 update ( #7656 )
...
Bumps the data-structures group with 1 update: [indexmap](https://github.com/bluss/indexmap ).
- [Changelog](https://github.com/bluss/indexmap/blob/master/RELEASES.md )
- [Commits](https://github.com/bluss/indexmap/compare/2.0.0...2.0.1 )
---
updated-dependencies:
- dependency-name: indexmap
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: data-structures
...
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-10-09 23:06:26 +00:00
dependabot[bot]
87d1e6667a
build(deps): bump the test group with 4 updates ( #7706 )
...
Bumps the test group with 4 updates: [proptest](https://github.com/proptest-rs/proptest ), [insta](https://github.com/mitsuhiko/insta ), [tonic](https://github.com/hyperium/tonic ) and [tonic-build](https://github.com/hyperium/tonic ).
Updates `proptest` from 1.2.0 to 1.3.1
- [Release notes](https://github.com/proptest-rs/proptest/releases )
- [Changelog](https://github.com/proptest-rs/proptest/blob/master/CHANGELOG.md )
- [Commits](https://github.com/proptest-rs/proptest/compare/v1.2.0...v1.3.1 )
Updates `insta` from 1.32.0 to 1.33.0
- [Changelog](https://github.com/mitsuhiko/insta/blob/master/CHANGELOG.md )
- [Commits](https://github.com/mitsuhiko/insta/compare/1.32.0...1.33.0 )
Updates `tonic` from 0.10.1 to 0.10.2
- [Changelog](https://github.com/hyperium/tonic/blob/master/CHANGELOG.md )
- [Commits](https://github.com/hyperium/tonic/compare/v0.10.1...v0.10.2 )
Updates `tonic-build` from 0.10.1 to 0.10.2
- [Changelog](https://github.com/hyperium/tonic/blob/master/CHANGELOG.md )
- [Commits](https://github.com/hyperium/tonic/compare/v0.10.1...v0.10.2 )
---
updated-dependencies:
- dependency-name: proptest
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: test
- dependency-name: insta
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: test
- dependency-name: tonic
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: test
- dependency-name: tonic-build
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: test
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-09 21:27:12 +00:00
dependabot[bot]
f1c891bdcc
build(deps): bump the async group with 2 updates ( #7705 )
...
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.32.0 to 1.33.0
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.32.0...tokio-1.33.0 )
Updates `reqwest` from 0.11.20 to 0.11.22
- [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.20...v0.11.22 )
---
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>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-09 21:26:41 +00:00
teor
0faa0697d5
change(state): Only do continuous format checks in CI ( #7627 )
...
* Only do continuous format checks if enabled by a config
* Run continuous format checks in CI
2023-09-27 21:42:43 +00:00
Alfredo Garcia
09c1f994f0
remove intermittent asserts in test ( #7600 )
2023-09-21 03:20:55 +00:00
dependabot[bot]
b6a18e9bab
build(deps): bump the log-time group with 2 updates ( #7579 )
...
* build(deps): bump the log-time group with 2 updates
Bumps the log-time group with 2 updates: [chrono](https://github.com/chronotope/chrono ) and [sentry](https://github.com/getsentry/sentry-rust ).
Updates `chrono` from 0.4.30 to 0.4.31
- [Release notes](https://github.com/chronotope/chrono/releases )
- [Changelog](https://github.com/chronotope/chrono/blob/main/CHANGELOG.md )
- [Commits](https://github.com/chronotope/chrono/compare/v0.4.30...v0.4.31 )
Updates `sentry` from 0.31.6 to 0.31.7
- [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.6...0.31.7 )
---
updated-dependencies:
- dependency-name: chrono
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: log-time
- dependency-name: sentry
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: log-time
...
Signed-off-by: dependabot[bot] <support@github.com>
* reduce nanoseconds range in arbitrary tests
---------
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-09-20 23:41:05 +00:00
Alfredo Garcia
80da28b3e3
tests(rpc): Add fixed test vectors for `z_getsubtreesbyindex` from zcashd to zebra ( #7515 )
...
* add fixed test vectors for `z_getsubtreesbyindex`
* change to snapshots
* add test to docker
* remove assert lines from snapshots
* add more tests
* change test description
* change test name
* run both tests together
* wait for state version update in test
* Run one test at a time to avoid state locking issues
---------
Co-authored-by: teor <teor@riseup.net>
2023-09-20 23:40:21 +00:00
dependabot[bot]
99bfd1953b
build(deps): bump the app group with 1 update ( #7576 )
...
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.4.3...v4.4.4 )
---
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-09-19 23:05:19 +00:00
Alfredo Garcia
920468c0a1
add elasticsearch to features flag doc ( #7568 )
2023-09-19 23:04:56 +00:00
teor
7a7d79dfaf
fix(state): Use correct end heights for end of block subtrees during the full sync ( #7566 )
...
* Avoid manual handling of previous sapling trees by using iterator windows instead
* Avoid manual sapling subtree index handling by comparing prev and current subtree indexes instead
* Simplify adding notes by using the exact number of remaining notes
* Simplify by skipping the first block, because it can't complete a subtree
* Re-use existing tree update code
* Apply the sapling changes to orchard subtree updates
* add a reverse database column family iterator function
* Make skipping the lowest tree independent of iteration order
* Move new subtree checks into the iterator, rename to end_height
* Split subtree calculation into a new method
* Split the calculate and write methods
* Quickly check the first subtree before running the full upgrade
* Do the quick checks every time Zebra runs, and refactor slow check error handling
* Do quick checks for orchard as well
* Make orchard tree upgrade match sapling upgrade code
* Upgrade subtrees in reverse height order
* Bump the database patch version so the upgrade runs again
* Reset previous subtree upgrade data before doing this one
* Add extra checks to subtree calculation to diagnose errors
* Use correct heights for subtrees completed at the end of a block
* Add even more checks to diagnose issues
* Instrument upgrade methods to improve diagnostics
* Prevent modification of re-used trees
* Debug with subtree positions as well
* Fix an off-by-one error with completed subtrees
* Fix typos and confusing comments
Co-authored-by: Marek <mail@marek.onl>
* Fix mistaken previous tree handling and end tree comments
* Remove unnecessary subtraction in remaining leaves calc
* Log heights when assertions fail
* Fix new subtree detection filter
* Move new subtree check into a method, cleanup unused code
* Remove redundant assertions
* Wait for subtree upgrade before testing RPCs
* Fix subtree search in quick check
* Temporarily upgrade subtrees in forward height order
* Clarify some comments
* Fix missing test imports
* Fix subtree logging
* Add a comment about a potential hang with future upgrades
* Fix zebrad var ownership
* Log more info when add_subtrees.rs fails
* cargo fmt --all
* Fix unrelated clippy::unnecessary_unwrap
* cargo clippy --fix --all-features --all-targets; cargo fmt --all
* Stop the quick check depending on tree de-duplication
* Refactor waiting for the upgrade into functions
* Wait for state upgrades whenever the cached state is updated
* Wait for the testnet upgrade in the right place
* Fix unused variable
* Fix a subtree detection bug and comments
* Remove an early reference to reverse direction
* Stop skipping subtrees completed at the end of blocks
* Actually fix new subtree code
---------
Co-authored-by: Marek <mail@marek.onl>
2023-09-19 14:49:36 +00:00
dependabot[bot]
0ee8b95a01
build(deps): bump the test group with 2 updates ( #7578 )
...
Bumps the test group with 2 updates: [inferno](https://github.com/jonhoo/inferno ) and [prost](https://github.com/tokio-rs/prost ).
Updates `inferno` from 0.11.16 to 0.11.17
- [Changelog](https://github.com/jonhoo/inferno/blob/main/CHANGELOG.md )
- [Commits](https://github.com/jonhoo/inferno/compare/v0.11.16...v0.11.17 )
Updates `prost` from 0.12.0 to 0.12.1
- [Release notes](https://github.com/tokio-rs/prost/releases )
- [Commits](https://github.com/tokio-rs/prost/compare/v0.12.0...v0.12.1 )
---
updated-dependencies:
- dependency-name: inferno
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: test
- dependency-name: prost
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: test
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-19 14:49:23 +00:00
dependabot[bot]
4f6d28f9b1
build(deps): bump the formats group with 1 update ( #7577 )
...
Bumps the formats group with 1 update: [serde_json](https://github.com/serde-rs/json ).
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.106...v1.0.107 )
---
updated-dependencies:
- 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-09-18 18:42:35 +00:00
dependabot[bot]
a7501c16b1
build(deps): bump the app group with 3 updates ( #7551 )
...
Bumps the app group with 3 updates: [clap](https://github.com/clap-rs/clap ), [toml](https://github.com/toml-rs/toml ) and [vergen](https://github.com/rustyhorde/vergen ).
Updates `clap` from 4.4.2 to 4.4.3
- [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.4.2...v4.4.3 )
Updates `toml` from 0.7.8 to 0.8.0
- [Commits](https://github.com/toml-rs/toml/compare/toml-v0.7.8...toml-v0.8.0 )
Updates `vergen` from 8.2.4 to 8.2.5
- [Release notes](https://github.com/rustyhorde/vergen/releases )
- [Commits](https://github.com/rustyhorde/vergen/compare/8.2.4...8.2.5 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: app
- dependency-name: toml
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: app
- dependency-name: vergen
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>
Co-authored-by: teor <teor@riseup.net>
2023-09-14 18:08:13 +00:00
Alfredo Garcia
91ec8b910b
change(tests): update tests for new lightwalletd version used in Zebra ( #7349 )
...
* update docs for new lightwalletd version used in Zebra
* update some asserts
* add `RUST_LOG` to docker `entrypoint.sh` file
* clarify zecwallet-cli is untested with zcash/lightwalletd fork in the book
* revert entrypoint rust log changes
* remove sleep
* revert doc changes
* change formatting in expected output
* try sleep now that CI is working
* try sending more transactions
* remove tests with failures
* remove newline
2023-09-14 05:25:42 +00:00
Alfredo Garcia
a63fe225a0
change(tests): Obtain lightwalletd tip from logs instead of grpc ( #7507 )
...
* obtain lightwalletd from the logs
* revert #7332
* temporarily stop checking that the update sync has a good cached state
* Revert "temporarily stop checking that the update sync has a good cached state"
This reverts commit 0fb10938d9
.
* add `save_to_disk` to workflow
* Fix lightwalletd height_grep_text for ECC fork
* Add a TODO about blocking the async executor
---------
Co-authored-by: teor <teor@riseup.net>
2023-09-13 03:33:09 +00:00
Marek
dc6aa708d0
Test `z_getsubtreesbyindex` using a lightwalletd gRPC request ( #7521 )
...
* Add lightwalletd's protobuf types
* Don't explicitly derive `Eq` for enums
I got bitten by this bug: https://github.com/tokio-rs/prost/issues/332
when I added the enum `ShieldedProtocol` to the file `service.proto`.
The problem is that `prost` implicitly derives `Eq` for enums, so
deriving it explicitly via `type_attribute` causes a conflict. Lukily,
there is another method `message_attribute` that operates only on
messages and not enums.
* Test the `z_getsubtreesbyindex` RPC
* Fix a typo
* Add test vectors
2023-09-12 23:59:56 +00:00
dependabot[bot]
70d34a6d4b
build(deps): bump the formats group with 2 updates ( #7526 )
...
Bumps the formats group with 2 updates: [serde_json](https://github.com/serde-rs/json ) and [bytes](https://github.com/tokio-rs/bytes ).
Updates `serde_json` from 1.0.105 to 1.0.106
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.105...v1.0.106 )
Updates `bytes` from 1.4.0 to 1.5.0
- [Release notes](https://github.com/tokio-rs/bytes/releases )
- [Changelog](https://github.com/tokio-rs/bytes/blob/master/CHANGELOG.md )
- [Commits](https://github.com/tokio-rs/bytes/compare/v1.4.0...v1.5.0 )
---
updated-dependencies:
- dependency-name: serde_json
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: formats
- dependency-name: bytes
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-09-12 00:33:20 +00:00
dependabot[bot]
3ec142d2ee
build(deps): bump the log-time group with 1 update ( #7527 )
...
Bumps the log-time group with 1 update: [chrono](https://github.com/chronotope/chrono ).
- [Release notes](https://github.com/chronotope/chrono/releases )
- [Changelog](https://github.com/chronotope/chrono/blob/main/CHANGELOG.md )
- [Commits](https://github.com/chronotope/chrono/compare/v0.4.29...v0.4.30 )
---
updated-dependencies:
- dependency-name: chrono
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: log-time
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-11 21:59:04 +00:00
dependabot[bot]
733b89b972
build(deps): bump the app group with 1 update ( #7525 )
...
Bumps the app group with 1 update: [toml](https://github.com/toml-rs/toml ).
- [Commits](https://github.com/toml-rs/toml/compare/toml-v0.7.6...toml-v0.7.8 )
---
updated-dependencies:
- dependency-name: toml
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-09-11 21:58:40 +00:00
teor
29d8e90ccf
fix(ci): Increase test launch and shutdown times to fix CI failures ( #7499 )
...
* Increase launch times to help fix failures in rpc_conflict and non_blocking_logger tests
* Add extra task spawn and shutdown logs to start.rs
2023-09-07 00:04:02 +00:00
dependabot[bot]
b7aae8a34e
build(deps): bump the test group with 3 updates ( #7459 )
...
* build(deps): bump the test group with 3 updates
Bumps the test group with 3 updates: [prost](https://github.com/tokio-rs/prost ), [tonic](https://github.com/hyperium/tonic ) and [tonic-build](https://github.com/hyperium/tonic ).
Updates `prost` from 0.11.9 to 0.12.0
- [Release notes](https://github.com/tokio-rs/prost/releases )
- [Commits](https://github.com/tokio-rs/prost/compare/v0.11.9...v0.12.0 )
Updates `tonic` from 0.9.2 to 0.10.0
- [Changelog](https://github.com/hyperium/tonic/blob/master/CHANGELOG.md )
- [Commits](https://github.com/hyperium/tonic/commits )
Updates `tonic-build` from 0.9.2 to 0.10.0
- [Changelog](https://github.com/hyperium/tonic/blob/master/CHANGELOG.md )
- [Commits](https://github.com/hyperium/tonic/commits )
---
updated-dependencies:
- dependency-name: prost
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: test
- dependency-name: tonic
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: test
- dependency-name: tonic-build
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: test
...
Signed-off-by: dependabot[bot] <support@github.com>
* update deny.toml
---------
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-09-06 15:44:44 +00:00
dependabot[bot]
885ee71195
build(deps): bump the log-time group with 2 updates ( #7493 )
...
Bumps the log-time group with 2 updates: [chrono](https://github.com/chronotope/chrono ) and [thiserror](https://github.com/dtolnay/thiserror ).
Updates `chrono` from 0.4.28 to 0.4.29
- [Release notes](https://github.com/chronotope/chrono/releases )
- [Changelog](https://github.com/chronotope/chrono/blob/main/CHANGELOG.md )
- [Commits](https://github.com/chronotope/chrono/compare/v0.4.28...v0.4.29 )
Updates `thiserror` from 1.0.47 to 1.0.48
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.47...1.0.48 )
---
updated-dependencies:
- dependency-name: chrono
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: log-time
- dependency-name: thiserror
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: log-time
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-06 02:44:01 +00:00
dependabot[bot]
cc2dbe32da
build(deps): bump the time group with 1 update ( #7455 )
...
Bumps the time group with 1 update: [chrono](https://github.com/chronotope/chrono ).
- [Release notes](https://github.com/chronotope/chrono/releases )
- [Changelog](https://github.com/chronotope/chrono/blob/main/CHANGELOG.md )
- [Commits](https://github.com/chronotope/chrono/compare/v0.4.27...v0.4.28 )
---
updated-dependencies:
- dependency-name: chrono
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: time
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-05 19:06:57 +00:00
dependabot[bot]
ecd4e1faed
build(deps): bump the app group with 1 update ( #7457 )
...
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.4.1...v4.4.2 )
---
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-09-05 02:05:43 +00:00
dependabot[bot]
98d0038fb0
build(deps): bump the formats group with 1 update ( #7458 )
...
Bumps the formats group with 1 update: [regex](https://github.com/rust-lang/regex ).
- [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.4...1.9.5 )
---
updated-dependencies:
- 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>
2023-09-04 21:06:01 +00:00
Alfredo Garcia
6f503049c6
Release Zebra v1.2.0 ( #7431 )
...
* chore: Release
* change estimated release height
* add 1.2.0 changelog
* apply suggestions to changelog
Co-authored-by: teor <teor@riseup.net>
* remove item
* change release date to today
---------
Co-authored-by: teor <teor@riseup.net>
2023-09-01 20:45:20 +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
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
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
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
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