Skip to content

Commit

Permalink
Merge commit 'b8c4176c4ea1ee5537723d794fcd571129f24ac4' into dev/vhna…
Browse files Browse the repository at this point in the history
…t/ntt-wip
  • Loading branch information
vhnatyk committed Apr 3, 2023
2 parents b593d4a + b8c4176 commit 0b80bc7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,17 @@ This implementation is meant to run entirely on an NVIDIA GPU.The code is a high

## Build and usage

> NOTE: [NVCC] and [Rust] are prerequisites for building.
> NOTE: [NVCC], [Rust] are prerequisites for building. Python 3.10 and up for test data generation.
1. ICICLE library supports BLS12-381 as default curve, that is the curve in use for danksharding
2. To build and run fast-danksharding using cargo
2. Go into git dir init the submodule and update
3. Generate test vectors
4. To build and run fast-danksharding using cargo

```sh
git submodule init
git submodule update
python3 kzg_data_availability/tests.py
cargo run --release
```

Expand Down
2 changes: 1 addition & 1 deletion fast-danksharding/src/fast_danksharding.rs
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ pub fn main_flow() {
// K = [K0, K1] // 2*N_ROWS x 1 (512x1 commitments)
let K = [K0, K1].concat();
println!("K {:0.3?}", br1_time.elapsed());

println!("Branch1 {:0.3?}", br1_time.elapsed());
assert_eq!(K, get_debug_data_points_proj_xy1_vec("K.csv", 2 * N_ROWS));

Expand Down

0 comments on commit 0b80bc7

Please sign in to comment.