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

Verification: method to decode undecoded event logs #684

Closed
NikitaSavik opened this issue Nov 23, 2023 · 1 comment
Closed

Verification: method to decode undecoded event logs #684

NikitaSavik opened this issue Nov 23, 2023 · 1 comment
Assignees

Comments

@NikitaSavik
Copy link

NikitaSavik commented Nov 23, 2023

The new transaction decoding service requires that events emitted during the transaction should be undecoded somehow. Blockscout may undecode event logs only if the contract is verified. We need a service that will look for potential event candidates based only on the raw event data (topics and data encoded).

Currently, we have the sig-provider service, that looks for the potential candidates in 3-rd party services (sigeth and 4bytes, as for now). But those services are too slow and cannot process a large amount of events in adequate time. The idea is to update eth-bytecode-db service to store signatures for the contracts verified through it, and provide an endpoint that will support quick event lookups.

In the applied approach, eth-bytecode-db will only search for the potential event abis based on the event selector and will be similar in its functionality to 4bytes and sigeth. The candidates processing will remain on the sig-provider side

@rimrakhimov
Copy link
Member

rimrakhimov commented Dec 18, 2023

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

2 participants