Skip to content

Commit

Permalink
Add ocr2 spec id and plugin id logging
Browse files Browse the repository at this point in the history
  • Loading branch information
cawthorne committed Mar 10, 2025
1 parent eaa03c3 commit fbeddcc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions core/services/ocr2/database.go
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,9 @@ func (d *db) WriteConfig(ctx context.Context, c ocrtypes.ContractConfig) error {
offchain_config = EXCLUDED.offchain_config,
updated_at = NOW()
`

d.lggr.Info("Writing OCR2 config", "ocr2_oracle_spec_id", d.oracleSpecID, "ocr2_plugin_id", d.pluginID)

_, err := d.ds.ExecContext(ctx, stmt,
d.oracleSpecID,
d.pluginID,
Expand Down

0 comments on commit fbeddcc

Please sign in to comment.