Offers can have several exit clauses defined for them, one of them being waived meaning that only the creating smart-contract can exit this created offer. Currently the wallet-app displays an exit button for these offers and attempts to create an exit offer transaction, which fails.
To Reproduce
Steps to reproduce the behavior:
Create a long-living offer which has exit: { waived: null } in the proposal
navigate to wallet.agoric.app
On the created offer press the exit button
See transaction popping upon Keplr
Pressing approve on the transaction creates an error on-chain
Expected behavior
Expect any offer that has the exit: { waived: null } in the proposal to not have a clickable exit button in the wallet-app frontend
Describe the bug
Offers can have several exit clauses defined for them, one of them being
waived
meaning that only the creating smart-contract can exit this created offer. Currently the wallet-app displays an exit button for these offers and attempts to create an exit offer transaction, which fails.To Reproduce
Steps to reproduce the behavior:
exit: { waived: null }
in the proposalexit
buttonExpected behavior
Expect any offer that has the
exit: { waived: null }
in the proposal to not have a clickableexit
button in the wallet-app frontendPlatform Environment
Additional context
Screenshots