Skip to content

Commit

Permalink
Fix relayer build
Browse files Browse the repository at this point in the history
  • Loading branch information
karim-en committed Dec 6, 2023
1 parent bf7cc1e commit 5699a89
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 7 deletions.
7 changes: 3 additions & 4 deletions eth2near/contract_wrapper/src/eth_client_contract.rs
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
use crate::contract_wrapper_trait::ContractWrapper;
use crate::eth_client_contract_trait::EthClientContractTrait;
use crate::eth_network::EthNetwork;
use borsh::BorshDeserialize;
use borsh::{self, BorshDeserialize, BorshSerialize};
use eth2_utility::types::ClientMode;
use eth_types::eth2::{
ExtendedBeaconBlockHeader, LightClientState, LightClientUpdate, SyncCommittee,
};
use eth_types::{BlockHeader, H256};
use near_primitives::borsh::BorshSerialize;
use near_primitives::types::AccountId;
use near_primitives::views::FinalExecutionOutcomeView;
use serde::Serialize;
Expand Down Expand Up @@ -61,7 +60,7 @@ impl EthClientContract {
pub validate_updates: bool,
pub verify_bls_signatures: bool,
pub hashes_gc_threshold: u64,
pub trusted_signer: Option<AccountId>,
pub trusted_signer: Option<String>,
}

let init_input = InitInput {
Expand All @@ -73,7 +72,7 @@ impl EthClientContract {
validate_updates: validate_updates.unwrap_or(true),
verify_bls_signatures: verify_bls_signatures.unwrap_or(false),
hashes_gc_threshold: hashes_gc_threshold.unwrap_or(51_000),
trusted_signer,
trusted_signer: trusted_signer.map(|a| a.to_string()),
};

println!(
Expand Down
2 changes: 1 addition & 1 deletion eth2near/eth2near-block-relay-rs/rust-toolchain
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
[toolchain]
channel = "1.68.0"
channel = "1.69.0"
1 change: 0 additions & 1 deletion eth2near/eth_rpc_client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,4 @@ bitvec = "1.0.0"
prometheus = { version = "0.9", features = ["process"] }
lazy_static = "1.4"
warp = "0.2"
thread = "*"
dotenv = "0.15.0"
2 changes: 1 addition & 1 deletion eth2near/rust-toolchain
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
[toolchain]
channel = "1.68.0"
channel = "1.69.0"

0 comments on commit 5699a89

Please sign in to comment.