Skip to content

Commit

Permalink
chore: recompile Cairo1 contracts in blockifier (#190)
Browse files Browse the repository at this point in the history
Signed-off-by: Dori Medini <dori@starkware.co>
  • Loading branch information
dorimedini-starkware authored Jul 30, 2024
1 parent f59b87a commit 3a98447
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 3a98447

Please sign in to comment.