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

Handle failed/reverted transactions #93

Open
seanmcgary opened this issue Nov 9, 2024 · 0 comments
Open

Handle failed/reverted transactions #93

seanmcgary opened this issue Nov 9, 2024 · 0 comments

Comments

@seanmcgary
Copy link
Member

Currently shows up as an error in the logs while processing, but this should be handled more gracefully.

Nov 09 04:30:17 ip-10-10-0-91 runsidecar.sh[1168827]: {"level":"error","ts":1731126617.713455,"caller":"indexer/transactionLogs.go:127","msg":"Failed to unpack data","error":"abi: cannot marshal in to go slice: offset 123612885755294480364551735571218811243878182992928 would go over slice boundary (len=447)","transactionHash":"0xc1cb2537e5677a3130180fcfe09252a3082edf7d41b5f1db7e432ffa68983952","blockNumber":17773230,"stacktrace":"github.com/Layr-Labs/go-sidecar/pkg/indexer.(*Indexer).ParseTransactionLogs\n\t/storage/sidecar/pkg/indexer/transactionLogs.go:127\ngithub.com/Layr-Labs/go-sidecar/pkg/indexer.(*Indexer).ParseInterestingTransactionsAndLogs\n\t/storage/sidecar/pkg/indexer/indexer.go:123\ngithub.com/Layr-Labs/go-sidecar/pkg/pipeline.(*Pipeline).RunForFetchedBlock\n\t/storage/sidecar/pkg/pipeline/pipeline.go:74\ngithub.com/Layr-Labs/go-sidecar/pkg/pipeline.(*Pipeline).RunForBlockBatch\n\t/storage/sidecar/pkg/pipeline/pipeline.go:304\ngithub.com/Layr-Labs/go-sidecar/pkg/sidecar.(*Sidecar).IndexFromCurrentToTip\n\t/storage/sidecar/pkg/sidecar/blockIndexer.go:209\ngithub.com/Layr-Labs/go-sidecar/pkg/sidecar.(*Sidecar).StartIndexing\n\t/storage/sidecar/pkg/sidecar/blockIndexer.go:24\ngithub.com/Layr-Labs/go-sidecar/pkg/sidecar.(*Sidecar).Start\n\t/storage/sidecar/pkg/sidecar/sidecar.go:85"}

https://etherscan.io/tx/0xc1cb2537e5677a3130180fcfe09252a3082edf7d41b5f1db7e432ffa68983952

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