mirror of
https://github.com/FlipsideCrypto/optimism-models.git
synced 2026-02-06 16:42:11 +00:00
fee calc (#265)
This commit is contained in:
parent
6ea9f81044
commit
ded146796e
@ -159,6 +159,10 @@ new_records AS (
|
||||
) :: bigint
|
||||
) + FLOOR(
|
||||
r.l1_gas_price * r.l1_gas_used * r.l1_fee_scalar
|
||||
) + IFF(
|
||||
r.l1_fee_scalar = 0,
|
||||
r.l1_fee,
|
||||
0
|
||||
),
|
||||
18
|
||||
) AS tx_fee_precise,
|
||||
@ -237,6 +241,10 @@ missing_data AS (
|
||||
) :: bigint
|
||||
) + FLOOR(
|
||||
r.l1_gas_price * r.l1_gas_used * r.l1_fee_scalar
|
||||
) + IFF(
|
||||
r.l1_fee_scalar = 0,
|
||||
r.l1_fee,
|
||||
0
|
||||
),
|
||||
18
|
||||
) AS tx_fee_precise_heal,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user