-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create recursive_with_poseidon deployment scripts
- Loading branch information
Showing
5 changed files
with
52 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
fact registry: `0x7a5340bf1a500d94185cde6fc9cdc4b32c1159d1db5c056841d21bfb0d9c2bd` | ||
recursive,keccak: `0x0102a5157199bc7929c9f9502aac08b897606bac4e69ba45ecf088b6430e4d6d` | ||
recursive,blake2s: `0x035de2969a164e20bc3872502ff546f7ee190da1c7edf346b4221f869f48128e` | ||
recursive_with_poseidon,keccak: `0x04351acfba77d94cd97bbed2276391ec0e7ffea39ccadb24d1cfd37695b7ab12` | ||
recursive_with_poseidon,blake2s: `0x076eaf28eb342e438ddc80edbdd7ff0624aa5fb0f8068b4386e729d220b2420c` |
13 changes: 13 additions & 0 deletions
13
multicall/verifiers/recursive_with_poseidon/blake2s/deploy.toml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
[[call]] | ||
call_type = "deploy" | ||
class_hash = "0x5cae9f970c8da62a83193d7faefdeac3b419ff698badd4f5d502d5b11beb74f" | ||
inputs = [] | ||
id = "contract_oods" | ||
unique = false | ||
|
||
[[call]] | ||
call_type = "deploy" | ||
class_hash = "0x62fb4efbda30065e64706029e94a71ad7f28a969c9aea19d3f769e268c01b89" | ||
inputs = ["0", "contract_oods"] | ||
id = "cairo_verifier" | ||
unique = false |
12 changes: 12 additions & 0 deletions
12
multicall/verifiers/recursive_with_poseidon/blake2s/register.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
echo -n "FactRegistry address: " | ||
read FACT_REGISTRY | ||
|
||
echo -n "Verifier address: " | ||
read VERIFIER | ||
|
||
sncast \ | ||
invoke \ | ||
--fee-token eth \ | ||
--contract-address $FACT_REGISTRY \ | ||
--function "register_verifier" \ | ||
--calldata "0x7265637572736976655f776974685f706f736569646f6e 0x626c616b653273 $VERIFIER" |
13 changes: 13 additions & 0 deletions
13
multicall/verifiers/recursive_with_poseidon/keccak/deploy.toml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
[[call]] | ||
call_type = "deploy" | ||
class_hash = "0x05cae9f970c8da62a83193d7faefdeac3b419ff698badd4f5d502d5b11beb74f" | ||
inputs = [] | ||
id = "contract_oods" | ||
unique = false | ||
|
||
[[call]] | ||
call_type = "deploy" | ||
class_hash = "0x3b08718c57d44a00507d4232eec0ec59f62c9d56b56b90316f1a9a8ed4f28bb" | ||
inputs = ["0", "contract_oods"] | ||
id = "cairo_verifier" | ||
unique = false |
12 changes: 12 additions & 0 deletions
12
multicall/verifiers/recursive_with_poseidon/keccak/register.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
echo -n "FactRegistry address: " | ||
read FACT_REGISTRY | ||
|
||
echo -n "Verifier address: " | ||
read VERIFIER | ||
|
||
sncast \ | ||
invoke \ | ||
--fee-token eth \ | ||
--contract-address $FACT_REGISTRY \ | ||
--function "register_verifier" \ | ||
--calldata "0x7265637572736976655f776974685f706f736569646f6e 0x6b656363616b $VERIFIER" |