Skip to content

Commit

Permalink
Linter fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mateusz-sekara committed Oct 23, 2024
1 parent 820b75b commit d10686e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions core/scripts/ccip/liquiditymanager/arb/send_to_l2.go
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,7 @@ func estimateAll(env multienv.Env, l1ChainID, l2ChainID uint64, rd RetryableData
}
}

// nolint
func estimateRetryableGasLimit(l2Client *ethclient.Client, l2ChainID uint64, rd RetryableData) *big.Int {
packed, err := nodeInterfaceABI.Pack("estimateRetryableTicket",
rd.From,
Expand Down Expand Up @@ -270,6 +271,7 @@ func estimateMaxFeePerGasOnL2(l2Client *ethclient.Client) *big.Int {
return l2BaseFee
}

// nolint
func estimateSubmissionFee(l1Client *ethclient.Client, l1ChainID uint64, l1BaseFee *big.Int, calldataSize uint64) *big.Int {
inbox, err := arbitrum_inbox.NewArbitrumInbox(ArbitrumContracts[l1ChainID]["L1Inbox"], l1Client)
helpers.PanicErr(err)
Expand Down
1 change: 1 addition & 0 deletions core/scripts/ccip/liquiditymanager/arb/withdraw.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import (
"github.com/smartcontractkit/chainlink/v2/core/gethwrappers/liquiditymanager/generated/arbitrum_l2_bridge_adapter"
)

// nolint
func WithdrawFromL2(
env multienv.Env,
l2ChainID uint64,
Expand Down

0 comments on commit d10686e

Please sign in to comment.