diff --git a/fact_registry/1-declare.sh b/fact_registry/1-declare.sh deleted file mode 100755 index e4f3b1be7..000000000 --- a/fact_registry/1-declare.sh +++ /dev/null @@ -1,3 +0,0 @@ -#!/usr/bin/env bash - -sncast --profile testnet --wait declare --contract-name FactRegistry diff --git a/fact_registry/2-deploy.sh b/fact_registry/2-deploy.sh deleted file mode 100755 index e6dcf0636..000000000 --- a/fact_registry/2-deploy.sh +++ /dev/null @@ -1,13 +0,0 @@ -#!/usr/bin/env bash - -# Check if the arguments are provided -if [ $# -ne 1 ]; then - echo "Usage: $0 " - exit 1 -fi - -# Assign argument to variable -class_hash=$1 - -# Pass the class hash to the sncast command -sncast --profile testnet --wait deploy --class-hash "$class_hash" diff --git a/fact_registry/3-is-valid.sh b/fact_registry/3-is-valid.sh deleted file mode 100755 index 3c7776fe5..000000000 --- a/fact_registry/3-is-valid.sh +++ /dev/null @@ -1,19 +0,0 @@ -#!/usr/bin/env bash - -# Check if the arguments are provided -if [ $# -ne 2 ]; then - echo "Usage: $0 " - exit 1 -fi - -# Assign arguments to variables -contract_address=$1 -fact_hash=$2 - -# Pass the calldata to the sncast command -sncast --profile testnet \ - --wait \ - call \ - --contract-address "$contract_address" \ - --function "is_valid" \ - --calldata "$fact_hash" diff --git a/fact_registry/starknet/deploy.toml b/fact_registry/starknet/deploy.toml deleted file mode 100644 index 83cfa9e4b..000000000 --- a/fact_registry/starknet/deploy.toml +++ /dev/null @@ -1,6 +0,0 @@ -[[call]] -call_type = "deploy" -class_hash = "0x79b972400cbbbc9afe4056a377366773bc069e292e1b9657bec2e48b4353ad3" -inputs = ["REPLACE WITH YOUR ACCOUNT ADDRESS"] -unique = false -id = "fact_registry" \ No newline at end of file diff --git a/fact_registry/starknet/register_verifier.toml b/fact_registry/starknet/register_verifier.toml deleted file mode 100644 index 70582f280..000000000 --- a/fact_registry/starknet/register_verifier.toml +++ /dev/null @@ -1,18 +0,0 @@ -[[call]] -call_type = "deploy" -class_hash = "VERIFIER CLASS HASH" -inputs = [] -unique = false -id = "verifier" - -[[call]] -call_type = "invoke" -contract_address = "REPLACE WITH FACT REGISTRY ADDRESS" -function = "register_verifier" -inputs = [ - "SETTINGS.LAYOUT", - "SETTINGS.HASHER", - "SETTINGS.SECURITY_BITS", - "SETTINGS.VERSION", - "verifier" -] \ No newline at end of file diff --git a/multicall/verifiers/recursive/blake2s/deploy.toml b/multicall/verifiers/recursive/blake2s_160_lsb/deploy.toml similarity index 100% rename from multicall/verifiers/recursive/blake2s/deploy.toml rename to multicall/verifiers/recursive/blake2s_160_lsb/deploy.toml diff --git a/multicall/verifiers/recursive/blake2s/register.sh b/multicall/verifiers/recursive/blake2s_160_lsb/register.sh similarity index 69% rename from multicall/verifiers/recursive/blake2s/register.sh rename to multicall/verifiers/recursive/blake2s_160_lsb/register.sh index 9cd963746..7a96d5c52 100644 --- a/multicall/verifiers/recursive/blake2s/register.sh +++ b/multicall/verifiers/recursive/blake2s_160_lsb/register.sh @@ -9,4 +9,4 @@ sncast \ --fee-token eth \ --contract-address $FACT_REGISTRY \ --function "register_verifier" \ - --calldata "0x726563757273697665 0x626c616b653273 0x73746f6e6535 $VERIFIER" + --calldata "0x726563757273697665 0x626c616b6532735f3136305f6c7362 0x73746f6e6535 $VERIFIER" diff --git a/multicall/verifiers/recursive/keccak/deploy.toml b/multicall/verifiers/recursive/keccak_160_lsb/deploy.toml similarity index 100% rename from multicall/verifiers/recursive/keccak/deploy.toml rename to multicall/verifiers/recursive/keccak_160_lsb/deploy.toml diff --git a/multicall/verifiers/recursive/keccak/register.sh b/multicall/verifiers/recursive/keccak_160_lsb/register.sh similarity index 69% rename from multicall/verifiers/recursive/keccak/register.sh rename to multicall/verifiers/recursive/keccak_160_lsb/register.sh index 519175534..e99467200 100644 --- a/multicall/verifiers/recursive/keccak/register.sh +++ b/multicall/verifiers/recursive/keccak_160_lsb/register.sh @@ -9,4 +9,4 @@ sncast \ --fee-token eth \ --contract-address $FACT_REGISTRY \ --function "register_verifier" \ - --calldata "0x726563757273697665 0x6b656363616b 0x73746f6e6535 $VERIFIER" + --calldata "0x726563757273697665 0x6b656363616b5f3136305f6c7362 0x73746f6e6535 $VERIFIER"