From 713e210e61ca63ec8003c82e67929be1727d415c Mon Sep 17 00:00:00 2001 From: Filip Krawczyk Date: Wed, 17 Jul 2024 10:39:37 +0200 Subject: [PATCH] Revert to scarb 2.6.3 --- .tool-versions | 2 +- src/common/blake2s.cairo | 2 +- src/common/blake2s_u8.cairo | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.tool-versions b/.tool-versions index 95447a073..823941bd8 100644 --- a/.tool-versions +++ b/.tool-versions @@ -1,2 +1,2 @@ -scarb nightly-2024-04-20 +scarb 2.6.3 starknet-foundry 0.24.0 diff --git a/src/common/blake2s.cairo b/src/common/blake2s.cairo index 73f681193..e20dc1e64 100644 --- a/src/common/blake2s.cairo +++ b/src/common/blake2s.cairo @@ -89,7 +89,7 @@ fn blake2s_compress(mut s: blake2s_state, m: Array) -> blake2s_state { let mut v15: u32 = 0x5BE0CD19; // f1 is always 0 let m_span = m.span(); - let mut sigma = [ + let mut sigma = array![ 0, 1, 2, diff --git a/src/common/blake2s_u8.cairo b/src/common/blake2s_u8.cairo index a7f8338f9..ff916574d 100644 --- a/src/common/blake2s_u8.cairo +++ b/src/common/blake2s_u8.cairo @@ -106,7 +106,7 @@ fn blake2s_compress(mut s: blake2s_state, in: Array) -> blake2s_state { let mut v15: u32 = 0x5BE0CD19; // f1 is always 0 let m_span = m.span(); - let mut sigma = [ + let mut sigma = array![ 0, 1, 2,