Skip to content

Commit

Permalink
Disable rewinding and reject the query param on account lookups and s…
Browse files Browse the repository at this point in the history
…earches.
  • Loading branch information
gmalouf committed Sep 11, 2024
1 parent fb82382 commit 7e1f699
Show file tree
Hide file tree
Showing 12 changed files with 298 additions and 590 deletions.
188 changes: 0 additions & 188 deletions accounting/rewind.go

This file was deleted.

79 changes: 0 additions & 79 deletions accounting/rewind_test.go

This file was deleted.

3 changes: 1 addition & 2 deletions api/error_messages.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,7 @@ const (
errMultipleApplications = "multiple applications found for this id, please contact us, this shouldn't happen"
ErrMultipleBoxes = "multiple application boxes found for this app id and box name, please contact us, this shouldn't happen"
ErrFailedLookingUpBoxes = "failed while looking up application boxes"
errMultiAcctRewind = "multiple accounts rewind is not supported by this server"
errRewindingAccount = "error while rewinding account"
errRewindingAccountNotSupported = "rewinding account is no longer supported, please remove the `round=` query parameter and try again"
errLookingUpBlockForRound = "error while looking up block for round"
errTransactionSearch = "error while searching for transaction"
errZeroAddressCloseRemainderToRole = "searching transactions by zero address with close address role is not supported"
Expand Down
Loading

0 comments on commit 7e1f699

Please sign in to comment.