-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[BCF-3048] - Chain reader event querying (#12486)
* Simple DSL PoC * Simple DSL PoC * Removing NamedFilter from the API * Resolve merge issues * Use dsl filters from common, add some overrides and TODO placeholders * Add chain agnostic keys Querying mappings and implement some parts * Fix merge errors * Improve chain agnostic filter remapping * Move log confirmations to evm types * Remove unused KeysMappings from ChainContractReader * Rough implementation of how chain reader should handle query keys * Fix log poller mock gen and set chainlink-feeds to altest * Update chain reader to properly parse new proto * Add method to chain reader for retrieving data type by key * Add log to sequences parsing for QueryKey and QueryKeyByValues * Change multiple keys querying to make sense and cleanup * Further chain reader keys querying cleanup * Add chain agnostic head to sequences * Match chainlink-common changes * Add empty implementations of new QueryKey methodsfrom chainlink-common * Match new Query keys by equality definition from common in chain reader * Merge QueryByKey/ValuesIn/ValueEquality into QueryByKeyValuesComparison * Flatten bindings into just readBindings and use it for keys querying * Add data word querying by key support * Match chainlink-common chain reader changes * Extract addr context from read bindings and match common changes * Remove code that is out of scope for PR * Cleanup Chain Reader * Fix QueryOne bindings * Update common and finish query filter remapping * Use keys for data types retrieval in chain reader * minor fix * Change evm dsl event filter naming to be less confusing * Change chain reader formatKey() to accept two params * Run make generate and rename chain reader testing contract * Remove addr from chReader dsl EventByWordFilter and EventByTopicFilter * Update chainlink-common * Fix chain reader binding changes and update common * Add a TODO for chain agnostic finality filter * Revert codec type key changes(belongs in a separate PR) * Update common * Merge branch 'develop' into chain-reader-event-querying2 * update common * generate log poller assets * Revert forge-std changes to match develop * Revert accidental generated wrapper changes --------- Co-authored-by: Mateusz Sekara <[email protected]> Co-authored-by: Awbrey Hughlett <[email protected]>
- Loading branch information
1 parent
2e66837
commit dc94178
Showing
31 changed files
with
762 additions
and
417 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.