-
Notifications
You must be signed in to change notification settings - Fork 49
chore: revert stakeset handling in this subgraph and add new event parameter #1936
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
chore: revert stakeset handling in this subgraph and add new event parameter #1936
Conversation
WalkthroughThe pull request removes the Changes
Suggested labels
Suggested reviewers
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
⏰ Context from checks skipped due to timeout of 90000ms (15)
🪧 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 (
|
👷 Deploy Preview for kleros-v2-testnet processing.
|
👷 Deploy Preview for kleros-v2-testnet-devtools processing.
|
✅ Deploy Preview for kleros-v2-testnet ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for kleros-v2-testnet-devtools ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for kleros-v2-university ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for kleros-v2-neo ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
Code Climate has analyzed commit 3397ab5 and detected 3 issues on this pull request. Here's the issue category breakdown:
View more on Code Climate. |
|
4554947
to
c399c03
Compare
add the new _amountAllCourts to the StakeSet events
also reverts #1901 as discussed since we don't want to handle this entity in this subgraph due to entity overload since StakeSet is very frequent
frontend unaffected
PR-Codex overview
This PR focuses on updating the
StakeSet
event handling in the Kleros V2 subgraph, including changes to the event structure, the addition of a new parameter, and updates to related functions and schemas.Detailed summary
subgraph/package.json
from0.12.0
to0.13.0
.StakeSet
type inschema.graphql
to include an additional parameter.createStakeSetEvent
function to accept a new parameter_amountAllCourts
.newStakeSetEvent
to include the new parameter.StakeSetEvent
toStakeSet
.StakeSetEntity
inhandleStakeSet
function.subgraph.yaml
files to match the newStakeSet
signature.Summary by CodeRabbit
Summary by CodeRabbit
Refactor
StakeSet
entity from theSortitionModule
.StakeSet
event, enhancing data processing.Chores