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

BCF - 3139 Chain Reader Log Poller filters in config and some code cleanup #13356

Merged
merged 28 commits into from
Jun 14, 2024

Conversation

ilija42
Copy link
Contributor

@ilija42 ilija42 commented May 29, 2024

  • Added a bunch of comments around bindings and cleaned a bunch of thins up to be easier to understand since I had some trouble making changes here after not touching this code for some time
  • Log poller filters can now be registered through config
  • Events that don't have any special filtering options can use a shared filter that is defined on a contract level
  • Events that need specific filtering options can have their own filter
  • Event filter can't exist both on contract and event level

related : smartcontractkit/chainlink-common#572

@ilija42 ilija42 force-pushed the BCF-3139-chreader-lp-filter-config branch from fea446c to 58c637d Compare May 29, 2024 16:19
…lp-filter-config

# Conflicts:
#	core/services/relay/evm/chain_reader.go
#	core/services/relay/evm/chain_reader_test.go
#	core/services/relay/evm/event_binding.go
#	core/services/relay/evm/types/types.go
@ilija42 ilija42 force-pushed the BCF-3139-chreader-lp-filter-config branch from 43368b2 to 474097a Compare June 4, 2024 16:29
…lp-filter-config

# Conflicts:
#	core/services/relay/evm/chain_reader_test.go
@ilija42 ilija42 force-pushed the BCF-3139-chreader-lp-filter-config branch from e454a7e to 3acb2c4 Compare June 13, 2024 14:26
@reductionista
Copy link
Contributor

LGTM! Nice approach, I think this will work well going forward.

@ilija42 ilija42 added this pull request to the merge queue Jun 14, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jun 14, 2024
@ilija42 ilija42 added this pull request to the merge queue Jun 14, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jun 14, 2024
@ilija42 ilija42 added this pull request to the merge queue Jun 14, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jun 14, 2024
@ilija42 ilija42 added this pull request to the merge queue Jun 14, 2024
Merged via the queue into develop with commit 0228243 Jun 14, 2024
106 checks passed
@ilija42 ilija42 deleted the BCF-3139-chreader-lp-filter-config branch June 14, 2024 15:01
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

Successfully merging this pull request may close these issues.

4 participants