Skip to content
This repository has been archived by the owner on Aug 21, 2024. It is now read-only.

Commit

Permalink
chore: recompile Cairo1 feature contracts with current compiler tag (#…
Browse files Browse the repository at this point in the history
…1876)

Signed-off-by: Dori Medini <[email protected]>
  • Loading branch information
dorimedini-starkware authored May 7, 2024
1 parent 619ebee commit f8d578b
Show file tree
Hide file tree
Showing 10 changed files with 3,607 additions and 3,257 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use core::option::OptionTrait;
use core::traits::TryInto;
#[starknet::contract]
#[starknet::contract(account)]

// A dummy account contract with faulty validations.

Expand Down Expand Up @@ -69,7 +69,7 @@ mod Account {
send_message_to_l1_syscall(
to_address: to_address,
payload: calldata.span()
);
).unwrap_syscall();
faulty_validate()
}

Expand All @@ -85,7 +85,7 @@ mod Account {
send_message_to_l1_syscall(
to_address: to_address,
payload: calldata.span()
);
).unwrap_syscall();

starknet::VALIDATED
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#[starknet::contract]
#[starknet::contract(account)]
mod Account {
use array::{ArrayTrait, SpanTrait};
use starknet::{ContractAddress, call_contract_syscall};
Expand Down
Loading

0 comments on commit f8d578b

Please sign in to comment.