Skip to content

Commit 485e37b

Browse files
chee-chyuanclaude
andcommitted
revert: fix: use zero gas price for empty blocks (#23094)
Reverts 2778a06 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent de11c92 commit 485e37b

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

crates/rpc/rpc-eth-types/src/gas_oracle.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,8 +175,7 @@ where
175175
};
176176

177177
if block_values.is_empty() {
178-
// For empty blocks, use zero gas price to signal no demand
179-
results.push(U256::ZERO);
178+
results.push(U256::from(inner.last_price.price));
180179
} else {
181180
results.extend(block_values);
182181
populated_blocks += 1;

0 commit comments

Comments
 (0)