Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[indexer-balances] indexing stopped at block height 22633808 #50

Closed
sarin59337 opened this issue Dec 2, 2023 · 3 comments
Closed

[indexer-balances] indexing stopped at block height 22633808 #50

sarin59337 opened this issue Dec 2, 2023 · 3 comments

Comments

@sarin59337
Copy link

Indexing stopped at block height 22633808 with the following error:

2023-12-02T11:30:57.136777Z ERROR indexer_balances: Stop indexing due to 1 changes for receipts were not applied, block_height 22633808
{
    6QKTEHsLihDgVrdtWYbURA28zF29Xdw5dnfWbDVWHPv4: AccountWithBalance {
        account_id: AccountId(
            "aspaceodyssey2001.near",
        ),
        balance: BalanceDetails {
            non_staked: 5087754972079500200000000,
            staked: 0,
        },
    },
}
Error: 1 changes for receipts were not applied, block_height 22633808
{
    6QKTEHsLihDgVrdtWYbURA28zF29Xdw5dnfWbDVWHPv4: AccountWithBalance {
        account_id: AccountId(
            "aspaceodyssey2001.near",
        ),
        balance: BalanceDetails {
            non_staked: 5087754972079500200000000,
            staked: 0,
        },
    },
}
@sarin59337
Copy link
Author

@morgsmccauley @telezhnaya @khorolets any suggestions on how to proceed? Thanks!

@telezhnaya
Copy link
Collaborator

Thank you for reporting!
We have the same issue in indexer-for-explorer near/near-indexer-for-explorer#328
Quickfix: start the indexer from the next block, 22633809
After some time (~10 minutes) run one more indexer just to collect missing 22633808 block

The reason of this issue is an extremely weird situation in nearcore. As far as we know, it never happens again.
I knew the answer because I just remember this number 22633808

@telezhnaya
Copy link
Collaborator

be sure you use RPC-based balance mode during these tweaks https://github.com/near/near-microindexers#what-is-balance-mode-for-indexer-balances

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants