Skip to content

Commit

Permalink
fix: relayer
Browse files Browse the repository at this point in the history
  • Loading branch information
Bisht13 committed May 22, 2024
1 parent 84a092f commit b8ba722
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
6 changes: 4 additions & 2 deletions packages/relayer/src/database.rs
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,10 @@ impl Database {

sqlx::query(
"CREATE TABLE IF NOT EXISTS safe_txs (
tx_hash TEXT PRIMARY KEY,
wallet_addr TEXT NOT NULL
tx_hash TEXT NOT NULL,
wallet_addr TEXT NOT NULL,
PRIMARY KEY (tx_hash, wallet_addr),
UNIQUE (tx_hash, wallet_addr)
);",
)
.execute(&self.db)
Expand Down
11 changes: 10 additions & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4161,6 +4161,15 @@ axios@^1.6.5:
form-data "^4.0.0"
proxy-from-env "^1.1.0"

axios@^1.7.2:
version "1.7.2"
resolved "https://registry.yarnpkg.com/axios/-/axios-1.7.2.tgz#b625db8a7051fbea61c35a3cbb3a1daa7b9c7621"
integrity sha512-2A8QhOMrbomlDuiLeK9XibIBzuHeRcqqNOHp0Cyp5EoJ1IFDh+XZH3A6BkXtv0K4gFGCI0Y4BM7B1wOEi0Rmgw==
dependencies:
follow-redirects "^1.15.6"
form-data "^4.0.0"
proxy-from-env "^1.1.0"

axobject-query@^3.2.1:
version "3.2.1"
resolved "https://registry.yarnpkg.com/axobject-query/-/axobject-query-3.2.1.tgz#39c378a6e3b06ca679f29138151e45b2b32da62a"
Expand Down Expand Up @@ -9484,7 +9493,7 @@ node-fetch@^2.6.0, node-fetch@^2.6.12, node-fetch@^2.6.8:
dependencies:
whatwg-url "^5.0.0"

node-fetch@^3.3.0, node-fetch@^3.3.2:
node-fetch@^3.3.0:
version "3.3.2"
resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-3.3.2.tgz#d1e889bacdf733b4ff3b2b243eb7a12866a0b78b"
integrity sha512-dRB78srN/l6gqWulah9SrxeYnxeddIG30+GOqK/9OlLVyLg3HPnr6SqOWTWOXKRwC2eGYCkZ59NNuSgvSrpgOA==
Expand Down

0 comments on commit b8ba722

Please sign in to comment.