diff --git a/deployment/ccip/test_helpers.go b/deployment/ccip/test_helpers.go index 8c90ce70be1..c3a598fda7e 100644 --- a/deployment/ccip/test_helpers.go +++ b/deployment/ccip/test_helpers.go @@ -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,