From 4d34e3e6a7f393e3815f1e870e64d044fbc9421b Mon Sep 17 00:00:00 2001 From: Daniel Beal Date: Thu, 19 Jan 2023 19:22:51 -0800 Subject: [PATCH] fix error --- anvil/src/eth/backend/mem/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/anvil/src/eth/backend/mem/mod.rs b/anvil/src/eth/backend/mem/mod.rs index 745c54042009..a3ed5d256beb 100644 --- a/anvil/src/eth/backend/mem/mod.rs +++ b/anvil/src/eth/backend/mem/mod.rs @@ -562,7 +562,7 @@ impl Backend { } /// Deserialize and add all chain data to the backend storage - pub fn load_state(&self, buf: Bytes) -> Result { + pub async fn load_state(&self, buf: Bytes) -> Result { let mut deserializer = serde_json::Deserializer::from_slice(&buf.0); deserializer.disable_recursion_limit(); let state = SerializableState::deserialize(&mut deserializer)