status-go/vendor/github.com
shashankshampi 14dcd29eee test_: Code Migration from status-cli-tests
author shashankshampi <shashank.sanket1995@gmail.com> 1729780155 +0530
committer shashankshampi <shashank.sanket1995@gmail.com> 1730274350 +0530

test: Code Migration from status-cli-tests
fix_: functional tests (#5979)

* fix_: generate on test-functional

* chore(test)_: fix functional test assertion

---------

Co-authored-by: Siddarth Kumar <siddarthkay@gmail.com>

feat(accounts)_: cherry-pick Persist acceptance of Terms of Use & Privacy policy (#5766) (#5977)

* feat(accounts)_: Persist acceptance of Terms of Use & Privacy policy (#5766)

The original GH issue https://github.com/status-im/status-mobile/issues/21113
came from a request from the Legal team. We must show to Status v1 users the new
terms (Terms of Use & Privacy Policy) right after they upgrade to Status v2
from the stores.

The solution we use is to create a flag in the accounts table, named
hasAcceptedTerms. The flag will be set to true on the first account ever
created in v2 and we provide a native call in mobile/status.go#AcceptTerms,
which allows the client to persist the user's choice in case they are upgrading
(from v1 -> v2, or from a v2 older than this PR).

This solution is not the best because we should store the setting in a separate
table, not in the accounts table.

Related Mobile PR https://github.com/status-im/status-mobile/pull/21124

* fix(test)_: Compare addresses using uppercased strings

---------

Co-authored-by: Icaro Motta <icaro.ldm@gmail.com>

test_: restore account (#5960)

feat_: `LogOnPanic` linter (#5969)

* feat_: LogOnPanic linter

* fix_: add missing defer LogOnPanic

* chore_: make vendor

* fix_: tests, address pr comments

* fix_: address pr comments

fix(ci)_: remove workspace and tmp dir

This ensures we do not encounter weird errors like:
```
+ ln -s /home/jenkins/workspace/go_prs_linux_x86_64_main_PR-5907 /home/jenkins/workspace/go_prs_linux_x86_64_main_PR-5907@tmp/go/src/github.com/status-im/status-go
ln: failed to create symbolic link '/home/jenkins/workspace/go_prs_linux_x86_64_main_PR-5907@tmp/go/src/github.com/status-im/status-go': File exists
script returned exit code 1
```

Signed-off-by: Jakub Sokołowski <jakub@status.im>

chore_: enable windows and macos CI build (#5840)

- Added support for Windows and macOS in CI pipelines
- Added missing dependencies for Windows and x86-64-darwin
- Resolved macOS SDK version compatibility for darwin-x86_64

The `mkShell` override was necessary to ensure compatibility with the newer
macOS SDK (version 11.0) for x86_64. The default SDK (10.12) was causing build failures
because of the missing libs and frameworks. OverrideSDK creates a mapping from
the default SDK in all package categories to the requested SDK (11.0).

fix(contacts)_: fix trust status not being saved to cache when changed (#5965)

Fixes https://github.com/status-im/status-desktop/issues/16392

cleanup

added logger and cleanup

review comments changes

fix_: functional tests (#5979)

* fix_: generate on test-functional

* chore(test)_: fix functional test assertion

---------

Co-authored-by: Siddarth Kumar <siddarthkay@gmail.com>

feat(accounts)_: cherry-pick Persist acceptance of Terms of Use & Privacy policy (#5766) (#5977)

* feat(accounts)_: Persist acceptance of Terms of Use & Privacy policy (#5766)

The original GH issue https://github.com/status-im/status-mobile/issues/21113
came from a request from the Legal team. We must show to Status v1 users the new
terms (Terms of Use & Privacy Policy) right after they upgrade to Status v2
from the stores.

The solution we use is to create a flag in the accounts table, named
hasAcceptedTerms. The flag will be set to true on the first account ever
created in v2 and we provide a native call in mobile/status.go#AcceptTerms,
which allows the client to persist the user's choice in case they are upgrading
(from v1 -> v2, or from a v2 older than this PR).

This solution is not the best because we should store the setting in a separate
table, not in the accounts table.

Related Mobile PR https://github.com/status-im/status-mobile/pull/21124

* fix(test)_: Compare addresses using uppercased strings

---------

Co-authored-by: Icaro Motta <icaro.ldm@gmail.com>

test_: restore account (#5960)

feat_: `LogOnPanic` linter (#5969)

* feat_: LogOnPanic linter

* fix_: add missing defer LogOnPanic

* chore_: make vendor

* fix_: tests, address pr comments

* fix_: address pr comments

chore_: enable windows and macos CI build (#5840)

- Added support for Windows and macOS in CI pipelines
- Added missing dependencies for Windows and x86-64-darwin
- Resolved macOS SDK version compatibility for darwin-x86_64

The `mkShell` override was necessary to ensure compatibility with the newer
macOS SDK (version 11.0) for x86_64. The default SDK (10.12) was causing build failures
because of the missing libs and frameworks. OverrideSDK creates a mapping from
the default SDK in all package categories to the requested SDK (11.0).

fix(contacts)_: fix trust status not being saved to cache when changed (#5965)

Fixes https://github.com/status-im/status-desktop/issues/16392

test_: remove port bind

chore(wallet)_: move route execution code to separate module

chore_: replace geth logger with zap logger (#5962)

closes: #6002

feat(telemetry)_: add metrics for message reliability (#5899)

* feat(telemetry)_: track message reliability

Add metrics for dial errors, missed messages,
missed relevant messages, and confirmed delivery.

* fix_: handle error from json marshal

chore_: use zap logger as request logger

iterates: status-im/status-desktop#16536

test_: unique project per run

test_: use docker compose v2, more concrete project name

fix(codecov)_: ignore folders without tests

Otherwise Codecov reports incorrect numbers when making changes.
https://docs.codecov.com/docs/ignoring-paths

Signed-off-by: Jakub Sokołowski <jakub@status.im>

test_: verify schema of signals during init; fix schema verification warnings (#5947)

fix_: update defaultGorushURL (#6011)

fix(tests)_: use non-standard port to avoid conflicts

We have observed `nimbus-eth2` build failures reporting this port:
```json
{
  "lvl": "NTC",
  "ts": "2024-10-28 13:51:32.308+00:00",
  "msg": "REST HTTP server could not be started",
  "topics": "beacnde",
  "address": "127.0.0.1:5432",
  "reason": "(98) Address already in use"
}
```
https://ci.status.im/job/nimbus-eth2/job/platforms/job/linux/job/x86_64/job/main/job/PR-6683/3/

Signed-off-by: Jakub Sokołowski <jakub@status.im>

fix_: create request logger ad-hoc in tests

Fixes `TestCall` failing when run concurrently.

chore_: configure codecov (#6005)

* chore_: configure codecov

* fix_: after_n_builds
2024-10-30 14:49:26 +05:30
..
BurntSushi/toml chore_: bump go-waku (#5150) 2024-05-15 19:15:00 -04:00
Masterminds/squirrel feat(wallet): add collectibles filter option tokenIDs 2024-01-18 11:14:02 -03:00
PuerkitoBio/goquery Upgrade to go 1.18 2022-05-11 12:39:54 +01:00
RoaringBitmap/roaring Upgrade to go 1.18 2022-05-11 12:39:54 +01:00
VictoriaMetrics/fastcache Upgrade to go 1.18 2022-05-11 12:39:54 +01:00
afex/hystrix-go feat: fallback rpc endpoint 2023-02-28 08:43:57 +01:00
anacrolix chore_: upgrade go to 1.21 (#5216) 2024-05-30 14:22:57 +05:30
andybalholm feat: add parsing for new links format (#3665) 2023-07-04 17:48:52 +04:00
avast/retry-go/v4 chore: bump go-waku (#4505) 2024-01-05 16:43:05 -04:00
bahlo/generic-list-go feat(wallet) make remaining filter apis async 2023-07-03 16:50:48 +02:00
beevik/ntp chore: bump go-waku 2022-12-14 20:54:48 +00:00
benbjohnson chore: bump libp2p related dependencies 2023-06-30 14:23:08 -04:00
beorn7/perks use prometheus/client_golang for metrics 2019-11-04 13:18:50 +01:00
bits-and-blooms chore_: add `bits-and-blooms/bloom/v3` module 2024-07-04 17:54:29 +02:00
bradfitz/iter Upgrade to go 1.18 2022-05-11 12:39:54 +01:00
btcsuite chore: upgrade deps 2022-11-09 17:39:17 +03:00
buger/jsonparser feat(wallet) make remaining filter apis async 2023-07-03 16:50:48 +02:00
cenkalti/backoff feat: exponential backoff for Alchemy 2023-10-11 14:41:18 -03:00
cespare/xxhash/v2 chore_: bump go-waku with filter loop fix (#5909) 2024-10-10 17:03:36 +05:30
containerd/cgroups chore: upgrade libp2p 2023-05-30 10:49:52 -04:00
coreos/go-systemd/v22 chore: upgrade deps 2022-11-09 17:39:17 +03:00
cpuguy83/go-md2man/v2 chore_: bump go-waku (#5150) 2024-05-15 19:15:00 -04:00
cruxic/go-hmac-drbg go-waku integration (#2247) 2021-06-16 16:19:45 -04:00
davecgh/go-spew migrate to go 1.12 and go modules 2019-06-12 13:12:00 +02:00
davidlazar/go-crypto go-waku integration (#2247) 2021-06-16 16:19:45 -04:00
deckarep/golang-set Upgrade to go 1.18 2022-05-11 12:39:54 +01:00
decred/dcrd/dcrec/secp256k1/v4 chore_: bump go-waku (#5289) 2024-06-05 16:10:03 -04:00
docker/go-units chore: upgrade deps 2022-11-09 17:39:17 +03:00
dustin/go-humanize chore: bump go-waku (#4505) 2024-01-05 16:43:05 -04:00
edsrzf/mmap-go Verify ens endpoint, only against mainnet (#1657) 2019-11-04 11:08:22 +01:00
elastic/gosigar chore_: bump go-waku with filter loop fix (#5909) 2024-10-10 17:03:36 +05:30
ethereum/go-ethereum fix_: bump go-ethereum to get fix for block hash calculation (#5873) 2024-09-26 08:38:22 -03:00
fjl/memsize Upgrade to go 1.18 2022-05-11 12:39:54 +01:00
flynn/noise chore_: bump go-waku (#5289) 2024-06-05 16:10:03 -04:00
fogleman/gg Implement identity ring 2022-09-16 09:52:08 +01:00
forPelevin/gomoji Upgrade to go 1.18 2022-05-11 12:39:54 +01:00
francoispqt/gojay Upgrade to go 1.18 2022-05-11 12:39:54 +01:00
gballet/go-libpcsclite Upgrade to go 1.18 2022-05-11 12:39:54 +01:00
go-ole/go-ole fix(windows-build): Remove free space check for archives (#4485) 2023-12-20 21:21:02 +03:00
go-playground feat: wakuv2 store (#2780) 2022-08-19 12:34:07 -04:00
go-stack/stack chore: bump go-waku version 2023-03-06 17:39:59 -04:00
go-task/slim-sprig/v3 chore_: bump go-waku with filter loop fix (#5909) 2024-10-10 17:03:36 +05:30
godbus/dbus/v5 feat: wakuv2 store (#2780) 2022-08-19 12:34:07 -04:00
gogo/protobuf chore: bump go-waku 2023-06-09 12:54:22 -04:00
golang chore_: migrate to uber's mock fork (#5858) 2024-09-20 10:08:11 +01:00
golang-jwt/jwt/v4 upgrade ethereum 2022-10-26 09:39:30 +02:00
golang-migrate/migrate/v4 chore: update gowaku 2023-01-10 09:02:37 -04:00
google chore_: bump go-waku with filter loop fix (#5909) 2024-10-10 17:03:36 +05:30
gorilla chore_: bump go-waku (#5509) 2024-07-11 15:34:20 -04:00
hashicorp chore_: bump go-waku (#5289) 2024-06-05 16:10:03 -04:00
holiman Upgrade to go 1.18 2022-05-11 12:39:54 +01:00
huandu/xstrings Upgrade to go 1.18 2022-05-11 12:39:54 +01:00
huin/goupnp chore_: bump go-waku (#5150) 2024-05-15 19:15:00 -04:00
imdario/mergo Upgrade to go 1.18 2022-05-11 12:39:54 +01:00
ipfs chore: upgrade libp2p 2023-05-30 10:49:52 -04:00
jackpal/go-nat-pmp go-waku integration (#2247) 2021-06-16 16:19:45 -04:00
jbenet/go-temp-err-catcher chore: upgrade deps 2022-11-09 17:39:17 +03:00
jellydator/ttlcache/v3 refactor_: expire envelope cache (#5061) 2024-04-17 08:19:03 -04:00
jinzhu/copier Add datasync, v1messages & disable discovery topic options 2019-07-29 19:39:44 +02:00
jmoiron/sqlx chore: moved collectibles ownership cache to db 2023-07-27 12:12:03 -03:00
keighl/metabolize Add GitHub to whitelist for URL unfurling #11426 2021-01-11 11:15:09 +01:00
kilic/bls12-381 Upgrade to go 1.18 2022-05-11 12:39:54 +01:00
klauspost chore_: bump go-waku with filter loop fix (#5909) 2024-10-10 17:03:36 +05:30
koron/go-ssdp chore: upgrade libp2p 2023-05-30 10:49:52 -04:00
ladydascalie/currency feat: implement currency formatting calculation (#3191) 2023-02-17 11:11:07 -03:00
lann feat(wallet): add collectibles filter option tokenIDs 2024-01-18 11:14:02 -03:00
leodido/go-urn feat: wakuv2 store (#2780) 2022-08-19 12:34:07 -04:00
lib/pq chore: upgrade go-waku to v0.5 (#3213) 2023-02-22 17:58:17 -04:00
libp2p chore_: bump go-waku with filter loop fix (#5909) 2024-10-10 17:03:36 +05:30
lucasb-eyer/go-colorful Upgrade to go 1.18 2022-05-11 12:39:54 +01:00
mailru/easyjson feat(wallet) make remaining filter apis async 2023-07-03 16:50:48 +02:00
marten-seemann/tcp chore: upgrade go-waku to v0.5 (#3213) 2023-02-22 17:58:17 -04:00
mat/besticon Fix iconcache 2021-07-20 10:57:38 +02:00
mattn chore_: bump go-waku (#5150) 2024-05-15 19:15:00 -04:00
meirf/gopart feat: introduce discord import tool 2022-10-28 09:52:26 +02:00
miekg/dns chore_: bump go-waku with filter loop fix (#5909) 2024-10-10 17:03:36 +05:30
mikioh Upgrade to go 1.18 2022-05-11 12:39:54 +01:00
minio/sha256-simd chore: bump libp2p related dependencies 2023-06-30 14:23:08 -04:00
mitchellh upgrade ethereum 2022-10-26 09:39:30 +02:00
mr-tron/base58 migrate to go 1.12 and go modules 2019-06-12 13:12:00 +02:00
mschoch/smat Upgrade to go 1.18 2022-05-11 12:39:54 +01:00
multiformats chore_: bump go-waku with filter loop fix (#5909) 2024-10-10 17:03:36 +05:30
munnerz/goautoneg chore_: bump go-waku with filter loop fix (#5909) 2024-10-10 17:03:36 +05:30
mutecomm/go-sqlcipher/v4 chore_: fix sqlcipher build for android on ndkr26b 2024-09-22 18:27:47 +05:30
nfnt/resize avoid division by 0 2020-12-17 14:10:00 +01:00
okzk/sdnotify add script for easier setup of mailserver 2019-10-10 11:27:32 +02:00
olekukonko/tablewriter Upgrade to go 1.18 2022-05-11 12:39:54 +01:00
oliamb/cutter make vendor 2020-12-17 14:10:00 +01:00
onsi/ginkgo/v2 chore_: bump go-waku with filter loop fix (#5909) 2024-10-10 17:03:36 +05:30
opencontainers/runtime-spec chore_: bump go-waku (#5289) 2024-06-05 16:10:03 -04:00
pbnjay/memory Upgrade to go 1.18 2022-05-11 12:39:54 +01:00
pborman/uuid Upgrade to go 1.18 2022-05-11 12:39:54 +01:00
pion chore_: bump go-waku with filter loop fix (#5909) 2024-10-10 17:03:36 +05:30
pkg/errors Upgrade deps (#1892) 2020-03-09 08:55:58 +01:00
pmezard/go-difflib Introduce the dependency vendoring tool: `dep`. (#551) 2018-01-25 14:08:43 +01:00
prometheus chore_: bump go-waku with filter loop fix (#5909) 2024-10-10 17:03:36 +05:30
quic-go chore_: bump go-waku with filter loop fix (#5909) 2024-10-10 17:03:36 +05:30
raulk/go-watchdog chore: update gowaku 2023-01-10 09:02:37 -04:00
remyoudompheng/bigfft Upgrade to go 1.18 2022-05-11 12:39:54 +01:00
rivo/uniseg Upgrade to go 1.18 2022-05-11 12:39:54 +01:00
rjeczalik/notify fix crash on x86_64 android emulators (#4233) 2023-12-14 19:02:38 +05:30
rs Upgrade to go 1.18 2022-05-11 12:39:54 +01:00
russolsen/transit migrate to go 1.12 and go modules 2019-06-12 13:12:00 +02:00
russross/blackfriday/v2 upgrade ethereum 2022-10-26 09:39:30 +02:00
schollz/peerdiscovery Rough initial proof of concept for udp network checking 2023-04-17 12:01:38 +01:00
segmentio test_: Code Migration from status-cli-tests 2024-10-30 14:49:26 +05:30
shirou/gopsutil fix(windows-build): Remove free space check for archives (#4485) 2023-12-20 21:21:02 +03:00
shopspring/decimal feat: wakuv2 store (#2780) 2022-08-19 12:34:07 -04:00
siphiuel/lc-proxy-wrapper Add lc-proxy-wrapper dep 2023-05-24 18:48:16 +03:00
spaolacci/murmur3 feat: wakuv2 store (#2780) 2022-08-19 12:34:07 -04:00
status-im refactor_: remove status-im/rendezvous (#5685) 2024-08-22 13:12:37 -04:00
stretchr chore_: bump go-waku (#5150) 2024-05-15 19:15:00 -04:00
syndtr/goleveldb feat: wakuv2 store (#2780) 2022-08-19 12:34:07 -04:00
tklauser Upgrade to go 1.18 2022-05-11 12:39:54 +01:00
tsenart/tb Update Whisper and introduce rate limiting (#1673) 2019-11-18 11:22:23 +01:00
tyler-smith/go-bip39 Upgrade to go 1.18 2022-05-11 12:39:54 +01:00
urfave/cli/v2 chore_: bump go-waku (#5150) 2024-05-15 19:15:00 -04:00
waku-org chore_: bump go-waku with filter loop fix (#5909) 2024-10-10 17:03:36 +05:30
wealdtech Upgrade to go 1.18 2022-05-11 12:39:54 +01:00
wk8/go-ordered-map feat(wallet) make remaining filter apis async 2023-07-03 16:50:48 +02:00
wlynxg/anet chore_: bump go-waku with filter loop fix (#5909) 2024-10-10 17:03:36 +05:30
xeipuuv Upgrade to go 1.18 2022-05-11 12:39:54 +01:00
xrash/smetrics chore_: bump go-waku (#5150) 2024-05-15 19:15:00 -04:00
yeqown Introduce QR code generation & serve it via the media server (#3154) 2023-02-02 19:26:00 +05:30
yusufpapurcu/wmi fix(windows-build): Remove free space check for archives (#4485) 2023-12-20 21:21:02 +03:00
zenthangplus/goccm Upgrade to go 1.18 2022-05-11 12:39:54 +01:00