Skip to content

[Horizon] Stage 1 upgrade #296

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

Open
wants to merge 79 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
79 commits
Select commit Hold shift + click to select a range
9ee86cb
feat: add basic handlers for stake management in Horizon, and update …
juanmardefago Feb 10, 2025
721d93d
fix: potential issue for Stage 2
juanmardefago Feb 10, 2025
cdbbe77
fix: comments from latest round of reviews
juanmardefago Feb 13, 2025
f9a676b
fix: more fixes from reviews, and fixed addresses import preventing b…
juanmardefago Feb 13, 2025
49808b4
feat: add initial provision management, without thawing tracking
juanmardefago Feb 11, 2025
353e18f
feat: basic implementation for ThawRequests
juanmardefago Feb 12, 2025
4fee2d0
fix: schema
juanmardefago Feb 13, 2025
89ec3ed
fix: maxVerifierCut/Pending wrong types, schema issues and more
juanmardefago Feb 13, 2025
67a0f5c
feat: added ProvisionSlashed support
juanmardefago Feb 13, 2025
9517b03
feat: add ParametersSet and Staged support for provisions
juanmardefago Feb 12, 2025
7c2bd90
chore: placeholder for SetOperator and DelegationFeeCutSet
juanmardefago Feb 13, 2025
9f52dc7
feat: added new OperatorSet and DelegationFeeCutSet event support
juanmardefago Feb 18, 2025
dadddd9
fix: provisionedOperators missing init
juanmardefago Feb 18, 2025
a404cba
feat: added basic delegation pool management
juanmardefago Feb 18, 2025
f55ca41
feat: added provision delegated fields
juanmardefago Feb 19, 2025
9b2275f
feat: removed advanced metrics for indexer on horizon since it makes …
juanmardefago Feb 19, 2025
33f0c3b
feat: prepared configs, placeholder mapping file
juanmardefago Feb 19, 2025
9570a04
feat: added basic service registry for Horizon
juanmardefago Feb 20, 2025
a24e02c
fix: abi.decode potential decoding failure
juanmardefago Feb 24, 2025
cbe7db7
chore: placeholder event handlers
juanmardefago Feb 20, 2025
414a76b
chore: updated ABIs
juanmardefago Feb 24, 2025
396dbc6
feat: implemented AllocationCreated, Closed and Resized
juanmardefago Feb 24, 2025
9c76ef1
fix: build issues
juanmardefago Feb 24, 2025
926bb93
chore: placeholder handler definition
juanmardefago Feb 24, 2025
b811361
feat: added indexing rewards collection handler
juanmardefago Feb 25, 2025
7cf9e11
feat: add QueryFeesCollected support
juanmardefago Feb 26, 2025
6b3584e
feat: added QueryFeesCollected handler with latest contract changes
juanmardefago Feb 27, 2025
af1ab1c
feat: add GraphPayments abi
juanmardefago Feb 27, 2025
1aa856b
feat: add tax tracking for Horizon through GraphPayments
juanmardefago Feb 27, 2025
4c3030a
feat: placeholders and manifest changes for delegation
juanmardefago Feb 27, 2025
1956b90
feat: added horizon delegation events support
juanmardefago Mar 3, 2025
c646fed
fix: missing inits
juanmardefago Mar 6, 2025
add1dc5
fix: address gh pr feedback
juanmardefago Mar 30, 2025
3ee2ea1
fix: build issues and feedback from PaymentCollection PR
juanmardefago Mar 30, 2025
8085cf7
fix: addressed AllocationManagement pr feedback
juanmardefago Mar 30, 2025
e2de8d4
fix: address feedback from Subgraph Indexing Registration PR
juanmardefago Mar 31, 2025
c8854a9
fix: address feedback from Delegation Pool pr
juanmardefago Mar 31, 2025
88e4205
fix: addressed provision config PR feedback
juanmardefago Mar 31, 2025
bf89036
fix: most of the feedback from ProvisionManagement PR
juanmardefago Mar 31, 2025
85124e5
fix: use new nomenclature for staking contract in address book
tmigone Apr 14, 2025
2c2cb31
fix: add missing properties to provision initializer
tmigone Apr 15, 2025
de21a8b
fix: proper decoding for ServiceProviderRegistered
tmigone Apr 16, 2025
f4b038c
fix: update indexer entity on RewardsDestinationSet
tmigone Apr 16, 2025
300c8df
feat: add isLegacy boolean to indexer entity
tmigone Apr 16, 2025
32d9456
fix: couple fixes for thaw/deprovision flows
tmigone Apr 17, 2025
aaa9812
fix: update data service entity on allo creation
tmigone Apr 21, 2025
47c734a
fix: update missing entities in allocation resize
tmigone Apr 21, 2025
2f1c688
fix: update allocation close to latest signature
tmigone Apr 21, 2025
36148ac
feat: add governance events handlers to horizon staking
tmigone Apr 21, 2025
0a219a3
feat: more missing governance events
tmigone Apr 21, 2025
db7dac6
feat: add more missing events
tmigone Apr 22, 2025
73c7da8
fix: couple delegation fixes and additions
tmigone Apr 22, 2025
4c6d370
fix: few things about indexing rewards and pois
tmigone Apr 22, 2025
81eab58
fix: load graph network first
tmigone Apr 23, 2025
f664900
fix: overdelegation dilution div by zero
tmigone May 15, 2025
f7342e5
chore: use split address book on localnetwork script
tmigone May 15, 2025
ca96994
feat: added HorizonDisputeManager
juanmardefago Apr 26, 2025
ce0b8f0
fix: missing initalized field
juanmardefago Apr 26, 2025
e9e9b62
chore: update CLI
juanmardefago May 15, 2025
95eea54
fix: downgrade graph-ts to fix heap memory issues
juanmardefago May 15, 2025
70decf1
fix: tests and disabled hosted service deploy scripts
juanmardefago May 16, 2025
5a14c62
feat: added isLegacy to Dispute and minor comment on schema
juanmardefago May 16, 2025
932ed20
Merge pull request #289 from graphprotocol/juanmardefago/horizon-disp…
juanmardefago May 16, 2025
b65a99e
feat: invert cuts to keep meaning consistent with pre-horizon
tmigone May 8, 2025
5e8c9ae
fix: use proper types
tmigone May 9, 2025
82fbc57
wip: some type fixes
tmigone May 14, 2025
5f0f84d
feat: refactored legacy cuts and related fields
juanmardefago May 19, 2025
c4fd754
fix: broken tests
juanmardefago May 19, 2025
9ffbedd
feat: added DisputePeriodSet handler
juanmardefago May 19, 2025
2173931
fix: missing init
juanmardefago May 19, 2025
586d0a7
feat: added legacy fields for locked tokens and lockedUntil
juanmardefago May 19, 2025
09af3d0
feat: adding latest value for thawingUntil on Indexer and Provision
juanmardefago May 19, 2025
e8f5971
Merge pull request #290 from graphprotocol/tmigone/invert-cuts
juanmardefago May 21, 2025
8f60bb9
Merge branch 'juanmardefago/horizon-stage-1-signed' into juanmardefag…
juanmardefago May 21, 2025
6fc84e1
Merge pull request #298 from graphprotocol/juanmardefago/horizon-lega…
juanmardefago May 21, 2025
47bf789
Merge pull request #297 from graphprotocol/juanmardefago/horizon-disp…
juanmardefago May 21, 2025
7c3c215
feat: ensure thawingUntil value is actually the max value
juanmardefago May 21, 2025
ba8bb75
Merge pull request #299 from graphprotocol/juanmardefago/horizon-thaw…
juanmardefago May 21, 2025
d7f9a7d
fix: missing fields in delegated stake init
tmigone May 23, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 0 additions & 20 deletions .github/workflows/deploy-goerli-arbitrum-subgraph.yml

