From 507aa4ff5b0cef631ea71fa0b8a7b6f142eba590 Mon Sep 17 00:00:00 2001 From: tyshko-rostyslav <122977916+tyshko-rostyslav@users.noreply.github.com> Date: Mon, 24 Jul 2023 18:12:23 +0200 Subject: [PATCH] Fix CI by fixing version + add toolchain file (#52) * Fix CI by fixing version + add toolchain file * readme comment * Tweak README message * typo --------- Co-authored-by: tyshkor Co-authored-by: Pratyush Mishra --- .github/workflows/ci.yml | 4 ++-- README.md | 4 ++++ rust-toolchain.toml | 3 +++ 3 files changed, 9 insertions(+), 2 deletions(-) create mode 100644 rust-toolchain.toml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9b8be55..022caf7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,7 +16,7 @@ jobs: uses: actions-rs/toolchain@v1 with: profile: minimal - toolchain: stable + toolchain: 1.67.0 override: true # Install for Anvil @@ -48,7 +48,7 @@ jobs: uses: actions-rs/toolchain@v1 with: profile: minimal - toolchain: stable + toolchain: 1.67.0 override: true components: rustfmt, clippy - name: cargo fmt diff --git a/README.md b/README.md index ec7cfa4..7841cc0 100644 --- a/README.md +++ b/README.md @@ -65,6 +65,10 @@ Tests require the following installed: - [x] Proof generations and verification using Arkworks - [ ] CLI for common operations +## Known limitations + +Currently, due to an issue in our upstream (https://github.com/wasmerio/wasmer/issues/4072), this crate works as expected only up to Rust version `1.67.0`; in newer Rust versions, `wasmer` is currently unsound. + ## Acknowledgements This library would not have been possibly without the great work done in: diff --git a/rust-toolchain.toml b/rust-toolchain.toml new file mode 100644 index 0000000..74cb24a --- /dev/null +++ b/rust-toolchain.toml @@ -0,0 +1,3 @@ +[toolchain] +channel = "stable" +version = "1.67.0" \ No newline at end of file