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
replace ParentToChildMessageGasEstimator.ts reference
  • Loading branch information
strmfos authored Jul 4, 2025
commit 57914827a6813be92c3573ef4d2e3b35e138dcc7
4 changes: 2 additions & 2 deletions src/createTokenBridge-ethers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ const getEstimateForDeployingFactory = async (

return {
// there's already a 300% increase buffer in the SDK
// https://github.com/OffchainLabs/arbitrum-sdk/blob/main/src/lib/message/ParentToChildMessageGasEstimator.ts#L27
// https://github.com/OffchainLabs/arbitrum-sdk/blob/main/packages/sdk/src/lib/message/ParentToChildMessageGasEstimator.ts#L27
maxSubmissionCost,
maxGas,
};
Expand Down Expand Up @@ -247,7 +247,7 @@ async function getEstimateForDeployingContracts(

return {
// there's already a 300% increase buffer in the SDK
// https://github.com/OffchainLabs/arbitrum-sdk/blob/main/src/lib/message/ParentToChildMessageGasEstimator.ts#L27
// https://github.com/OffchainLabs/arbitrum-sdk/blob/main/packages/sdk/src/lib/message/ParentToChildMessageGasEstimator.ts#L27
maxSubmissionCost,
maxGas: maxGas.mul(2),
};
Expand Down
Loading