From 03de0a2c6ed27ae70cdc76770a58672e37bdce98 Mon Sep 17 00:00:00 2001 From: kaichao Date: Thu, 16 May 2024 16:42:32 +0800 Subject: [PATCH] chore_: bump mvds (#5165) --- go.mod | 2 +- go.sum | 4 ++-- vendor/github.com/status-im/mvds/state/state_sqlite.go | 2 +- vendor/modules.txt | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/go.mod b/go.mod index 5260769a9..e9bf26090 100644 --- a/go.mod +++ b/go.mod @@ -51,7 +51,7 @@ require ( github.com/status-im/doubleratchet v3.0.0+incompatible github.com/status-im/markdown v0.0.0-20240404192634-b7e33c6ac3d4 github.com/status-im/migrate/v4 v4.6.2-status.3 - github.com/status-im/mvds v0.0.27-0.20240111144448-92d364e4be82 + github.com/status-im/mvds v0.0.27-0.20240515104308-70c8806b0f3e github.com/status-im/rendezvous v1.3.8-0.20240110194857-cc5be22bf83e github.com/status-im/status-go/extkeys v1.1.2 github.com/status-im/tcp-shaker v1.1.1-status diff --git a/go.sum b/go.sum index 5c09ca662..d6f3e31f2 100644 --- a/go.sum +++ b/go.sum @@ -2024,8 +2024,8 @@ github.com/status-im/markdown v0.0.0-20240404192634-b7e33c6ac3d4 h1:KBeXtOoisXji github.com/status-im/markdown v0.0.0-20240404192634-b7e33c6ac3d4/go.mod h1:5rjPyv3KffPNVbFjnsVy0NGj9+JeW40WvXLdxH1VKuE= github.com/status-im/migrate/v4 v4.6.2-status.3 h1:Khwjb59NzniloUr5i9s9AtkEyqBbQFt1lkoAu66sAu0= github.com/status-im/migrate/v4 v4.6.2-status.3/go.mod h1:c/kc90n47GZu/58nnz1OMLTf7uE4Da4gZP5qmU+A/v8= -github.com/status-im/mvds v0.0.27-0.20240111144448-92d364e4be82 h1:A7jtwOlDMUGUPx5tTwUPewMoIprvo9oN9kU0H1CP+FQ= -github.com/status-im/mvds v0.0.27-0.20240111144448-92d364e4be82/go.mod h1:2fiAx0q9XYIPKYRq2B1oiO9zZESy/n4D32gWw6lMDsE= +github.com/status-im/mvds v0.0.27-0.20240515104308-70c8806b0f3e h1:Nv+9sPoTkuLINQwf6MQVmwxn7XQji7KFjPFZoYElQzc= +github.com/status-im/mvds v0.0.27-0.20240515104308-70c8806b0f3e/go.mod h1:2fiAx0q9XYIPKYRq2B1oiO9zZESy/n4D32gWw6lMDsE= github.com/status-im/notify v1.0.2-status h1:x8wev0Sh8H8KAf4bVcv+L0dVHldBESOKUlqRqRY7uL8= github.com/status-im/notify v1.0.2-status/go.mod h1:gF3zSOrafR9DQEWSE8TjfI9NkooDxbyT4UgRGKZA0lc= github.com/status-im/rendezvous v1.3.8-0.20240110194857-cc5be22bf83e h1:pCOHeAYmYttXQBCn+6u01bs5d/W3XslxmplFhru4X1Y= diff --git a/vendor/github.com/status-im/mvds/state/state_sqlite.go b/vendor/github.com/status-im/mvds/state/state_sqlite.go index be50568e4..1d29a716f 100644 --- a/vendor/github.com/status-im/mvds/state/state_sqlite.go +++ b/vendor/github.com/status-im/mvds/state/state_sqlite.go @@ -28,7 +28,7 @@ func (p *sqliteSyncState) Add(newState State) error { } _, err := p.db.Exec(` - INSERT INTO mvds_states + INSERT OR IGNORE INTO mvds_states (type, send_count, send_epoch, group_id, peer_id, message_id) VALUES (?, ?, ?, ?, ?, ?)`, diff --git a/vendor/modules.txt b/vendor/modules.txt index 93fc18f25..1c5e75dab 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -945,7 +945,7 @@ github.com/status-im/migrate/v4/database/postgres github.com/status-im/migrate/v4/database/sqlcipher github.com/status-im/migrate/v4/internal/url github.com/status-im/migrate/v4/source/go_bindata -# github.com/status-im/mvds v0.0.27-0.20240111144448-92d364e4be82 +# github.com/status-im/mvds v0.0.27-0.20240515104308-70c8806b0f3e ## explicit; go 1.19 github.com/status-im/mvds/node github.com/status-im/mvds/node/migrations