Feature Branch Testnet and Compatible Developer Tooling

Hello Zcash Community!

There has been significant community discussion on the content of the NU7 upgrade and the timeline of deployment of the various proposed inclusions. One of the outcomes of the discussions has been to complete the merge of the code for different features into their own long-term-feature branches, for better future maintenance. The other supported outcome has been for the set up and maintenance of feature testnets with various inclusions, to allow users with interest in trying out features to do so and showcase their interest.

The main deliverable of this grant proposal is a feature testnet for development features that are not in NU7: ZSA and NSM.

Adjustments and maintenance required due to the new extensible transaction format and the new quantum recoverability key structure will be implemented. In addition, tools to interact with the features on the testnet and create transactions under the new format will also be provided.

The availability of such a testnet would serve as an outlet for interest in features, but also as a way to catch unforeseen issues with newer proposals before they make it into the “main” testnet-mainnet deployment. In addition, this allows for testing of the interaction between these different features.

We are assigning a small but accomplished set of engineering resources towards this effort. The full grant proposal has been posted to GitHub. We’d love to hear your thoughts!

Best,
The QEDIT Team.

8 Likes

@vivek at the most recent meeting, ZCG voted to approve this proposal. Congratulations!

To keep the community informed, ZCG requests that you provide monthly updates via the forum in this thread.

Please check your forum inbox for a direct message from FPF with important next steps, including a link to the Milestone Payment Request Form and your unique validation code for submitting payment requests.

1 Like

Dear Zcash Community,

We’re happy to share with you what we’ve been working on recently! The general theme has been bringing our codebase in line with the updates that have been made in the recent NU6.2 and NU6.3 releases.

halo2

  • We are waiting for another review on (or merge of) PR#887 post making the requested changes. This PR allows the creation of non-identity points properly pinned to constants, which is required for the OrchardZSA circuit.

Orchard

  • OrchardZSA now builds on top of the NU6.3 changes (PR link)
  • The cross-address restriction introduced in the recent upgrades has been extended into the ZSA circuit, along with other relevant changes (PR link)
  • We have also separated out the changes related just to the ZSA circuit (PR#267) in a way that allows it to be incorporated into the upstream code without yet changing the behaviour of the code. This is modularization of our changes for ease of review and merge by the core developers.

librustzcash

  • The ZSA version of librustzcash is now synced with NU6.2 (PR#310).
  • We are currently working on doing the same with NU6.3, this is in progress.

ZIPs

zcash-test-vectors

  • Updates (PR#55 and PR#56) have been made to support the changes needed in the tests used in the librustzcash sync detailed above.
  • This involves setting the proof sizes in the transaction to be the expected length instead of any random length.

Zebra

  • The ZSA version of Zebra is being rebased over v5.2.0 (i.e. the last released version before NU6.3) (PR#155).
  • We are currently working on rebasing our work over NU6.3, this is in progress.
  • There have also been various additions to the infrastructure to support the deployment of a ZSA testnet.

zcash_tx_tool

  • Our tool has also been updated to work with the ZSA version of Zebra v5.2.0 (as described above) (PR#100).

Best,

The QEDIT Team.

1 Like

Dear Zcash Community,

We’re here with an update on what we’ve been working on recently. The general theme has been bringing our codebase in line with the updates that have been made in the recent NU6.2 and NU6.3 releases.

halo2

  • We are happy to share that our PR#887 was merged into upstream after another round of reviews. This allows the creation of non-identity points properly pinned to constants, which is required for the OrchardZSA circuit.

Orchard

  • A new PR#546 to upstream has been opened and is ready for review. This PR separates out the changes to add the ZSA circuit into the Orchard protocol.
  • This is done in a way that allows it to be incorporated into the upstream code without yet changing the behaviour of the upstream protocol.
  • The changes are unreachable from the builder, and bundle construction, encoding and verification remain unchanged at this point (the zsa_enabled flag is hard-coded to false).
  • This allows for the circuit changes to be reviewed and incorporated as a first step by the core developers. The rest of the Orchard changes will be submitted as a follow-up PR.
  • OrchardZSA now builds on top of the NU6.3 changes, as described in the previous update - we have made various improvements to help reduce the diff from the upstream.

Testnet

  • We have updated the URL from which we can connect to the testnet - it is now available at https://rpc.test-zsa.org.
  • Please note: Our previous URL for this has now been deprecated! Use the new URL to connect to the testnet, by setting the following variables:
    ZCASH_NODE_ADDRESS=rpc.test-zsa.org 
    ZCASH_NODE_PORT=443 
    ZCASH_NODE_PROTOCOL=https
    

librustzcash

  • The ZSA version of librustzcash is mostly synced with NU6.3 (PR#355). This is currently being reviewed internally.

zcash-test-vectors

  • Updates (PR#58, PR#59, and PR#60) have been made to support the addition of quantum recoverability in the Orchard repository and to extend it to work with the OrchardZSA code.

Zebra

  • The ZSA version of Zebra has been rebased over v5.2.0 (i.e. the last released version before NU6.3) (PR#155).
  • The rebasing over NU6.3 continues to be in progress.
  • There have also been various additions to the infrastructure to support the deployment of a ZSA testnet.

zcash_tx_tool

  • We have released v0.6.0 of our tool, which works with the ZSA version of Zebra v5.2.0 (as described above) (PR#101). This also makes it clearer which version of the Zebra node is compatible with the tx_tool.

Best,

The QEDIT Team.