Skip to content

Commit

Permalink
NAlgebra replaces custom grid (#33)
Browse files Browse the repository at this point in the history
* 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 <[email protected]>

* 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 <[email protected]>
Co-authored-by: Sasa Prsic <[email protected]>
Co-authored-by: Saša Pršić <[email protected]>
  • Loading branch information
3 people authored Jul 20, 2023
1 parent 0059521 commit 544cc3e
Show file tree
Hide file tree
Showing 85 changed files with 3,577 additions and 3,516 deletions.
10 changes: 9 additions & 1 deletion .github/workflows/default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,12 @@ on:
branches:
- main
- develop
- will/grid-refactor
pull_request:
branches:
- main
- develop
- will/grid-refactor

jobs:
build_and_test:
Expand Down Expand Up @@ -45,11 +47,17 @@ jobs:
command: fmt
args: --check

- name: Check Clippy
uses: actions-rs/cargo@v1
with:
command: clippy
args: --workspace --features "avail-core/runtime"

- name: Run tests
uses: actions-rs/cargo@v1
with:
command: test
args: --workspace
args: --workspace --features "avail-core/runtime"
env:
RUSTFLAGS: "-C instrument-coverage"
LLVM_PROFILE_FILE: "profile-%p-%m.profraw"
Expand Down
Loading

0 comments on commit 544cc3e

Please sign in to comment.