From 13f3f3c57a938eba54855ba5ee6ba47968720d98 Mon Sep 17 00:00:00 2001 From: Szymon Wojtulewicz Date: Tue, 2 Apr 2024 17:07:11 +0000 Subject: [PATCH 1/4] add toolchain file --- rust-toolchain.toml | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 rust-toolchain.toml diff --git a/rust-toolchain.toml b/rust-toolchain.toml new file mode 100644 index 0000000..271800c --- /dev/null +++ b/rust-toolchain.toml @@ -0,0 +1,2 @@ +[toolchain] +channel = "nightly" \ No newline at end of file From f19736de793f8052fc14d8ab2c0851e32b9fc1e0 Mon Sep 17 00:00:00 2001 From: Szymon Wojtulewicz Date: Tue, 2 Apr 2024 17:14:20 +0000 Subject: [PATCH 2/4] add katana version --- .tool-versions | 1 + 1 file changed, 1 insertion(+) diff --git a/.tool-versions b/.tool-versions index 537bae2..fe97834 100644 --- a/.tool-versions +++ b/.tool-versions @@ -1,2 +1,3 @@ scarb 2.5.4 starknet-foundry 0.18.0 +katana 0.5.1 \ No newline at end of file From bbd11c9b134c5cdd39aec8750ef84ea2fff7235d Mon Sep 17 00:00:00 2001 From: Szymon Wojtulewicz <58044978+piniom@users.noreply.github.com> Date: Tue, 2 Apr 2024 19:36:31 +0200 Subject: [PATCH 3/4] remove katana version Co-authored-by: Tarrence van As --- .tool-versions | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.tool-versions b/.tool-versions index fe97834..90faff4 100644 --- a/.tool-versions +++ b/.tool-versions @@ -1,3 +1,2 @@ scarb 2.5.4 -starknet-foundry 0.18.0 -katana 0.5.1 \ No newline at end of file +starknet-foundry 0.18.0 \ No newline at end of file From 2de7dc2202eae76aa06b50dbda717eae09bac84a Mon Sep 17 00:00:00 2001 From: Szymon Wojtulewicz Date: Tue, 2 Apr 2024 17:42:53 +0000 Subject: [PATCH 4/4] add katana version to readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f447310..47924cb 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ The project has a global rust workspace. ## account_sdk -This is a rust project, that will eventually be compiled to wasm. It's purpose is to export and test functions for interacting with the custom account contract. The testing framework implemented within uses [dojo/katana](https://github.com/dojoengine/dojo) underneath. Each test starts its own katana network, deploys a contract and performs operations on it. Naturally, you must have `katana` installed to run the tests. You can specify the path to the `katana` executable in the `account_sdk/KatanaConfig.toml` file. Note that if you have `dojo` installed and in `PATH` the path can remain simply as `katana`. +This is a rust project, that will eventually be compiled to wasm. It's purpose is to export and test functions for interacting with the custom account contract. The testing framework implemented within uses [dojo/katana](https://github.com/dojoengine/dojo) underneath. Each test starts its own katana network, deploys a contract and performs operations on it. Naturally, you must have `katana 0.5.1` installed to run the tests. You can specify the path to the `katana` executable in the `account_sdk/KatanaConfig.toml` file. Note that if you have `dojo` installed and in `PATH` the path can remain simply as `katana`. ### Compiling the cairo code