Skip to content
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

Error in fetching params #63

Open
gusin13 opened this issue Nov 22, 2024 · 0 comments
Open

Error in fetching params #63

gusin13 opened this issue Nov 22, 2024 · 0 comments

Comments

@gusin13
Copy link
Collaborator

gusin13 commented Nov 22, 2024

│ {"level":"debug","time":"2024-11-22T09:00:41Z","message":"Fetched 21 events from block 8708"}                                                                                    │
│ panic: interface conversion: interface {} is primitive.D, not *bbnclient.StakingParams                                                                                           │
│                                                                                                                                                                                  │
│ goroutine 805 [running]:                                                                                                                                                         │
│ github.com/babylonlabs-io/babylon-staking-indexer/internal/db.(*Database).GetStakingParams(0xc001e90d20?, {0x3652150, 0xc001e70960}, 0x0)                                        │
│     /go/src/github.com/babylonlabs-io/babylon-staking-indexer/internal/db/params.go:91 +0x1e5                                                                                    │
│ github.com/babylonlabs-io/babylon-staking-indexer/internal/services.(*Service).handleSpendingUnbondingTransaction(0xc001356e80, {0x3652150, 0xc001e70960}, 0xc002546f40, 0x0, 0x │
│ c001dd6600)                                                                                                                                                                      │
│     /go/src/github.com/babylonlabs-io/babylon-staking-indexer/internal/services/watch_btc_events.go:174 +0x53                                                                    │
│ github.com/babylonlabs-io/babylon-staking-indexer/internal/services.(*Service).watchForSpendUnbondingTx(0xc001356e80, 0xc001b8dba0, 0xc001dd6600)                                │
│     /go/src/github.com/babylonlabs-io/babylon-staking-indexer/internal/services/watch_btc_events.go:62 +0x168                                                                    │
│ created by github.com/babylonlabs-io/babylon-staking-indexer/internal/services.(*Service).registerUnbondingSpendNotification in goroutine 1                                      │
│     /go/src/github.com/babylonlabs-io/babylon-staking-indexer/internal/services/delegation_helpers.go:58 +0x46b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant