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

fix: adjust static gas for provers #217

Merged
merged 3 commits into from
Feb 9, 2025
Merged
Show file tree
Hide file tree
Changes from 2 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
4 changes: 2 additions & 2 deletions near/omni-prover/evm-prover/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ use omni_types::utils::keccak256;
use omni_types::ChainKind;
use rlp::Rlp;

const VERIFY_PROOF_CALLBACK_GAS: Gas = Gas::from_tgas(20);
const BLOCK_HASH_SAFE_GAS: Gas = Gas::from_tgas(10);
const VERIFY_PROOF_CALLBACK_GAS: Gas = Gas::from_tgas(5);
const BLOCK_HASH_SAFE_GAS: Gas = Gas::from_tgas(5);

type H256 = [u8; 32];

Expand Down
2 changes: 1 addition & 1 deletion near/omni-prover/wormhole-omni-prover-proxy/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ mod byte_utils;
mod parsed_vaa;

pub const VERIFY_VAA_GAS: Gas = Gas::from_tgas(10);
pub const VERIFY_VAA_CALLBACK_GAS: Gas = Gas::from_tgas(10);
pub const VERIFY_VAA_CALLBACK_GAS: Gas = Gas::from_tgas(5);

#[ext_contract(ext_prover)]
pub trait Prover {
Expand Down
Binary file modified near/res/evm_prover.wasm
Binary file not shown.
Binary file modified near/res/wormhole_omni_prover_proxy.wasm
Binary file not shown.
Loading