Skip to content

Commit

Permalink
fix(gasPriceOracle): Default to 0 value on Linea simulation (#815)
Browse files Browse the repository at this point in the history
  • Loading branch information
pxrl authored Jan 3, 2025
1 parent e3ca948 commit c5076d4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@across-protocol/sdk",
"author": "UMA Team",
"version": "3.4.1",
"version": "3.4.2",
"license": "AGPL-3.0",
"homepage": "https://docs.across.to/reference/sdk",
"files": [
Expand Down
2 changes: 1 addition & 1 deletion src/gasPriceOracle/adapters/linea-viem.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ export async function eip1559(
const { baseFeePerGas, priorityFeePerGas: _priorityFeePerGas } = await estimateGas(provider, {
account: (unsignedTx?.from as Address) ?? account,
to: (unsignedTx?.to as Address) ?? account,
value: BigInt(unsignedTx?.value?.toString() ?? "1"),
value: BigInt(unsignedTx?.value?.toString() ?? "0"),
data: (unsignedTx?.data as Hex) ?? "0x",
});
const priorityFeePerGas =
Expand Down

0 comments on commit c5076d4

Please sign in to comment.