Commit Graph

1881 Commits

Author SHA1 Message Date
y4ssi 3532fa1f04
Update smoke_tests.py 2025-04-30 23:30:16 -06:00
y4ssi a991698fe2
Update smoke_tests.py 2025-04-30 23:05:54 -06:00
Daira-Emma Hopwood bee8d1df45 Postpone C++ dependency updates for the v6.2.0 release.
Signed-off-by: Daira-Emma Hopwood <daira@jacaranda.org>
2025-04-16 22:24:27 +01:00
Daira-Emma Hopwood 99557f8a3d Update audits.
Signed-off-by: Daira-Emma Hopwood <daira@jacaranda.org>
2025-04-10 21:28:06 +01:00
Daira-Emma Hopwood a8aa33152c Postpone native updates (after thorough checking with @y4ssi).
Co-authored-by: Yasser <yasser@electriccoin.co>
Signed-off-by: Daira-Emma Hopwood <daira@jacaranda.org>
2025-04-10 18:39:09 +01:00
Daira-Emma Hopwood 638ea507be Allow the RPC help to be displayed for disabled methods.
Co-authored-by: Kris Nuttycombe <kris@nutty.land>
Signed-off-by: Daira-Emma Hopwood <daira@jacaranda.org>
2025-04-09 03:32:53 +01:00
Daira-Emma Hopwood f8a5d39464 Fix RPC tests broken by deprecations.
Signed-off-by: Daira-Emma Hopwood <daira@jacaranda.org>
2025-04-09 03:32:53 +01:00
Jack Grigg 48ba891366 Add a warning modal for zcashd deprecation
Closes zcash/zcash#6982.
2025-04-07 19:19:36 +00:00
Jack Grigg 907a477c7f cargo update 2025-01-07 20:33:39 +00:00
Jack Grigg d21cb5409f depends: cxx 1.0.136 2025-01-07 20:33:39 +00:00
Jack Grigg 0aac0db813 cargo vet prune 2025-01-07 20:33:39 +00:00
Jack Grigg 9c0a8ad776 depends: native_cmake 3.31.3 2025-01-07 20:33:39 +00:00
Jack Grigg 90ef1beea4 depends: native_xxhash 0.8.3 2025-01-07 20:33:39 +00:00
Jack Grigg bf4c198e6b depends: native_fmt 11.1.1 2025-01-07 20:33:39 +00:00
Jack Grigg 8e68e5b181 depends: utfcpp 4.0.6 2025-01-07 20:33:39 +00:00
Jack Grigg 26bdfcf9f0 qa: Postpone all dependency updates until after 6.1.0 2025-01-02 19:15:43 +00:00
Jack Grigg 44f6202c72
qa: Fix line wrapping in `show_help` 2025-01-02 17:23:22 +00:00
Larry Ruane 7b5029eb9f move Lockbox value logging behind category valuepool 2024-12-16 23:07:08 -07:00
Daira-Emma Hopwood a0602ebfb7 Changes necessary for NU6 funding streams and activation height.
Co-authored-by: Jack Grigg <jack@electriccoin.co>
Signed-off-by: Daira-Emma Hopwood <daira@jacaranda.org>
2024-10-02 21:36:18 +00:00
Jack Grigg fd47b5af52 Migrate to librustzcash crates revision right before NU6 mainnet height
This gets the other side-effects of the recent changes out of the way,
and then in the commit where we set the mainnet activation height in
`zcashd`, we can do so uniformly across the stack.
2024-10-02 20:26:29 +00:00
Jack Grigg f5245c7092 qa: Add latest Clang release to postponed updates 2024-10-02 20:19:45 +00:00
Daira-Emma Hopwood dd791388c7 Add a regression test for the ZIP 317 default fee bug (#6956), and make
the tests pass for now.

Signed-off-by: Daira-Emma Hopwood <daira@jacaranda.org>
2024-10-02 04:03:09 +01:00
Daira-Emma Hopwood 8b436e8f1f Repair the RPC tests.
Co-authored-by: Jack Grigg <jack@electriccoin.co>
Signed-off-by: Daira-Emma Hopwood <daira@jacaranda.org>
2024-10-02 03:53:11 +01:00
Jack Grigg 4aebdeb362 Migrate to latest revision of Zcash Rust crates 2024-09-27 21:42:28 +00:00
Jack Grigg 155e095f2a qa: Postpone Boost, LevelDB, and Clang updates 2024-09-25 22:43:39 +00:00
Jack Grigg 15a9f521b3 cargo update 2024-09-25 22:43:13 +00:00
Jack Grigg 46dee901fa cargo vet prune 2024-09-25 22:18:01 +00:00
Jack Grigg ab4ac58907 depends: cxx 1.0.128 2024-09-25 22:14:39 +00:00
Kris Nuttycombe 646ab61713 Disable macos CI runners.
At this point, we are not going to take the time to enable tier-3
platforms. Users desiring to use these platforms should migrate to
zebrad instead.
2024-08-27 09:30:00 -06:00
Kris Nuttycombe 5747475d17 Update supply-chain audits for Rust version bumps. 2024-08-26 21:37:28 -06:00
Daira-Emma Hopwood 8d6ca0c841 Change constant names for funding streams added in NU6 to match ZIP 214.
Signed-off-by: Daira-Emma Hopwood <daira@jacaranda.org>
2024-08-26 22:26:37 +01:00
Daira-Emma Hopwood 7bd58dc48e Add some diff audits to avoid exemptions for arrayref, cc, and tempfile.
Signed-off-by: Daira-Emma Hopwood <daira@jacaranda.org>
2024-08-22 15:58:20 +01:00
Kris Nuttycombe ff1c8eb5b8 Remove unnecessary audit-as-crates-io from qa/supply-chain/config.toml 2024-08-22 08:36:29 -06:00
Kris Nuttycombe 4d28840612 Update audit metadata for Rust crates. 2024-08-22 07:05:54 -06:00
Kris Nuttycombe 68521b0e26 Update native_rust to version 1.80.1 2024-08-21 20:20:20 -06:00
Daira-Emma Hopwood c890bb505a Mark mempool_nu_activation as a flaky RPC test.
Signed-off-by: Daira-Emma Hopwood <daira@jacaranda.org>
2024-08-22 01:02:41 +01:00
Daira-Emma Hopwood 5e6a62306e Update RPC test Python dependencies: base58 is required; simplejson is not.
Signed-off-by: Daira-Emma Hopwood <daira@jacaranda.org>
2024-08-21 23:45:59 +01:00
Daira-Emma Hopwood 8af193808d Try to reduce the incidence of some RPC test race conditions.
Signed-off-by: Daira-Emma Hopwood <daira@jacaranda.org>
2024-08-21 23:45:59 +01:00
Daira-Emma Hopwood cf98b3ea1d Extend `coinbase_funding_streams` to also test ZIP 236.
Co-authored-by: Kris Nuttycombe <kris@nutty.land>
Signed-off-by: Daira-Emma Hopwood <daira@jacaranda.org>
2024-08-21 11:28:36 +01:00
Daira-Emma Hopwood 9f7ee08af0 Ensure that `create_coinbase` can work on regtest after various
network upgrades:
* after Blossom, there is an extra halving of the block reward;
* after NU5, `nExpiryHeight` must be equal to the block height;
* after NU6, we need to take into account the lockbox value.

Also we rename `hashFinalSaplingRoot` to `hashBlockCommitments`,
and make `CBlock.rehash` implicitly recalculate the `hashMerkleRoot`
and `hashAuthDataRoot` fields.

Signed-off-by: Daira-Emma Hopwood <daira@jacaranda.org>
2024-08-21 11:28:36 +01:00
Daira-Emma Hopwood e612ca0858 Add `test_framework.mininode.uint256_from_reversed_hex`.
Signed-off-by: Daira-Emma Hopwood <daira@jacaranda.org>
2024-08-21 11:28:36 +01:00
Kris Nuttycombe f26bb38cdf Compute chain value earlier in block processing.
After the implementation of ZIP 236, `TestBlockValidity` would fail to
correctly handle blocks newly created by the miner because the value
allocated to the lockbox was not computed in the path to calling
`ContextualCheckBlock`. This refactors the computation of the lockbox
value and other pool values such that it is always performed prior to
invoking `CheckBlock`.

Secondarily, the `coinbase_funding_streams` test was previously
inadvertently creating a silent chain fork by applying different funding
stream rules on the node on which the block was created relative to the
second node used in the test.

Author: Kris Nuttycombe <kris@nutty.land>
Co-authored-by: Daira-Emma Hopwood <daira@jacaranda.org>
2024-08-21 11:27:36 +01:00
Kris Nuttycombe d9bcc0686a Use __func__ for substitution in `ConnectBlock` error messages.
This makes it easier to find actual `ConnectBlock` call sites using
text search of the source code.
2024-08-21 03:54:23 +01:00
Daira-Emma Hopwood a888dfdbef Work around one of the race conditions in the `wallet_deprecation` test.
Signed-off-by: Daira-Emma Hopwood <daira@jacaranda.org>
2024-08-21 02:12:40 +01:00
Daira-Emma Hopwood 6141a56ba2 Make use of the 'filter' option to `tarfile.extractall` conditional on
the version of Python that added it (3.11.4).

Signed-off-by: Daira-Emma Hopwood <daira@jacaranda.org>
2024-08-21 02:12:35 +01:00
Daira-Emma Hopwood a4bf3b1eda Update Python code to work, and avoid deprecation warnings, on Python 3.12.
Signed-off-by: Daira-Emma Hopwood <daira@jacaranda.org>
2024-08-20 13:21:46 +01:00
Kris Nuttycombe 623bf72d3b
Merge pull request #6927 from daira/inv-buffer
Backport fix for INV buffer blowup
2024-08-19 09:08:59 -06:00
Kris Nuttycombe 1f610d06a9 Add tests for lockbox funding streams. 2024-08-08 17:21:01 -06:00
Kris Nuttycombe de8805448a Add constants & configuration for NU6.
This also updates to zcash/librustzcash@5a4a3e06dc
in order to ensure consistency between constants defined in librustzcash
and the constants defined here.
2024-08-07 15:15:56 -06:00
Jack Grigg 16ab6e8008 rust: Remove `zcash-inspect` binary
This has been moved into the `zcash/librustzcash` repository as a
devtool.
2024-08-06 16:13:09 +00:00