Skip to content

Commit

Permalink
BCF-2883 remove stranded, unused db func evm.notifytxinsertion (#11739)
Browse files Browse the repository at this point in the history
  • Loading branch information
krehermann authored Jan 11, 2024
1 parent 9759ff9 commit c3b156b
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions core/store/migrate/migrations/0219_drop_notifytxinsertion.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
-- +goose Up
-- +goose StatementBegin
DROP FUNCTION IF EXISTS evm.notifytxinsertion();
-- +goose StatementEnd

-- +goose Down
-- +goose StatementBegin
CREATE OR REPLACE FUNCTION evm.notifytxinsertion() RETURNS trigger
LANGUAGE plpgsql
AS $$
BEGIN
PERFORM pg_notify('evm.insert_on_txes'::text, encode(NEW.from_address, 'hex'));
RETURN NULL;
END
$$;
-- +goose StatementEnd

0 comments on commit c3b156b

Please sign in to comment.