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

katana: bump gas for contract calls to 1B #1766

Merged
merged 1 commit into from
Apr 4, 2024
Merged
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
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ impl ExecutorExt for StarknetVMProcessor<'_> {
let block_context = &self.block_context;
let mut state = self.state.0.write();
let state = MutRefState::new(&mut state.inner);
let retdata = utils::call(call, state, block_context, 100_000_000)?;
let retdata = utils::call(call, state, block_context, 1_000_000_000)?;
Ok(retdata)
}
}
2 changes: 1 addition & 1 deletion crates/katana/executor/src/implementation/sir/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,7 @@

fn call(&self, call: EntryPointCall) -> Result<Vec<FieldElement>, ExecutionError> {
let block_context = &self.block_context;
let retdata = utils::call(call, &self.state, block_context, 100_000_000)?;
let retdata = utils::call(call, &self.state, block_context, 1_000_000_000)?;

Check warning on line 268 in crates/katana/executor/src/implementation/sir/mod.rs

View check run for this annotation

Codecov / codecov/patch

crates/katana/executor/src/implementation/sir/mod.rs#L268

Added line #L268 was not covered by tests
Ok(retdata)
}
}
Loading