From aae189eb29c9440c7877821facccc8e4aedc9790 Mon Sep 17 00:00:00 2001 From: akhercha Date: Mon, 14 Oct 2024 20:25:22 +0200 Subject: [PATCH 1/5] chore(readme_formatting): Fixed README table --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index aa6d00d0f..6e7049b06 100644 --- a/README.md +++ b/README.md @@ -43,11 +43,11 @@ Madara is a powerful Starknet client written in Rust. Ensure you have the necessary dependencies: - | Dependency | Version | Installation | - | ---------- | ---------- | --------------------------------------------------------------------------------- | --- | - | Rust | rustc 1.78 | `curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh` | - | Clang | Latest | `sudo apt-get install clang` | - | Scarb | v2.8.2 | `curl --proto '=https' --tlsv1.2 -sSf https://docs.swmansion.com/scarb/install.sh | sh` | + | Dependency | Version | Installation | + | ---------- | ---------- | ---------------------------------------------------------------------------------- | + | Rust | rustc 1.81 | `curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs` | + | Clang | Latest | `sudo apt-get install clang` | + | Scarb | v2.8.2 | `curl --proto '=https' --tlsv1.2 -sSf https://docs.swmansion.com/scarb/install.sh` | Clone the Madara repository: From db4ffc899a2d81446299e8f01a90a3282b13bae1 Mon Sep 17 00:00:00 2001 From: akhercha Date: Mon, 14 Oct 2024 20:26:30 +0200 Subject: [PATCH 2/5] chore(readme_formatting): Updated CHANGELOG --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 45662d6ed..a1a2bac73 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,7 @@ ## Next release +- chore: Fixed README table format - fix(clippy): disallow printlns in workspace - fix(db): storing a block needs to clear the current pending block - fix(sync): Fixed pipeline stalling on machines with few cpu cores From fc17d2d67e70b8e45b73a873548d51bf32da405b Mon Sep 17 00:00:00 2001 From: akhercha Date: Mon, 14 Oct 2024 20:28:41 +0200 Subject: [PATCH 3/5] chore(readme_formatting): Updated toolchain version --- .github/workflows/build.yml | 2 +- .github/workflows/coverage.yml | 2 +- .github/workflows/linters-cargo.yml | 2 +- .github/workflows/rust-check.yml | 2 +- .github/workflows/rust-test.yml | 2 +- Dockerfile | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c546dfa3a..07dfd26de 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -15,7 +15,7 @@ jobs: - uses: Swatinem/rust-cache@v2 - uses: dtolnay/rust-toolchain@stable with: - toolchain: 1.78.0 + toolchain: 1.81 - name: Setup build deps run: | sudo apt-get update diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 84c5e3bab..e2f9b02a6 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -20,7 +20,7 @@ jobs: sudo apt-get install -y clang llvm libudev-dev protobuf-compiler gcc g++ build-essential libssl-dev pkg-config curl wget git - uses: dtolnay/rust-toolchain@master with: - toolchain: 1.78 + toolchain: 1.81 - uses: Swatinem/rust-cache@v2 # use a different cache key as coverae uses custom rustc args with: diff --git a/.github/workflows/linters-cargo.yml b/.github/workflows/linters-cargo.yml index 5b62659e5..41f3b7fa9 100644 --- a/.github/workflows/linters-cargo.yml +++ b/.github/workflows/linters-cargo.yml @@ -15,7 +15,7 @@ jobs: shared-key: "cache" - uses: dtolnay/rust-toolchain@master with: - toolchain: 1.78 + toolchain: 1.81 components: rustfmt, clippy - uses: software-mansion/setup-scarb@v1 diff --git a/.github/workflows/rust-check.yml b/.github/workflows/rust-check.yml index 2b192a92b..63efbf51b 100644 --- a/.github/workflows/rust-check.yml +++ b/.github/workflows/rust-check.yml @@ -15,7 +15,7 @@ jobs: shared-key: "cache" - uses: dtolnay/rust-toolchain@master with: - toolchain: 1.78 + toolchain: 1.81 - uses: software-mansion/setup-scarb@v1 with: diff --git a/.github/workflows/rust-test.yml b/.github/workflows/rust-test.yml index 0f629f504..23ea49f29 100644 --- a/.github/workflows/rust-test.yml +++ b/.github/workflows/rust-test.yml @@ -15,7 +15,7 @@ jobs: shared-key: "cache" - uses: dtolnay/rust-toolchain@master with: - toolchain: 1.78 + toolchain: 1.81 - uses: foundry-rs/foundry-toolchain@v1 with: diff --git a/Dockerfile b/Dockerfile index 79ddb9ebf..c8014d74c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Stage 1: Build the application -FROM rust:1.78 AS builder +FROM rust:1.81 AS builder # Install build dependencies RUN apt-get -y update && \ apt-get install -y clang && \ From 78a7a6f37c9bf55e7da79376ba581fa7d17095b0 Mon Sep 17 00:00:00 2001 From: akhercha Date: Mon, 14 Oct 2024 20:32:31 +0200 Subject: [PATCH 4/5] chore(readme_formatting): Fixed README command --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 6e7049b06..c8bca799d 100644 --- a/README.md +++ b/README.md @@ -43,11 +43,11 @@ Madara is a powerful Starknet client written in Rust. Ensure you have the necessary dependencies: - | Dependency | Version | Installation | - | ---------- | ---------- | ---------------------------------------------------------------------------------- | - | Rust | rustc 1.81 | `curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs` | - | Clang | Latest | `sudo apt-get install clang` | - | Scarb | v2.8.2 | `curl --proto '=https' --tlsv1.2 -sSf https://docs.swmansion.com/scarb/install.sh` | + | Dependency | Version | Installation | + | ---------- | ---------- | ---------------------------------------------------------------------------------------- | + | Rust | rustc 1.81 | `curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs` | + | Clang | Latest | `sudo apt-get install clang` | + | Scarb | v2.8.2 | `curl --proto '=https' --tlsv1.2 -sSf https://docs.swmansion.com/scarb/install.sh \| sh` | Clone the Madara repository: From bd35d7a6503cf3209d844bc34cc23775f6b270e0 Mon Sep 17 00:00:00 2001 From: akhercha Date: Mon, 14 Oct 2024 20:39:10 +0200 Subject: [PATCH 5/5] chore(readme_formatting): Oops, forgot sh --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index c8bca799d..18298408f 100644 --- a/README.md +++ b/README.md @@ -45,7 +45,7 @@ Madara is a powerful Starknet client written in Rust. | Dependency | Version | Installation | | ---------- | ---------- | ---------------------------------------------------------------------------------------- | - | Rust | rustc 1.81 | `curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs` | + | Rust | rustc 1.81 | `curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs \| sh` | | Clang | Latest | `sudo apt-get install clang` | | Scarb | v2.8.2 | `curl --proto '=https' --tlsv1.2 -sSf https://docs.swmansion.com/scarb/install.sh \| sh` |