This file was deleted.

20 changes: 0 additions & 20 deletions .github/workflows/deploy-goerli-subgraph.yml

This file was deleted.

20 changes: 0 additions & 20 deletions .github/workflows/deploy-production-arbitrum-subgraph.yaml

This file was deleted.

20 changes: 0 additions & 20 deletions .github/workflows/deploy-production-subgraph.yaml

This file was deleted.

20 changes: 0 additions & 20 deletions .github/workflows/deploy-sepolia-arbitrum-subgraph.yml

This file was deleted.

20 changes: 0 additions & 20 deletions .github/workflows/deploy-sepolia-subgraph.yml

This file was deleted.

20 changes: 0 additions & 20 deletions .github/workflows/deploy-staging-arbitrum-subgraph.yaml

This file was deleted.

20 changes: 0 additions & 20 deletions .github/workflows/deploy-staging-subgraph.yaml

This file was deleted.

92 changes: 0 additions & 92 deletions .github/workflows/template-deploy.yaml

This file was deleted.

4 changes: 2 additions & 2 deletions .github/workflows/tests-l1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@ jobs:
- name: Prep addressess
run: ./node_modules/.bin/ts-node config/testAddressesL1.ts && ./node_modules/.bin/mustache ./config/generatedAddresses.json ./config/addresses.template.ts > ./config/addresses.ts
- name: Prep test L1
run: ./node_modules/.bin/mustache ./config/generatedAddresses.json subgraph.template.yaml > subgraph.yaml && ./node_modules/@graphprotocol/graph-cli/bin/run codegen --output-dir src/types/
run: ./node_modules/.bin/mustache ./config/generatedAddresses.json subgraph.template.yaml > subgraph.yaml && ./node_modules/@graphprotocol/graph-cli/bin/run.js codegen --output-dir src/types/
- name: Test
run: ./node_modules/@graphprotocol/graph-cli/bin/run test -v 0.6.0-rc.2
run: ./node_modules/@graphprotocol/graph-cli/bin/run.js test -v 0.6.0-rc.2
4 changes: 2 additions & 2 deletions .github/workflows/tests-l2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@ jobs:
- name: Prep addressess
run: ./node_modules/.bin/ts-node config/testAddressesL2.ts && ./node_modules/.bin/mustache ./config/generatedAddresses.json ./config/addresses.template.ts > ./config/addresses.ts
- name: Prep test L2
run: ./node_modules/.bin/mustache ./config/generatedAddresses.json subgraph.template.yaml > subgraph.yaml && ./node_modules/@graphprotocol/graph-cli/bin/run codegen --output-dir src/types/
run: ./node_modules/.bin/mustache ./config/generatedAddresses.json subgraph.template.yaml > subgraph.yaml && ./node_modules/@graphprotocol/graph-cli/bin/run.js codegen --output-dir src/types/
- name: Test
run: ./node_modules/@graphprotocol/graph-cli/bin/run test -v 0.6.0-rc.2
run: ./node_modules/@graphprotocol/graph-cli/bin/run.js test -v 0.6.0-rc.2
Loading