From 4748e45a2041f7068899f8072871296ac9dca2a6 Mon Sep 17 00:00:00 2001 From: 0xevolve Date: Tue, 30 Jan 2024 16:24:54 +0100 Subject: [PATCH] =?UTF-8?q?=E2=AC=86=EF=B8=8F=20scarb=202.5.1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .tool-versions | 2 +- Scarb.toml | 2 +- src/contracts/contract_cairo0.cairo | 2 +- src/contracts/contract_cairo1.cairo | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.tool-versions b/.tool-versions index 963d7a0..9e7be00 100644 --- a/.tool-versions +++ b/.tool-versions @@ -1 +1 @@ -scarb 2.3.1 \ No newline at end of file +scarb 2.5.1 \ No newline at end of file diff --git a/Scarb.toml b/Scarb.toml index 0c620c3..5c43887 100644 --- a/Scarb.toml +++ b/Scarb.toml @@ -6,7 +6,7 @@ version = "0.1.0" [dependencies] alexandria_math = { git = "https://github.com/keep-starknet-strange/alexandria.git" } pragma_lib = { git = "https://github.com/astraly-labs/pragma-lib" } -starknet = ">=2.3.1" +starknet = ">=2.5.1" [[target.starknet-contract]] diff --git a/src/contracts/contract_cairo0.cairo b/src/contracts/contract_cairo0.cairo index 97b28cd..b6ee694 100644 --- a/src/contracts/contract_cairo0.cairo +++ b/src/contracts/contract_cairo0.cairo @@ -33,7 +33,7 @@ mod HackTemplate { summary_stats: ContractAddress, } - #[external(v0)] + #[abi(embed_v0)] impl HackTemplateABIImpl of HackTemplateABI { fn initializer( ref self: ContractState, diff --git a/src/contracts/contract_cairo1.cairo b/src/contracts/contract_cairo1.cairo index db78264..59800d3 100644 --- a/src/contracts/contract_cairo1.cairo +++ b/src/contracts/contract_cairo1.cairo @@ -35,7 +35,7 @@ mod HackTemplate { summary_stats: ContractAddress, } - #[external(v0)] + #[abi(embed_v0)] impl HackTemplateABIImpl of HackTemplateABI { fn initializer( ref self: ContractState,