Skip to content

Commit

Permalink
chore: recompile Cairo1 contracts in blockifier
Browse files Browse the repository at this point in the history
Signed-off-by: Dori Medini <[email protected]>
  • Loading branch information
dorimedini-starkware committed Jul 30, 2024
1 parent b8b23c2 commit 0fbbb94
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ mod Account {
}
if (scenario == CALL_CONTRACT) {
let contract_address: felt252 = *signature[1_u32];
let mut calldata = Default::default();
let mut calldata: Array<felt252> = Default::default();
call_contract_syscall(
address: contract_address_try_from_felt252(contract_address).unwrap(),
entry_point_selector: FOO_ENTRY_POINT_SELECTOR,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"prime": "0x800000000000011000000000000000000000000000000000000000000000001",
"compiler_version": "2.6.0",
"compiler_version": "2.7.0",
"bytecode": [
"0xa0680017fff8000",
"0x7",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"prime": "0x800000000000011000000000000000000000000000000000000000000000001",
"compiler_version": "2.6.0",
"compiler_version": "2.7.0",
"bytecode": [
"0xa0680017fff8000",
"0x7",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"prime": "0x800000000000011000000000000000000000000000000000000000000000001",
"compiler_version": "2.6.0",
"compiler_version": "2.7.0",
"bytecode": [
"0xa0680017fff8000",
"0x7",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"prime": "0x800000000000011000000000000000000000000000000000000000000000001",
"compiler_version": "2.6.0",
"compiler_version": "2.7.0",
"bytecode": [],
"bytecode_segment_lengths": 0,
"hints": [],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33786,4 +33786,4 @@
}
]
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -554,9 +554,10 @@ mod TestContract {
assert!(outputs.get_output(mul) == u384 { limb0: 6, limb1: 0, limb2: 0, limb3: 0 });
}


// Add drop for AddInputResult as it only has PanicDestruct.
// Add drop for these objects as they only have PanicDestruct.
impl AddInputResultDrop<C> of Drop<core::circuit::AddInputResult<C>>;
impl CircuitDataDrop<C> of Drop<core::circuit::CircuitData<C>>;
impl CircuitInputAccumulatorDrop<C> of Drop<core::circuit::CircuitInputAccumulator<C>>;

#[external(v0)]
fn test_rc96_holes(ref self: ContractState) {
Expand Down

0 comments on commit 0fbbb94

Please sign in to comment.