Skip to content

Commit e94efcb

Browse files
authored
Merge branch 'main' into curiecrypt/msnark/jubjub-wrapper
2 parents 825f7e0 + 27e041d commit e94efcb

File tree

115 files changed

+4606
-1303
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

115 files changed

+4606
-1303
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -843,7 +843,7 @@ jobs:
843843
# the same name (we only want to document those anyway)
844844
cargo doc --no-deps --lib -p mithril-stm -p mithril-common \
845845
-p mithril-cardano-node-chain -p mithril-cardano-node-internal-database \
846-
-p mithril-aggregator-client -p mithril-build-script -p mithril-cli-helper \
846+
-p mithril-aggregator-client -p mithril-aggregator-discovery -p mithril-build-script -p mithril-cli-helper \
847847
-p mithril-dmq -p mithril-doc -p mithril-doc-derive \
848848
-p mithril-era -p mithril-metric -p mithril-persistence -p mithril-resource-pool \
849849
-p mithril-ticker -p mithril-signed-entity-lock -p mithril-signed-entity-preloader \

CHANGELOG.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@ As a minor extension, we have adopted a slightly different versioning convention
1010
## Mithril Distribution [XXXX] - UNRELEASED
1111

1212
- Client library, CLI and WASM:
13-
- **DEPRECATED**: The `cardano_db` function have been deprecated and the `snapshot` function was removed in the `Client` struct of the library.
13+
- Support for stable cardano database v2 methods in the client WASM library.
14+
15+
- **DEPRECATED**: The `cardano_db` function has been deprecated and the `snapshot` function was removed in the `Client` struct of the library, there WASM counterparts were deprecated too.
1416

1517
- **DEPRECATED**: The flag `--backend v1` of the `cardano-db` command has been deprecated CLI, use the `--backend v2` instead.
1618

@@ -21,6 +23,11 @@ As a minor extension, we have adopted a slightly different versioning convention
2123
- Refactor Signer and Aggregator (leader, follower) to read network configurations from a `MithrilNetworkConfigurationProvider`
2224
- Support for reading network configurations from its leader aggregator for the follower aggregators.
2325

26+
- Support for new `Lagrange` Mithril era.
27+
28+
- **UNSTABLE**:
29+
- Support for aggregator discovery mechanism in the client library and CLI.
30+
2431
- Crates versions:
2532

2633
| Crate | Version |
@@ -32,7 +39,7 @@ As a minor extension, we have adopted a slightly different versioning convention
3239
- Client library, CLI and WASM:
3340
- **DEPRECATED**: The `with_aggregator_client` and `new` functions have been deprecated in the `ClientBuilder` struct of the library.
3441

35-
- Support for default incremental backend (`v2`) for Cardano database restoration in the client library, CLI and WASM.
42+
- Support for default incremental backend (`v2`) for Cardano database restoration in the client library and CLI.
3643

3744
- Enhanced verification of a Cardano database which now provides a list of tampered and missing files in case of failure.
3845

Cargo.lock

Lines changed: 31 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ members = [
1212
"internal/cardano-node/mithril-cardano-node-chain",
1313
"internal/cardano-node/mithril-cardano-node-internal-database",
1414
"internal/mithril-aggregator-client",
15+
"internal/mithril-aggregator-discovery",
1516
"internal/mithril-build-script",
1617
"internal/mithril-cli-helper",
1718
"internal/mithril-dmq",

Makefile

Lines changed: 28 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,33 @@
1-
COMPONENTS = mithril-aggregator mithril-client mithril-client-cli mithril-client-wasm \
2-
mithril-common mithril-relay mithril-signer mithril-stm \
3-
internal/mithril-build-script internal/mithril-cli-helper internal/mithril-doc \
1+
COMPONENTS = demo/protocol-demo \
2+
internal/cardano-node/mithril-cardano-node-chain \
3+
internal/cardano-node/mithril-cardano-node-internal-database \
4+
internal/mithril-aggregator-client \
5+
internal/mithril-aggregator-discovery \
6+
internal/mithril-build-script \
7+
internal/mithril-cli-helper \
48
internal/mithril-dmq \
5-
internal/mithril-doc-derive internal/mithril-era internal/mithril-metric internal/mithril-persistence \
9+
internal/mithril-doc \
10+
internal/mithril-doc-derive \
11+
internal/mithril-era \
12+
internal/mithril-metric \
13+
internal/mithril-persistence \
614
internal/mithril-protocol-config \
7-
internal/mithril-resource-pool internal/mithril-ticker \
8-
internal/cardano-node/mithril-cardano-node-chain internal/cardano-node/mithril-cardano-node-internal-database \
9-
internal/signed-entity/mithril-signed-entity-lock internal/signed-entity/mithril-signed-entity-preloader \
10-
internal/tests/mithril-api-spec internal/tests/mithril-test-http-server \
11-
demo/protocol-demo \
12-
mithril-test-lab/mithril-aggregator-fake mithril-test-lab/mithril-end-to-end
15+
internal/mithril-resource-pool \
16+
internal/mithril-ticker \
17+
internal/signed-entity/mithril-signed-entity-lock \
18+
internal/signed-entity/mithril-signed-entity-preloader \
19+
internal/tests/mithril-api-spec \
20+
internal/tests/mithril-test-http-server \
21+
mithril-aggregator \
22+
mithril-client \
23+
mithril-client-cli \
24+
mithril-client-wasm \
25+
mithril-common \
26+
mithril-relay \
27+
mithril-signer \
28+
mithril-stm \
29+
mithril-test-lab/mithril-aggregator-fake \
30+
mithril-test-lab/mithril-end-to-end
1331
GOALS := $(or $(MAKECMDGOALS),all)
1432
NON_COMPONENT_GOALS := check-format format
1533

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,9 @@ This repository consists of the following parts:
8080
- [**Mithril signer**](./mithril-signer): the node of the **Mithril network** responsible for producing individual signatures that are collected and aggregated by the **Mithril aggregator**.
8181

8282
- [**Internal**](./internal): the shared tools and API used by **Mithril** crates.
83-
- [**Mithril aggregator client**](./internal/mithril-aggregator-client): a client to request data from a Mithril Aggregator, used by **Mithril network** nodes and client library.
83+
- [**Mithril aggregator client**](./internal/mithril-aggregator-client): a client to request data from a Mithril aggregator, used by **Mithril network** nodes and client library.
84+
85+
- [**Mithril aggregator discovery**](./internal/mithril-aggregator-discovery): mechanisms to discover available Mithril aggregators, used by **Mithril network** nodes and client library.
8486

8587
- [**Mithril build script**](./internal/mithril-build-script): a toolbox for Mithril crates that uses a build script phase.
8688

docs/website/package-lock.json

Lines changed: 39 additions & 22 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/website/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "mithril-doc",
3-
"version": "0.2.3",
3+
"version": "0.2.4",
44
"private": true,
55
"scripts": {
66
"docusaurus": "docusaurus",

0 commit comments

Comments
 (0)