diff --git a/x/margin/client/cli/tx_close_test.go b/x/margin/client/cli/tx_close_test.go index 1740912cc..ee61fe448 100644 --- a/x/margin/client/cli/tx_close_test.go +++ b/x/margin/client/cli/tx_close_test.go @@ -22,7 +22,7 @@ func TestClosePosition(t *testing.T) { // Tendermint RPC calls. // ... args := []string{ - "--id=1", + "1", "--from=" + val.Address.String(), "-y", } diff --git a/x/margin/client/cli/tx_open_test.go b/x/margin/client/cli/tx_open_test.go index d3b2a6806..32752e196 100644 --- a/x/margin/client/cli/tx_open_test.go +++ b/x/margin/client/cli/tx_open_test.go @@ -31,11 +31,11 @@ func TestOpenPosition(t *testing.T) { // Tendermint RPC calls. // ... args := []string{ - "--collateral_asset=" + ptypes.BaseCurrency, - "--borrow_asset=uatom", - "--collateral_amount=1000", - "--position=long", - "--leverage=1.5", + "open", + "1.5", + ptypes.BaseCurrency, + "1000", + "uatom", "--from=" + val.Address.String(), "-y", }