diff --git a/packages/orchestration/test/test-withdraw-reward.js b/packages/orchestration/test/test-withdraw-reward.js index bf61036d8e17..1fce513f5705 100644 --- a/packages/orchestration/test/test-withdraw-reward.js +++ b/packages/orchestration/test/test-withdraw-reward.js @@ -21,7 +21,7 @@ const { Fail } = assert; /** @type {typeof import('protobufjs').Writer} */ const Writer = pbjs.default.Writer; -test('WithdrawDelegatorReward: protobuf encoding helper', t => { +test('MsgWithdrawDelegatorReward: protobuf encoding reminder', t => { const actual = MsgWithdrawDelegatorReward.toProtoMsg({ delegatorAddress: 'abc', validatorAddress: 'def', @@ -35,15 +35,6 @@ test('WithdrawDelegatorReward: protobuf encoding helper', t => { }); }); -test('WithdrawDelegatorReward: bad inputs', t => { - /** @type {any[]} */ - const badInputs = [{}, { delegatorAddress: 'abc' }, { delegatorAddress: 2 }]; - - for (const it of badInputs) { - t.throws(() => MsgWithdrawDelegatorReward.encode(it)); - } -}); - /** * XXX defined in codegen/cosmos/base/v1beta1/coin.d.ts * but that's not exported from comsmic-proto.