Skip to content

Commit 78f4d2d

Browse files
committed
throw for boop included onchain but failing there
1 parent 7799d3e commit 78f4d2d

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

  • apps/iframe/src/requests/utils

apps/iframe/src/requests/utils/boop.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,11 @@ export async function sendBoop(
153153
needsNonceReset = true
154154
throw translateBoopError(output)
155155
}
156+
if (output.receipt.status !== Onchain.Success) {
157+
const status = output.receipt.status
158+
const error = output.receipt.description
159+
throw translateBoopError({ status, error })
160+
}
156161
markBoopAsSuccess(boopHash, output.receipt)
157162
boopCache.putReceipt(boopHash, output.receipt)
158163
return output.receipt.boopHash

0 commit comments

Comments
 (0)