From 8ad2d20f43fed40f56e48a817228b48e99cb5fee Mon Sep 17 00:00:00 2001 From: Bryan Stitt Date: Wed, 1 Nov 2023 09:35:34 -0700 Subject: [PATCH] don't change for now --- web3_proxy/src/block_number.rs | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/web3_proxy/src/block_number.rs b/web3_proxy/src/block_number.rs index 31a40085..2fb5eaad 100644 --- a/web3_proxy/src/block_number.rs +++ b/web3_proxy/src/block_number.rs @@ -187,12 +187,13 @@ pub async fn clean_block_number<'a>( } }; - // if we changed "latest" to an actual block, update the params to match - // TODO: should we do hash or number? some functions work with either, but others need a number :cry: - if change { - trace!(old=%x, new=%block.num(), "changing block number"); - *x = json!(block.num()); - } + // TODO: this scares me. we need it, so bring it back soon. but for now i think its breaking things + // // if we changed "latest" to an actual block, update the params to match + // // TODO: should we do hash or number? some functions work with either, but others need a number :cry: + // if change { + // trace!(old=%x, new=%block.num(), "changing block number"); + // *x = json!(block.num()); + // } Ok(block) }