ToWithdrawalTx is used to create txs with MsgInitiateWithdrawal for use in testing with a default gas limit and data field. Now that gas limit is also passed in a parameter to support the withdrawals e2e tests, it was suggested that the ToWithdrawalTx helper should be removed to minimize our API surface.
All uses of ToWithdrawalTx should be updated with the MsgInitiateWithdrawal inlined.
ToWithdrawalTx
is used to create txs withMsgInitiateWithdrawal
for use in testing with a default gas limit and data field. Now that gas limit is also passed in a parameter to support the withdrawals e2e tests, it was suggested that theToWithdrawalTx
helper should be removed to minimize our API surface.All uses of
ToWithdrawalTx
should be updated with theMsgInitiateWithdrawal
inlined.