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

Introduce initial ZSA support in Zebra (draft PR for CI checks) #8872

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
43b5e50
Prepare to use Orchard ZSA
dmidem Jul 29, 2024
95dce56
Switch Zebra to QED-it ZSA-compatible crates but maintain the origina…
dmidem Aug 11, 2024
054e655
Merge remote-tracking branch 'origin/main' into switch-to-zsa-crates-…
dmidem Aug 18, 2024
a3a61f5
Add initial Transaction V6 support in zebra-chain crate.
dmidem Aug 28, 2024
83d981b
Add initial Transaction V6 support in other crates and tests (just co…
dmidem Aug 28, 2024
c8fa779
Fix compilation errors in tests
dmidem Aug 28, 2024
2d23d6b
Merge branch 'zsa1' into switch-to-zsa-crates-nu6
dmidem Sep 2, 2024
9d6c8e9
Merge branch 'switch-to-zsa-crates-nu6' into switch-to-zsa-crates-nu6…
dmidem Sep 2, 2024
53c65b6
Trigger CI
dmidem Sep 2, 2024
c67e2ae
Merge branch 'switch-to-zsa-crates-nu6' into switch-to-zsa-crates-nu6…
dmidem Sep 2, 2024
c238847
Add basic CI checks workflow
dmidem Sep 3, 2024
2c13ae9
Fix ci-basic.yml
dmidem Sep 3, 2024
5a839c6
Fix ci-basic.yml (2)
dmidem Sep 3, 2024
367a14b
Add installing of build-essential to ci-basic.yml
dmidem Sep 3, 2024
f425747
Try to use librocksdb-dev in ci-basic.yml
dmidem Sep 3, 2024
831c847
Run ci-basic.yml on ubuntu-24.04
dmidem Sep 3, 2024
ecaf98d
Enable nu6 cfg flag in ci-basic.yml
dmidem Sep 3, 2024
7d11159
Adjust the code with librustzcash/zcash_protocol nu6 related changes
dmidem Sep 4, 2024
6a0196e
Add RUSTDOCFLAGS to ci-basic.yml
dmidem Sep 4, 2024
8e53d24
Merge branch 'switch-to-zsa-crates-nu6' into switch-to-zsa-crates-nu6…
dmidem Sep 9, 2024
23e318c
Add support for Orchard ZSA and updated generic structures for Tx V6 …
dmidem Sep 16, 2024
e98bb67
Fix compilation errors for unit tests
dmidem Sep 18, 2024
dd741e9
Add missed files
dmidem Sep 18, 2024
c218fc5
Fix ciphertexts.rs tests compilation error
dmidem Sep 18, 2024
4807dd6
Simplify the previous fix for ciphertexts.rs test
dmidem Sep 18, 2024
cccadcd
Merge branch 'switch-to-zsa-crates-nu6-txv6-gen' of https://github.co…
dmidem Sep 18, 2024
0f9c164
Fix tests compilation errors for nullifiers
dmidem Sep 18, 2024
1526276
Merge remote-tracking branch 'origin/main' into switch-to-zsa-crates-nu6
dmidem Sep 22, 2024
654b8d4
Merge branch 'switch-to-zsa-crates-nu6' into switch-to-zsa-crates-nu6…
dmidem Sep 22, 2024
20810ee
Merge branch 'switch-to-zsa-crates-nu6-txv6' into switch-to-zsa-crate…
dmidem Sep 22, 2024
9e94dc5
Merge remote-tracking branch 'zcash/main' into switch-to-zsa-crates-nu6
dmidem Sep 22, 2024
a6405d7
Merge branch 'switch-to-zsa-crates-nu6' into switch-to-zsa-crates-nu6…
dmidem Sep 22, 2024
986339e
Merge branch 'switch-to-zsa-crates-nu6-txv6' into switch-to-zsa-crate…
dmidem Sep 22, 2024
4d8cdef
Add several FIXME comments
dmidem Sep 24, 2024
1adadb1
Remove (comment out) zcash_unstable=nu6 Rust flag and sync Cargo.lock…
dmidem Sep 24, 2024
e9b0d46
Merge remote-tracking branch 'origin/main' into switch-to-zsa-crates-…
dmidem Sep 24, 2024
e2e160c
Attempt to make the code compilable when tx-v6 feature is disabled
dmidem Sep 30, 2024
5eade11
Merge branch 'main' of https://github.com/QED-it/zebra into switch-to…
dmidem Oct 2, 2024
763cded
Use tx-v6 feature across all crates
dmidem Oct 2, 2024
083171f
Merge branch 'switch-to-zsa-crates-nu6-txv6-gen-txv6-disabled' into s…
dmidem Oct 2, 2024
12ade98
Merge branch 'main' into switch-to-zsa-crates-nu6
dmidem Oct 2, 2024
a09774e
Merge branch 'main' into switch-to-zsa-crates-nu6-txv6
dmidem Oct 2, 2024
a026dd2
Merge branch 'switch-to-zsa-crates-nu6' into switch-to-zsa-crates-nu6…
dmidem Oct 2, 2024
d2917fb
Merge branch 'switch-to-zsa-crates-nu6-txv6' into switch-to-zsa-crate…
dmidem Oct 2, 2024
c979861
Patch path for zcash_keys in Cargo.toml to avoid crate duplication in…
dmidem Oct 2, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 36 additions & 0 deletions .github/workflows/ci-basic.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Basic checks

#on: [push, pull_request]
on: [push]

jobs:
test:
name: Test on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-24.04]

env:
# Use system-installed RocksDB library instead of building from scratch
ROCKSDB_LIB_DIR: /usr/lib
# Use system-installed Snappy library for compression in RocksDB
SNAPPY_LIB_DIR: /usr/lib/x86_64-linux-gnu
# FIXME: remove the following commented lines
# Enable the `nu6` feature in `zcash_protocol`
#RUSTFLAGS: '--cfg zcash_unstable="nu6"'
#RUSTDOCFLAGS: '--cfg zcash_unstable="nu6"'

steps:
- uses: actions/checkout@v4
- name: Install dependencies on Ubuntu
#run: sudo apt-get update && sudo apt-get install -y protobuf-compiler build-essential librocksdb-dev
run: sudo apt-get update && sudo apt-get install -y protobuf-compiler librocksdb-dev
- name: Run tests
run: cargo test --verbose
- name: Verify working directory is clean
run: git diff --exit-code
- name: Run doc check
run: cargo doc --all-features --document-private-items
- name: Run format check
run: cargo fmt -- --check
Loading
Loading