Skip to content

Commit

Permalink
WarpySyncer: add Mode and Manta networks to sync_state
Browse files Browse the repository at this point in the history
  • Loading branch information
asiaziola committed Apr 24, 2024
1 parent dff7744 commit 2e584ae
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
-- +migrate Down

-- +migrate Up
ALTER TYPE synced_component ADD VALUE 'WarpySyncerMode';
ALTER TYPE synced_component ADD VALUE 'WarpySyncerManta';
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
-- +migrate Down
DELETE FROM sync_state WHERE name = 'WarpySyncerMode';
DELETE FROM sync_state WHERE name = 'WarpySyncerManta';

-- +migrate Up
INSERT INTO sync_state(name, finished_block_height, finished_block_hash) VALUES ('WarpySyncerMode', 39295852, '0x881367e3abc51a6c04a7513b0abb30a8f391aa45e35864828b4e3c29a2114b05');
INSERT INTO sync_state(name, finished_block_height, finished_block_hash) VALUES ('WarpySyncerManta', 39295852, '0x881367e3abc51a6c04a7513b0abb30a8f391aa45e35864828b4e3c29a2114b05' );

0 comments on commit 2e584ae

Please sign in to comment.