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

WIP refactor of avail-core and proof generation #27

Merged
merged 96 commits into from
Jul 31, 2023

Conversation

Aphoh
Copy link
Contributor

@Aphoh Aphoh commented Mar 17, 2023

Description

This PR aims to completely rewrite the kate::com module to a cleaner API which allows a caller to

  1. Better cache the evaluation/polynomial grids
  2. Pick their serialization format
  3. Use polynomial multiproofs 😄

Companion PRs after this:

kate/Cargo.toml Outdated Show resolved Hide resolved
kate/Cargo.toml Outdated Show resolved Hide resolved
kate/Cargo.toml Outdated Show resolved Hide resolved
kate/grid/src/dims.rs Outdated Show resolved Hide resolved
kate/grid/src/dims.rs Outdated Show resolved Hide resolved
primitives/types/src/data_lookup.rs Outdated Show resolved Hide resolved
primitives/types/src/data_lookup.rs Outdated Show resolved Hide resolved
primitives/types/src/data_lookup.rs Outdated Show resolved Hide resolved
primitives/types/src/data_lookup.rs Outdated Show resolved Hide resolved
primitives/types/src/lib.rs Outdated Show resolved Hide resolved
fmiguelgarcia and others added 10 commits July 10, 2023 14:43
* Simplify `Debug` and `RuntimeDebug`

* Clean some deps

* Remove asserts from production code

* CodeReview: Keep warning for future

* Replace `Grid` by `NAlgebra`

* Full replacement All UT pass

* Fix example

* Use keccak256.

Signed-off-by: Sasa Prsic <sasa@ethernal.tech>

* Add benchmark on reconstruction

* Add benchmark

* Add benchmark

* Reduce memory copies

* Some improvements

* Refactor `avail-core` add `runtime` feature

* MerkleProof under 'runtime' feature

* DataLookup simplification

* Add UT for `DataLookup`'s serde

* Remove `AppIndex` & enforce `AppId`

* Add `CompactDataLookup`

* Moving `nomad` code

* Improve `no-std` segragation

* Dedup `Index` related stuff

* Clean some deps in `nomad`

* Enable CI Benchmarks

* Add temporary Will's branch

* Fix check fmt on CI

* Fix clippy on CI

* Fix check fmt on CI

* Remove `Criterion` on CI

* Bump up versions

* Use `collect_into_vec`

* Use `Dimension::weight/height()`

---------

Signed-off-by: Sasa Prsic <sasa@ethernal.tech>
Co-authored-by: Sasa Prsic <sasa@ethernal.tech>
Co-authored-by: Saša Pršić <93726535+0xSasaPrsic@users.noreply.github.com>
@fmiguelgarcia fmiguelgarcia marked this pull request as ready for review July 25, 2023 12:15
kate/src/lib.rs Outdated Show resolved Hide resolved
@fmiguelgarcia fmiguelgarcia merged commit 3e97252 into main Jul 31, 2023
2 checks passed
@fmiguelgarcia fmiguelgarcia deleted the will/grid-refactor branch July 31, 2023 07:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants