Skip to content

Commit

Permalink
Add SubmittedDistributionRoots to the stateroot
Browse files Browse the repository at this point in the history
  • Loading branch information
seanmcgary committed Sep 10, 2024
1 parent 6ed7085 commit 8caf26c
Show file tree
Hide file tree
Showing 7 changed files with 621 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cmd/sidecar/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import (
"github.com/Layr-Labs/go-sidecar/internal/eigenState/stakerDelegations"
"github.com/Layr-Labs/go-sidecar/internal/eigenState/stakerShares"
"github.com/Layr-Labs/go-sidecar/internal/eigenState/stateManager"
"github.com/Layr-Labs/go-sidecar/internal/eigenState/submittedDistributionRoots"
"github.com/Layr-Labs/go-sidecar/internal/fetcher"
"github.com/Layr-Labs/go-sidecar/internal/indexer"
"github.com/Layr-Labs/go-sidecar/internal/logger"
Expand Down Expand Up @@ -83,6 +84,9 @@ func main() {
if _, err := stakerShares.NewStakerSharesModel(sm, grm, cfg.Network, cfg.Environment, l, cfg); err != nil {
l.Sugar().Fatalw("Failed to create StakerSharesModel", zap.Error(err))
}
if _, err := submittedDistributionRoots.NewSubmittedDistributionRootsModel(sm, grm, cfg.Network, cfg.Environment, l, cfg); err != nil {
l.Sugar().Fatalw("Failed to create SubmittedDistributionRootsModel", zap.Error(err))
}

fetchr := fetcher.NewFetcher(client, cfg, l)

Expand Down
Loading

0 comments on commit 8caf26c

Please sign in to comment.