remove unnecessary historical raw calls

Signed-off-by: Uncle Stretch <uncle.stretch@ghostchain.io>
This commit is contained in:
Uncle Stretch 2025-02-17 15:03:50 +03:00
parent 4fc26712a5
commit 08e0f3d576
Signed by: str3tch
GPG Key ID: 84F3190747EE79AA
3 changed files with 1 additions and 21 deletions

View File

@ -2,7 +2,7 @@
name = "ghost-eye"
authors = ["str3tch <stretch@ghostchain.io>"]
description = "Application for interacting with Casper/Ghost nodes that are exposing RPC only to the localhost"
version = "0.3.31"
version = "0.3.32"
edition = "2021"
[dependencies]

View File

@ -1,19 +0,0 @@
use color_eyre::Result;
use subxt::{
utils::H256,
client::OnlineClient,
};
use crate::{
casper_network,
CasperConfig,
};
pub async fn stored_range(
online_client: &OnlineClient<CasperConfig>,
at_hash: Option<&H256>,
) -> Result<Option<(u32, u32)>> {
let storage_key = casper_network::storage().historical().stored_range();
let maybe_stored_range = super::do_storage_call(online_client, &storage_key, at_hash).await?;
Ok(maybe_stored_range)
}

View File

@ -12,7 +12,6 @@ pub mod staking;
pub mod system;
pub mod babe;
pub mod balances;
pub mod historical;
pub async fn do_storage_call<'address, Addr>(
online_client: &OnlineClient<CasperConfig>,