-
Notifications
You must be signed in to change notification settings - Fork 51
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
Add id column as PRIMARY KEY for evm.logs & evm.log_poller_blocks #1441
base: ccip-develop
Are you sure you want to change the base?
Commits on Sep 20, 2024
-
Manually merged in from chainlink repo:
BCI-3492 [LogPoller]: Allow withObservedExecAndRowsAffected to report non-zero rows affected (#14057) * Fix withObservedExecAndRowsAffected Also: - Change behavior of DeleteExpiredLogs to delete logs which don't match any filter - Add a test case to ensure the dataset size is published properly during pruning * pnpm changeset * changeset #fix -> #bugfix
Configuration menu - View commit details
-
Copy full SHA for 3cc98be - Browse repository at this point
Copy the full SHA 3cc98beView commit details
Commits on Sep 24, 2024
-
Manually merge in FilteredLogs receive []Expression from upstream
commit 2761cd5 Author: Juan Farber <[email protected]> Date: Wed Sep 4 17:16:00 2024 -0300 [BCI-3988] - FilteredLogs receive []Expression instead of whole KeyFilter (#14109) * FilteredLogs receive []Expression instead of whole KeyFilter * remove key from query.Where KeyFilter creation * add changeset * remove brackets from changeset * fix usage * fix comment lint * remove todo * refactor based on comments * add where func inside logpoller without key * fix reference
Configuration menu - View commit details
-
Copy full SHA for 679ba08 - Browse repository at this point
Copy the full SHA 679ba08View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7456353 - Browse repository at this point
Copy the full SHA 7456353View commit details -
Add id column as PRIMARY KEY for evm.logs & evm.log_poller_blocks
Also: - Add UNIQUE INDEXes to replace previous primary keys (still necessary, both for optimizing queries and for enforcing uniqueness constraints) - Replace all SELECT *'s with helper functions for selecting all columns - Refactor nestedBlockQuery into withConfs, and make a bit more use of it
Configuration menu - View commit details
-
Copy full SHA for 5b22a24 - Browse repository at this point
Copy the full SHA 5b22a24View commit details -
Some of the columns in these indexes (such as created_at) are no longer used. Others were not optimized for the queries we need.
Configuration menu - View commit details
-
Copy full SHA for b023353 - Browse repository at this point
Copy the full SHA b023353View commit details -
Configuration menu - View commit details
-
Copy full SHA for d153367 - Browse repository at this point
Copy the full SHA d153367View commit details -
Configuration menu - View commit details
-
Copy full SHA for b0b82b6 - Browse repository at this point
Copy the full SHA b0b82b6View commit details -
Update test for fromBlock >= :block_number
Previously it was using fromBlock > :block_number which is inconsistent with the other fromBlocks in queries
Configuration menu - View commit details
-
Copy full SHA for 62b650b - Browse repository at this point
Copy the full SHA 62b650bView commit details -
Configuration menu - View commit details
-
Copy full SHA for ef6a78b - Browse repository at this point
Copy the full SHA ef6a78bView commit details -
Configuration menu - View commit details
-
Copy full SHA for f311f7d - Browse repository at this point
Copy the full SHA f311f7dView commit details -
Fix bug in merged commit from develop
On a node with more than one chain, each LogPoller would have deleted all logs from chains it's not running on! Because of the LEFT JOIN, ON evm_chain_id = $1 does not filter out any rows where evm_chain_id != $1; only WHERE evm_chain_id = $1 can do that
Configuration menu - View commit details
-
Copy full SHA for ea8e250 - Browse repository at this point
Copy the full SHA ea8e250View commit details -
Configuration menu - View commit details
-
Copy full SHA for 079120f - Browse repository at this point
Copy the full SHA 079120fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5d24721 - Browse repository at this point
Copy the full SHA 5d24721View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3d65b90 - Browse repository at this point
Copy the full SHA 3d65b90View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5949fe0 - Browse repository at this point
Copy the full SHA 5949fe0View commit details -
Configuration menu - View commit details
-
Copy full SHA for dfc58c8 - Browse repository at this point
Copy the full SHA dfc58c8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1ffb5c4 - Browse repository at this point
Copy the full SHA 1ffb5c4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 097aec6 - Browse repository at this point
Copy the full SHA 097aec6View commit details -
Configuration menu - View commit details
-
Copy full SHA for d02e394 - Browse repository at this point
Copy the full SHA d02e394View commit details
Commits on Sep 25, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 10eb4df - Browse repository at this point
Copy the full SHA 10eb4dfView commit details -
Configuration menu - View commit details
-
Copy full SHA for ae7d150 - Browse repository at this point
Copy the full SHA ae7d150View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5ee61dc - Browse repository at this point
Copy the full SHA 5ee61dcView commit details -
Configuration menu - View commit details
-
Copy full SHA for a5df432 - Browse repository at this point
Copy the full SHA a5df432View commit details -
Configuration menu - View commit details
-
Copy full SHA for f703802 - Browse repository at this point
Copy the full SHA f703802View commit details