Skip to content

Commit

Permalink
zk fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
ColoCarletti committed Feb 2, 2024
1 parent 81af06f commit 61d93e9
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions core/lib/zksync_core/src/fee_model.rs
Original file line number Diff line number Diff line change
Expand Up @@ -64,13 +64,11 @@ impl BatchFeeModelInputProvider for MainNodeFeeInputProvider {
config,
l1_gas_price: self.provider.estimate_effective_gas_price(),
}),
FeeModelConfig::V2(config) => {
FeeParams::V2(FeeParamsV2 {
config,
l1_gas_price: self.provider.estimate_effective_gas_price(),
l1_pubdata_price: self.provider.estimate_effective_pubdata_price()
})
}
FeeModelConfig::V2(config) => FeeParams::V2(FeeParamsV2 {
config,
l1_gas_price: self.provider.estimate_effective_gas_price(),
l1_pubdata_price: self.provider.estimate_effective_pubdata_price(),
}),
}
}
}
Expand Down

0 comments on commit 61d93e9

Please sign in to comment.