Skip to content

Conversation

@gmalouf
Copy link
Contributor

@gmalouf gmalouf commented Sep 11, 2024

Summary

Disable rewinding and reject the query param on account lookups and searches.

This is intended to close #1625 - rewinding carries it with several nuances for limited overall benefit and minimal actual usage.

Test Plan

API tests were added to ensure a bad request is returned if the round= parameter is in the requests to the account lookup/search endpoints.

@gmalouf gmalouf self-assigned this Sep 11, 2024
@gmalouf gmalouf added the Enhancement New feature or request label Sep 11, 2024
@gmalouf gmalouf merged commit 249016c into algorand:main Sep 13, 2024
@gmalouf gmalouf deleted the account-rewind-disable branch September 13, 2024 15:11
agodnic added a commit to AlgoNode/indexer that referenced this pull request Dec 12, 2024
gmalouf added a commit to gmalouf/indexer that referenced this pull request Jan 13, 2025
…ps and searches. (algorand#1630)"

This reverts commit 249016c. The synthetic transaction implementation of payouts in the indexer should allow balances retrieved via rewind to calculate as before.
gmalouf added a commit that referenced this pull request Jan 13, 2025
* Revert "Disable rewinding and reject the  query param on account lookups and searches. (#1630)"

This reverts commit 249016c. The synthetic transaction implementation of payouts in the indexer should allow balances retrieved via rewind to calculate as before.

* GCI lint warning fix.

* Add HeartbeatTxn to be ignored during rewinding.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Incentives: Account rewinding does not account for participation rewards

3 participants