Skip to content

Commit

Permalink
fix: pre fp withdrawal error status to return ready-to-prove (#2747)
Browse files Browse the repository at this point in the history
* Update pre fp withdrawal error status to return ready-to-prove

* Update slow-monkeys-notice.md

---------

Co-authored-by: jxom <j@wevm.dev>
  • Loading branch information
nitaliano and jxom committed Sep 19, 2024
1 parent 3916545 commit ce6a84d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/slow-monkeys-notice.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"viem": patch
---

**OP Stack**: Fixed bug in getWithdrawalStatus for pre fault proof withdrawals
4 changes: 3 additions & 1 deletion src/op-stack/actions/getWithdrawalStatus.ts
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,9 @@ export async function getWithdrawalStatus<
errorMessage === 'OptimismPortal: invalid game type' ||
errorMessage === 'OptimismPortal: withdrawal has not been proven yet' ||
errorMessage ===
'OptimismPortal: withdrawal has not been proven by proof submitter address yet'
'OptimismPortal: withdrawal has not been proven by proof submitter address yet' ||
errorMessage ===
'OptimismPortal: dispute game created before respected game type was updated'
)
return 'ready-to-prove'
if (
Expand Down

0 comments on commit ce6a84d

Please sign in to comment.