Skip to content

Commit

Permalink
Fix consensus rpc arguments for feeder
Browse files Browse the repository at this point in the history
  • Loading branch information
themicp committed Jan 29, 2024
1 parent a4bc940 commit 0c0b430
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion relayer/src/bin/feed.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,11 @@ async fn main() {
let eth_config = EthConfig::from(config.clone());
let sleep_duration = Duration::from_secs(config.feed_interval);

let consensus = Arc::new(ConsensusRPC::new(config.consensus_rpc.clone(), eth_config));
let consensus = Arc::new(ConsensusRPC::new(
config.consensus_rpc.clone(),
config.block_roots_rpc,
eth_config,
));
let mut verifier = Verifier::new(config.wasm_rpc, config.verifier_addr, config.wasm_wallet);

loop {
Expand Down

0 comments on commit 0c0b430

Please sign in to comment.