Commit d6c82d6
authored
feat: add support for cluster definition v1.10.0 (#20)
* feat: setup initial project structure
* feat: update CI to use nightly toolchain for rustfmt
* feat: update CI to use nightly toolchain for rustfmt
* fix: fmt
* refactor: reorganize workspace members and remove charon-types crate
* feat: add core types and dependencies for Charon
* feat: add is_valid method and tests for DutyType
* feat: enhance Charon core types with new methods and error handling for PubKey
* chore: remove unused proptest dependency from workspace
* feat: implement Default trait for UnsignedDataSet, ParSignedDataSet, and SignedDataSet
* refactor: update PubKey methods for improved error handling and add try_from implementation
* docs: clarify slot duration comment and add debug prints for PubKey serialization/deserialization tests
* fix: remove unnecessary println
* feat: add tbls crypto boilerplate
* feat: add initial implementation of tbls
* feat: add tests for the bls implementation
* feat: init structure of charon-cluster
* feat: integrate blsful implementation and refactor tbls module
- Added `thiserror` dependency for improved error handling.
- Introduced `blsful` module for TBLS implementation.
- Refactored `tbls` module to utilize new types and error handling.
- Created `tblsconv` module for type conversions between byte slices and cryptographic types.
- Removed the old `herumi` implementation and replaced it with the new `blsful` based implementation.
- Added utility functions for key and signature conversions.
- Updated types and error definitions for better clarity and consistency.
* style: improve code formatting and documentation in tblsconv module
- Reformatted comments for better readability.
- Adjusted spacing and alignment in error messages for consistency.
- Ensured clarity in documentation regarding expected byte lengths for key and signature conversions.
* chore: clean up Cargo.toml by removing duplicate dependencies and organizing workspace lints
* chore: update Cargo.lock with new dependencies and versions
* chore: fix clippy warnings
* chore: apply fmt
* refactor: replace blsful implementation with blst for threshold BLS signatures
- Updated dependencies in Cargo.toml and Cargo.lock to use the blst library.
- Removed blsful module and its associated code, including type conversions and utility functions.
- Introduced a new blst_impl module for the BLST implementation of threshold BLS signatures.
- Refactored tbls module to utilize the new blst implementation.
- Cleaned up error handling and types to align with the new library.
- Added workspace lints and improved documentation throughout the codebase.
* fix: add protoc to workflow files
* fix: add ignore files to typos config
* feat: add support for cluster definition v1.10.01 parent 9306bab commit d6c82d6
8 files changed
Lines changed: 809 additions & 5 deletions
File tree
- crates/charon-cluster
- src
- examples
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| 41 | + | |
| 42 | + | |
41 | 43 | | |
42 | 44 | | |
43 | 45 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
12 | 18 | | |
13 | 19 | | |
14 | 20 | | |
| |||
0 commit comments