diff --git a/.github/workflows/build_contract.yml b/.github/workflows/build_contract.yml index 4bf1eec..ad2f8b1 100644 --- a/.github/workflows/build_contract.yml +++ b/.github/workflows/build_contract.yml @@ -12,6 +12,5 @@ jobs: - uses: software-mansion/setup-scarb@v1 - name: Check cairo format run: scarb fmt --check - working-directory: contracts - name: Build cairo programs run: scarb build \ No newline at end of file diff --git a/.github/workflows/test_contracts.yml b/.github/workflows/test_contracts.yml index fef7988..3ea7b99 100644 --- a/.github/workflows/test_contracts.yml +++ b/.github/workflows/test_contracts.yml @@ -11,6 +11,6 @@ jobs: - uses: software-mansion/setup-scarb@v1 - uses: foundry-rs/setup-snfoundry@v2 with: - starknet-foundry-version: 0.12.0 + starknet-foundry-version: 0.14.0 - name: Run cairo tests run: snforge test \ No newline at end of file diff --git a/README.md b/README.md index f034461..6af8e57 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# SRC-6551 Reference Implementation on Starknet +# ERC-6551 Reference Implementation on Starknet This repository contains the reference implementation of ERC-6551 on Starknet. diff --git a/src/registry/registry.cairo b/src/registry/registry.cairo index 5e81000..851a536 100644 --- a/src/registry/registry.cairo +++ b/src/registry/registry.cairo @@ -4,7 +4,7 @@ #[starknet::contract] mod Registry { use core::result::ResultTrait; -use core::hash::HashStateTrait; + use core::hash::HashStateTrait; use starknet::{ContractAddress, get_caller_address, syscalls::call_contract_syscall, class_hash::ClassHash, class_hash::Felt252TryIntoClassHash, syscalls::deploy_syscall, SyscallResultTrait}; use zeroable::Zeroable; use traits::{Into, TryInto};