-
Notifications
You must be signed in to change notification settings - Fork 48
fix(subgraph): subgraph-event-fix #1948
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
Conversation
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. 🗂️ Base branches to auto review (5)
Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
|
core
folder insubgraph
, since contracts were not updated for Neo and UniversityIn contracts are upgraded again,
KlerosCore
andSortitionModule
tosubgraph/core/abis
temp-events-addition.txt
which lists the old events that should be added to these files respectively.PR-Codex overview
This PR focuses on supporting legacy event names and updating the contract configuration for the
SortitionModule
andKlerosCore
. It includes temporary handlers and adjustments to event definitions and configurations to ensure compatibility with existing deployments.Detailed summary
StakeDelayedAlreadyTransferred
inSortitionModule.ts
.temp-older-events-addition.txt
, including renamingStakeDelayedAlreadyTransferred
toStakeDelayedAlreadyTransferredDeposited
.address
andstartBlock
forKlerosCore
andSortitionModule
insubgraph.yaml
.subgraph.yaml
to point to temporary ABIs.eventHandlers
forCourtCreated
andStakeSet
.