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

Upgrade zebra-script for the zcashd 5.4.0 release #6107

Closed
teor2345 opened this issue Feb 6, 2023 · 5 comments · Fixed by #6214
Closed

Upgrade zebra-script for the zcashd 5.4.0 release #6107

teor2345 opened this issue Feb 6, 2023 · 5 comments · Fixed by #6214
Assignees
Labels
A-consensus Area: Consensus rule updates A-dependencies Area: Dependency file updates A-script Area: Script handling

Comments

@teor2345
Copy link
Contributor

teor2345 commented Feb 6, 2023

Motivation

When zcashd 5.4.0 is released, we can upgrade the following dependency tree:

  • zebra-script
    • zcash_script:
      • C++ code from zcashd
      • zcash_primitives 0.9 or 0.10
      • cxx 1.0.83

We might want to check that it compiles earlier, so we can remove any unnecessary zcashd dependencies or fix C++ compilation issues.

Testing

We have existing CI tests for all this code.

Related Work

We are upgrading Zebra's direct dependency on zcash_primitives to 0.10 in PR #6087.

@teor2345 teor2345 added A-dependencies Area: Dependency file updates A-consensus Area: Consensus rule updates S-needs-triage Status: A bug report needs triage P-Medium ⚡ A-script Area: Script handling labels Feb 6, 2023
@teor2345
Copy link
Contributor Author

teor2345 commented Feb 6, 2023

@mpguerra we might want to check that this upgrade works before ECC does their release, so we don't have to use forked versions of their crates or the zcashd code.

We don't have to do a full zcash_script release, just update the C++ code and dependencies and check it works. What do you think @conradoplg, is it worth it?

@teor2345 teor2345 changed the title Upgrade zebra-script before ECC releases zcashd 5.4.0 Upgrade zebra-script for the zcashd 5.4.0 release Feb 6, 2023
@conradoplg
Copy link
Contributor

@mpguerra we might want to check that this upgrade works before ECC does their release, so we don't have to use forked versions of their crates or the zcashd code.

We don't have to do a full zcash_script release, just update the C++ code and dependencies and check it works. What do you think @conradoplg, is it worth it?

I think it's worth it, yes. Usually it's simple until it's not 😛

@teor2345
Copy link
Contributor Author

teor2345 commented Feb 6, 2023

Usually it's simple until it's not 😛

And I'd like to know that now while we can still ask them to fix things!

@mpguerra
Copy link
Contributor

@teor2345
Copy link
Contributor Author

teor2345 commented Feb 14, 2023

We missed doing this before the release, so there might be some bugs we can't fix until their next release.

It would be good to have 3 people in the team who can work with zcash_script.
Conrado and I understand this code, maybe we could help someone else work on it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-consensus Area: Consensus rule updates A-dependencies Area: Dependency file updates A-script Area: Script handling
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

4 participants