Skip to content

Commit

Permalink
test chain type avail
Browse files Browse the repository at this point in the history
  • Loading branch information
matYang committed Sep 19, 2024
1 parent bf83c5d commit d3b8acc
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import (
"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/common/hexutil"
"github.com/ethereum/go-ethereum/rpc"

evmClient "github.com/smartcontractkit/chainlink/v2/core/chains/evm/client"
"github.com/smartcontractkit/chainlink/v2/core/chains/evm/config/chaintype"
"github.com/smartcontractkit/chainlink/v2/core/chains/evm/gas/rollups"
Expand All @@ -32,7 +33,7 @@ type Interceptor struct {
}

func NewInterceptor(ctx context.Context, client evmClient.Client, chainType chaintype.ChainType) (*Interceptor, error) {
if chainType != chaintype.ChainArbitrum { // TODO: change to mantle when it will be available from chainlink repo
if chainType != chaintype.ChainMantle { // TODO: change to mantle when it will be available from chainlink repo
return nil, nil
}
// Encode calldata for tokenRatio method
Expand Down

0 comments on commit d3b8acc

Please sign in to comment.