Skip to content
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

BCF-2883 remove stranded, unused db func evm.notifytxinsertion #11739

Merged
merged 1 commit into from
Jan 11, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
BCF-2883 remove stranded, unused db func evm.notifytxinsertion
  • Loading branch information
krehermann committed Jan 11, 2024
commit 2861a52ea63b735ef5357cbe813e17602424be66
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
Loading