Skip to content

Commit 249016c

Browse files
authored
Disable rewinding and reject the query param on account lookups and searches. (#1630)
1 parent fb82382 commit 249016c

File tree

12 files changed

+298
-590
lines changed

12 files changed

+298
-590
lines changed

accounting/rewind.go

-188
This file was deleted.

accounting/rewind_test.go

-79
This file was deleted.

api/error_messages.go

+1-2
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,7 @@ const (
3636
errMultipleApplications = "multiple applications found for this id, please contact us, this shouldn't happen"
3737
ErrMultipleBoxes = "multiple application boxes found for this app id and box name, please contact us, this shouldn't happen"
3838
ErrFailedLookingUpBoxes = "failed while looking up application boxes"
39-
errMultiAcctRewind = "multiple accounts rewind is not supported by this server"
40-
errRewindingAccount = "error while rewinding account"
39+
errRewindingAccountNotSupported = "rewinding account is no longer supported, please remove the `round=` query parameter and try again"
4140
errLookingUpBlockForRound = "error while looking up block for round"
4241
errTransactionSearch = "error while searching for transaction"
4342
errZeroAddressCloseRemainderToRole = "searching transactions by zero address with close address role is not supported"

0 commit comments

Comments
 (0)