[indexer] Get ready to nearcore 1.26.0 and NEAR Indexer Framework 1.26.0 #6656
khorolets
started this conversation in
Node Public Interfaces
Replies: 3 comments 1 reply
-
Undocumented (breaking) changes:
|
Beta Was this translation helpful? Give feedback.
0 replies
-
FYI I've added the fix to another known issue when your indexer build fails. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
TL;DR
5d824f6b1c98a05cd51ba01c464f5aad7ec4aac8
testnet
Apr 20, 2022mainnet
May 18, 2022This release will make a protocol upgrade, your nodes might get stuck if you don't upgrade them before the protocol upgrade happens.
NEAR Lake Framework
We want to remind you that we've released NEAR Lake Framework. If you don't have a hard requirement to use NEAR Indexer Framework and run
nearcore
node for your indexer, we encourage you to migrate to NEAR Lake Framework.NEAR Lake Framework allows you to build a lightweight indexer which doesn't require a lot of resources. This will:
nearcore
releasePlease, reach out to us if you have questions about migration, we will be happy to help.
Commit hash
c7eaf26ba3e934a1ee76af2d2ac4266fa276d28c
Expected issues
NEAR Indexer Framework contains a breaking change that might require updates to the code of your indexers.
state_changes
is moved from the root ofStreamerMessage
to theIndexerShard.state_changes
and now contains only changes related to the specific shard.The changes in your indexer are required if you use
state_changes
in your logic. Otherwise, you don't need to do anythingAll the indexer-related structures like
StreamerMessage
are extracted from thenear-indexer
crate into a separate cratenear-indexer-primitives
(and it should be published to crates.io soon enough).near-indexer
crate exposes thenear_indexer_primitives
, so you don't have to import the primitives crate separately.Build might fail with errors like:
This is caused by the bug in the older
tracing
crate.The fix is to run
Reference
See how we did the upgrade on the NEAR Indexer for Explorer side
Feel free to leave your questions in the comments below.
Beta Was this translation helpful? Give feedback.
All reactions