-
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.
Merge branch 'develop' into BCI-1176-configurable-client-errors
- Loading branch information
Showing
19 changed files
with
903 additions
and
60 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"chainlink": minor | ||
--- | ||
|
||
Add support for workflow jobs to Operator UI #wip #added |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"chainlink": patch | ||
--- | ||
|
||
Narrowing topic, data_word indexes by adding (evm_chain_id, address, event_sig) to the index definition #db_update |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
package main | ||
|
||
import ( | ||
lib "github.com/smartcontractkit/chainlink/dashboard-lib" | ||
) | ||
|
||
func main() { | ||
cfg := lib.ReadEnvDeployOpts() | ||
db := lib.NewDashboard(cfg.Name, cfg, nil) | ||
err := db.Delete() | ||
if err != nil { | ||
lib.L.Fatal().Err(err).Msg("failed to delete the dashboard") | ||
} | ||
lib.L.Info(). | ||
Str("Name", db.Name). | ||
Str("GrafanaURL", db.DeployOpts.GrafanaURL). | ||
Str("GrafanaFolder", db.DeployOpts.GrafanaFolder). | ||
Msg("Dashboard deleted") | ||
} |
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
65 changes: 65 additions & 0 deletions
65
core/store/migrate/migrations/0233_log_poller_word_topic_indexes.sql
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
-- +goose Up | ||
|
||
drop index if exists evm.evm_logs_idx_data_word_one; | ||
drop index if exists evm.evm_logs_idx_data_word_two; | ||
drop index if exists evm.evm_logs_idx_data_word_three; | ||
drop index if exists evm.evm_logs_idx_data_word_four; | ||
drop index if exists evm.evm_logs_idx_topic_two; | ||
drop index if exists evm.evm_logs_idx_topic_three; | ||
drop index if exists evm.evm_logs_idx_topic_four; | ||
|
||
create index evm_logs_idx_data_word_one | ||
on evm.logs (address, event_sig, evm_chain_id, "substring"(data, 1, 32)); | ||
|
||
create index evm_logs_idx_data_word_two | ||
on evm.logs (address, event_sig, evm_chain_id, "substring"(data, 33, 32)); | ||
|
||
create index evm_logs_idx_data_word_three | ||
on evm.logs (address, event_sig, evm_chain_id, "substring"(data, 65, 32)); | ||
|
||
create index evm_logs_idx_data_word_four | ||
on evm.logs (address, event_sig, evm_chain_id, "substring"(data, 97, 32)); | ||
|
||
create index evm_logs_idx_data_word_five | ||
on evm.logs (address, event_sig, evm_chain_id, "substring"(data, 129, 32)); | ||
|
||
create index evm_logs_idx_topic_two | ||
on evm.logs (address, event_sig, evm_chain_id, (topics[2])); | ||
|
||
create index evm_logs_idx_topic_three | ||
on evm.logs (address, event_sig, evm_chain_id, (topics[3])); | ||
|
||
create index evm_logs_idx_topic_four | ||
on evm.logs (address, event_sig, evm_chain_id, (topics[4])); | ||
|
||
-- +goose Down | ||
|
||
drop index if exists evm.evm_logs_idx_data_word_one; | ||
drop index if exists evm.evm_logs_idx_data_word_two; | ||
drop index if exists evm.evm_logs_idx_data_word_three; | ||
drop index if exists evm.evm_logs_idx_data_word_four; | ||
drop index if exists evm.evm_logs_idx_data_word_five; | ||
drop index if exists evm.evm_logs_idx_topic_two; | ||
drop index if exists evm.evm_logs_idx_topic_three; | ||
drop index if exists evm.evm_logs_idx_topic_four; | ||
|
||
create index evm_logs_idx_data_word_one | ||
on evm.logs ("substring"(data, 1, 32)); | ||
|
||
create index evm_logs_idx_data_word_two | ||
on evm.logs ("substring"(data, 33, 32)); | ||
|
||
create index evm_logs_idx_data_word_three | ||
on evm.logs ("substring"(data, 65, 32)); | ||
|
||
create index evm_logs_idx_data_word_four | ||
on evm.logs ("substring"(data, 97, 32)); | ||
|
||
create index evm_logs_idx_topic_two | ||
on evm.logs ((topics[2])); | ||
|
||
create index evm_logs_idx_topic_three | ||
on evm.logs ((topics[3])); | ||
|
||
create index evm_logs_idx_topic_four | ||
on evm.logs ((topics[4])); |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
<!doctype html><html><head><meta charset="UTF-8"/><meta name="viewport" content="width=device-width,initial-scale=1"/><title>Operator UI</title><link rel="shortcut icon" href="https://smartcontract.imgix.net/chainlink.ico?auto=compress%2Cformat"/><link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500" rel="stylesheet"/><link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet"/><link href="/favicon.ico" rel="shortcut icon" type="image/x-icon"/><title>Chainlink</title><script defer="defer" src="/assets/main.4a9b933093bb165fcc8f.js"></script></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html> | ||
<!doctype html><html><head><meta charset="UTF-8"/><meta name="viewport" content="width=device-width,initial-scale=1"/><title>Operator UI</title><link rel="shortcut icon" href="https://smartcontract.imgix.net/chainlink.ico?auto=compress%2Cformat"/><link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500" rel="stylesheet"/><link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet"/><link href="/favicon.ico" rel="shortcut icon" type="image/x-icon"/><title>Chainlink</title><script defer="defer" src="/assets/main.22957d5aeebe77369ec3.js"></script></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html> |
Binary file not shown.
2 changes: 1 addition & 1 deletion
2
core/web/assets/main.4a9b933093bb165fcc8f.js → core/web/assets/main.22957d5aeebe77369ec3.js
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file renamed
BIN
+1.14 MB
...eb/assets/main.4a9b933093bb165fcc8f.js.gz → ...eb/assets/main.22957d5aeebe77369ec3.js.gz
Binary file not shown.
Oops, something went wrong.