Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

✨ cairo 1 shooter #24

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion config/default.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@ report:

deployer:
salt: "1"
address: "0x0000000000000000000000000000000000000000000000000000000000000002"
address: "0x0000000000000000000000000000000000000000000000000000000000000004"
signing_key: "0x00c1cf1490de1352865301bb8705143f3ef938f97fdf892f1090dcb5ac7bcd1d"
2 changes: 1 addition & 1 deletion config/v2.1.0.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,5 @@ report:

deployer:
salt: "1"
address: "0x0000000000000000000000000000000000000000000000000000000000000002"
address: "0x0000000000000000000000000000000000000000000000000000000000000004"
signing_key: "0x00c1cf1490de1352865301bb8705143f3ef938f97fdf892f1090dcb5ac7bcd1d"
12 changes: 3 additions & 9 deletions src/actions/shoot.rs
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,7 @@ impl GatlingShooter {
signer.clone(),
config.deployer.address,
chain_id::TESTNET,
// Legacy is for cairo0 contracts, New is for cairo1
// Passing Legacy since we're using the 0x2 account which is cairo0
ExecutionEncoding::Legacy,
ExecutionEncoding::New,
);

// Fails if nonce is null (which is the case for 1st startup)
Expand Down Expand Up @@ -669,9 +667,7 @@ impl GatlingShooter {
signer.clone(),
address,
chain_id::TESTNET,
// Legacy is for cairo0 contracts, New is for cairo1
// Passing Legacy since we're using the 0x2 account which is cairo0
ExecutionEncoding::Legacy,
ExecutionEncoding::New,
);
deployed_accounts.push(account);
continue;
Expand All @@ -698,9 +694,7 @@ impl GatlingShooter {
signer.clone(),
result.contract_address,
chain_id::TESTNET,
// Legacy is for cairo0 contracts, New is for cairo1
// Passing Legacy since we're using the 0x2 account which is cairo0
ExecutionEncoding::Legacy,
ExecutionEncoding::New,
);

deployed_accounts.push(account);
Expand Down