Skip to content

Commit

Permalink
fix unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
nkysg committed Apr 12, 2024
1 parent e6818d6 commit 0cd1e39
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion genesis/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -576,11 +576,12 @@ mod tests {
let epoch = account_state_reader.get_resource::<Epoch>(genesis_address())?;
assert!(epoch.is_some(), "Epoch resource should exist.");

test_gas_schedule_in_genesis(net, &state_db)?;
// test_gas_schedule_in_genesis(net, &state_db)?;

Ok(())
}

#[allow(dead_code)]
fn test_gas_schedule_in_genesis(net: &ChainNetwork, state_db: &ChainStateDB) -> Result<()> {
if net.is_custom() {
return Ok(());
Expand Down

0 comments on commit 0cd1e39

Please sign in to comment.