Skip to content

Commit

Permalink
feat(server): add coordinator cannon rpcs
Browse files Browse the repository at this point in the history
  • Loading branch information
Savid committed Sep 5, 2023
1 parent 20268d7 commit 8a04b97
Show file tree
Hide file tree
Showing 9 changed files with 1,168 additions and 79 deletions.
9 changes: 9 additions & 0 deletions migrations/postgres/005_cannon.up.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
CREATE TABLE cannon_location (
location_id SERIAL PRIMARY KEY,
create_time TIMESTAMPTZ NOT NULL DEFAULT now(),
update_time TIMESTAMPTZ NOT NULL DEFAULT now(),
network_id VARCHAR(256),
type VARCHAR(256),
value TEXT,
CONSTRAINT cannon_location_unique UNIQUE (network_id, type)
);
1 change: 1 addition & 0 deletions migrations/postgres/005_cannon_down.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DROP TABLE IF EXISTS cannon_location;
2 changes: 1 addition & 1 deletion pkg/proto/eth/v1/committee.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 8a04b97

Please sign in to comment.