Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions core/lib/multivm/src/versions/vm_latest/tracers/refunds.rs
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,9 @@ impl<S> RefundsTracer<S> {

// For now, bootloader charges only for base fee.
let effective_gas_price = get_batch_base_fee(&self.l1_batch);
if effective_gas_price == 0 {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Talked in private: it is a breaking change, but most likely it is fine. Still, it is better to be able to somehow check that the partners (and Era itself) are not affected

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @StanislavBreadless

  • What if we safeguard it behind a feature toggle?
  • What is the scenario that we need to check for?

return bootloader_refund;
}

let bootloader_eth_price_per_pubdata_byte =
U256::from(effective_gas_price) * U256::from(current_ergs_per_pubdata_byte);
Expand Down
Loading