Skip to content

Commit

Permalink
rm unused func
Browse files Browse the repository at this point in the history
  • Loading branch information
makramkd committed Nov 19, 2024
1 parent 388f17c commit 7e81e4e
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions deployment/ccip/test_helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -296,22 +296,6 @@ func CCIPSendCalldata(
return calldata
}

// ApproveTokenCalldata packs the calldata for the ERC20's approve method.
func ApproveTokenCalldata(
t *testing.T,
spender common.Address,
amount *big.Int,
) []byte {
calldata, err := erc20ABI.Methods["approve"].Inputs.Pack(
spender,
amount,
)
require.NoError(t, err)

calldata = append(erc20ABI.Methods["approve"].ID, calldata...)
return calldata
}

func TestSendRequest(
t *testing.T,
e deployment.Environment,
Expand Down

0 comments on commit 7e81e4e

Please sign in to comment.