Skip to content

Commit

Permalink
Remove std from rollup-interface
Browse files Browse the repository at this point in the history
  • Loading branch information
yaziciahmet committed Jul 9, 2024
1 parent f083658 commit df33a2f
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions crates/sovereign-sdk/rollup-interface/src/node/rpc/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -701,13 +701,16 @@ pub mod utils {

/// Serialization and deserialization logic for `0x`-prefixed hex strings that are wrapped with Option.
pub mod rpc_optional_hex {
use std::fmt;
use std::marker::PhantomData;
use core::fmt;
use core::marker::PhantomData;

use hex::{FromHex, ToHex};
use serde::de::{self, Visitor};
use serde::{Deserialize, Deserializer, Serializer};

use crate::maybestd::format;
use crate::maybestd::string::String;

/// Serializes `data` as hex string using lowercase characters and prefixing with '0x' if Some, else null.
///
/// Lowercase characters are used (e.g. `f9b4ca`). The resulting string's length
Expand Down

0 comments on commit df33a2f

Please sign in to comment.