Skip to content

Commit

Permalink
fix: can't use const
Browse files Browse the repository at this point in the history
  • Loading branch information
ratankaliani committed Jan 31, 2025
1 parent 1e98abc commit b91da21
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions bin/host/src/interop/fetcher.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
//! preimages from a remote source serving the super-chain (interop) proof mode.
use super::InteropHostCli;
use crate::{single::SingleChainFetcher, KeyValueStore};
use crate::{single::SingleChainFetcher, KeyValueStore, PreimageServer};
use alloy_consensus::{Header, Sealed, TxEnvelope, EMPTY_ROOT_HASH};
use alloy_eips::{
eip2718::Encodable2718,
Expand All @@ -19,7 +19,6 @@ use anyhow::{anyhow, Result};
use async_trait::async_trait;
use kona_driver::Driver;
use kona_executor::TrieDBProvider;
use kona_host::{KeyValueStore, PreimageServer};
use kona_preimage::{
errors::{PreimageOracleError, PreimageOracleResult},
BidirectionalChannel, HintReader, HintRouter, HintWriter, OracleReader, OracleServer,
Expand Down
2 changes: 1 addition & 1 deletion crates/mpt/src/list_walker.rs
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ where

/// Takes the inner list of the [OrderedListWalker], returning it and setting the inner list to
/// [None].
pub const fn take_inner(&mut self) -> Option<VecDeque<(Bytes, Bytes)>> {
pub fn take_inner(&mut self) -> Option<VecDeque<(Bytes, Bytes)>> {
self.inner.take()
}

Expand Down

0 comments on commit b91da21

Please sign in to comment.