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 d0c3062
Show file tree
Hide file tree
Showing 9 changed files with 1,179 additions and 79 deletions.
8 changes: 8 additions & 0 deletions migrations/postgres/005_cannon.up.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
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
);
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 d0c3062

Please sign in to comment.