From 6edd6b73e788f2947cab3c43eff434a6e67da4d4 Mon Sep 17 00:00:00 2001 From: Lorenzo Delgado Date: Mon, 2 Dec 2024 11:29:27 +0100 Subject: [PATCH 1/4] chore(deps): update rust crate alloy to v0.7 Signed-off-by: Lorenzo Delgado --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 2363951a..e1e060da 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -9,7 +9,7 @@ license = "Apache-2.0" repository = "https://github.com/semiotic-ai/timeline-aggregation-protocol" [workspace.dependencies] -alloy = { version = "0.6", features = ["full"] } +alloy = { version = "0.7", features = ["full"] } serde = { version = "1.0.163", features = ["derive"] } rstest = "0.22.0" anyhow = { version = "1.0.89" } From cedb211f228e1869cb7019181e02548dc4106289 Mon Sep 17 00:00:00 2001 From: Lorenzo Delgado Date: Mon, 2 Dec 2024 17:34:11 +0100 Subject: [PATCH 2/4] chore(deps): update rust toolchain version to 1.82 Signed-off-by: Lorenzo Delgado --- .github/workflows/tests.yml | 8 ++++---- Dockerfile.tap_aggregator | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index a06e16e3..9237dd23 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -12,7 +12,7 @@ jobs: name: cargo fmt runs-on: ubuntu-latest container: - image: rust:1.79-bookworm + image: rust:1.82-bookworm steps: - uses: actions/checkout@v3 - run: | @@ -23,7 +23,7 @@ jobs: name: cargo clippy runs-on: ubuntu-latest container: - image: rust:1.79-bookworm + image: rust:1.82-bookworm steps: - uses: actions/checkout@v3 - uses: actions/cache@v3 @@ -47,7 +47,7 @@ jobs: pull-requests: write actions: read container: - image: rust:1.79-bookworm + image: rust:1.82-bookworm steps: - uses: actions/checkout@v3 - uses: actions/cache@v3 @@ -72,7 +72,7 @@ jobs: name: cargo test docs runs-on: ubuntu-latest container: - image: rust:1.79-bookworm + image: rust:1.82-bookworm steps: - uses: actions/checkout@v3 - uses: actions/cache@v3 diff --git a/Dockerfile.tap_aggregator b/Dockerfile.tap_aggregator index 34ab1a00..d97d7478 100644 --- a/Dockerfile.tap_aggregator +++ b/Dockerfile.tap_aggregator @@ -1,4 +1,4 @@ -FROM rust:1.79-bookworm as build +FROM rust:1.82-bookworm as build WORKDIR /root COPY . . From fb9f2f1452cb436630b8e7d0f9ea7276a3979e4c Mon Sep 17 00:00:00 2001 From: Lorenzo Delgado Date: Mon, 2 Dec 2024 17:48:12 +0100 Subject: [PATCH 3/4] style(deps): fix benches clippy warning Signed-off-by: Lorenzo Delgado --- tap_core/benches/timeline_aggretion_protocol_benchmark.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tap_core/benches/timeline_aggretion_protocol_benchmark.rs b/tap_core/benches/timeline_aggretion_protocol_benchmark.rs index ff00de2a..e76e1d29 100644 --- a/tap_core/benches/timeline_aggretion_protocol_benchmark.rs +++ b/tap_core/benches/timeline_aggretion_protocol_benchmark.rs @@ -72,7 +72,7 @@ pub fn criterion_benchmark(c: &mut Criterion) { .collect::>(); rav_group.bench_function( - &format!("Create RAV w/ 2^{} receipt's", log_number_of_receipts), + format!("Create RAV w/ 2^{} receipt's", log_number_of_receipts), |b| { b.iter(|| { ReceiptAggregateVoucher::aggregate_receipts( @@ -92,7 +92,7 @@ pub fn criterion_benchmark(c: &mut Criterion) { .unwrap(); rav_group.bench_function( - &format!("Validate RAV w/ 2^{} receipt's", log_number_of_receipts), + format!("Validate RAV w/ 2^{} receipt's", log_number_of_receipts), |b| b.iter(|| black_box(&signed_rav).verify(&domain_seperator, black_box(address))), ); } From d68eaa160187aad54911fd19f977f10435ec34e2 Mon Sep 17 00:00:00 2001 From: Lorenzo Delgado Date: Tue, 3 Dec 2024 09:08:01 +0100 Subject: [PATCH 4/4] chore(deps): update rust toolchain version to 1.83 Signed-off-by: Lorenzo Delgado --- .github/workflows/tests.yml | 8 ++++---- Dockerfile.tap_aggregator | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 9237dd23..aae5054e 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -12,7 +12,7 @@ jobs: name: cargo fmt runs-on: ubuntu-latest container: - image: rust:1.82-bookworm + image: rust:1.83-bookworm steps: - uses: actions/checkout@v3 - run: | @@ -23,7 +23,7 @@ jobs: name: cargo clippy runs-on: ubuntu-latest container: - image: rust:1.82-bookworm + image: rust:1.83-bookworm steps: - uses: actions/checkout@v3 - uses: actions/cache@v3 @@ -47,7 +47,7 @@ jobs: pull-requests: write actions: read container: - image: rust:1.82-bookworm + image: rust:1.83-bookworm steps: - uses: actions/checkout@v3 - uses: actions/cache@v3 @@ -72,7 +72,7 @@ jobs: name: cargo test docs runs-on: ubuntu-latest container: - image: rust:1.82-bookworm + image: rust:1.83-bookworm steps: - uses: actions/checkout@v3 - uses: actions/cache@v3 diff --git a/Dockerfile.tap_aggregator b/Dockerfile.tap_aggregator index d97d7478..e7001daf 100644 --- a/Dockerfile.tap_aggregator +++ b/Dockerfile.tap_aggregator @@ -1,4 +1,4 @@ -FROM rust:1.82-bookworm as build +FROM rust:1.83-bookworm as build WORKDIR /root COPY . .