Commit 35b65c96 authored by Ori Pomerantz's avatar Ori Pomerantz Committed by kf

fix(sdk): Get correct l1 gas price in getL1GasPrice

parent 67a0414d
...@@ -31,7 +31,7 @@ export const getL1GasPrice = async ( ...@@ -31,7 +31,7 @@ export const getL1GasPrice = async (
l2Provider: ProviderLike l2Provider: ProviderLike
): Promise<BigNumber> => { ): Promise<BigNumber> => {
const gpo = connectGasPriceOracle(l2Provider) const gpo = connectGasPriceOracle(l2Provider)
return gpo.gasPrice() return gpo.l1BaseFee()
} }
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment