polymerdao / monomer

Apache License 2.0
18 stars 10 forks source link

Remove ToWithdrawalTx from testapp helpers #209

Open natebeauregard opened 5 days ago

natebeauregard commented 5 days ago

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.