Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
FrancoGiachetta committed Nov 29, 2024
1 parent 5729de7 commit 9869547
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ jobs:
MLIR_SYS_190_PREFIX: /usr/lib/llvm-19/
LLVM_SYS_191_PREFIX: /usr/lib/llvm-19/
TABLEGEN_190_PREFIX: /usr/lib/llvm-19/
CAIRO_NATIVE_RUNTIME_LIBRARY: replay/
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@1.82.0
Expand Down
6 changes: 3 additions & 3 deletions rpc-state-reader/src/execution.rs
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ pub fn execute_tx(
block_info,
chain_info,
versioned_constants,
BouncerConfig::empty(),
BouncerConfig::max(),
);

// Map starknet_api transaction to blockifier's
Expand Down Expand Up @@ -311,7 +311,7 @@ pub fn fetch_block_context(reader: &RpcStateReader) -> BlockContext {
fee_token_addresses,
},
versioned_constants,
BouncerConfig::empty(),
BouncerConfig::max(),
)
}

Expand Down Expand Up @@ -974,7 +974,7 @@ mod tests {
fn from(value: &CallInfo) -> Self {
Self {
result: Some(value.execution.retdata.0.clone()),
calldata: Some(*(value.call.calldata).0.clone()),
calldata: Some((*value.call.calldata.0).clone()),
calls: value.inner_calls.iter().map(|ci| ci.into()).collect(),
// We don't have the revert reason string in the trace so we just make sure it doesn't revert
revert_reason: value.execution.failed.then_some("Default String".into()),
Expand Down

0 comments on commit 9869547

Please sign in to comment.