Commit Graph

5195 Commits

Author SHA1 Message Date
Alex Jbanca ed36d60540 fix(BC)_: Fix personal_sign RPC event processing
The personal_sign RPC event parsing. Changed `params` from object array to string array.
2024-11-22 09:23:42 +01:00
Patryk Osmaczko 3912e7645c chore(logging)_: add benchmark for custom zap core 2024-11-22 08:46:19 +01:00
Patryk Osmaczko eae034aea0 feat(logging)_: introduce custom zap.Core enabling runtime changes
Geth logger allows overriding the log level, format and writer at
runtime. To make it interchangeable with zap.Logger, a custom zap.Core
has been introduced to enable these features as well.

closes: #6023
2024-11-22 08:46:19 +01:00
frank 3824691f78
chore_: remove CLI option MEDIA_HTTPS (#6112) 2024-11-22 10:23:17 +08:00
Jonathan Rainville 72f7ed7ced
fix(community)_: fix missing mediaserver when cloning a community (#6026)
This caused communities being passed to the client via `handleCommunitiesSubscription` to not have images and they would "flash" in the client because it would disappear for a second then come back when another signal updated it back.
2024-11-21 14:12:22 -05:00
Anton Danchenko 35dc84fa7f
test_: add multiple status-backend instances (#6104)
* test_: add multiple status-backend instances

* test_: reliable schemas
2024-11-21 14:21:53 +00:00
Alex Jbanca 11cf42bedd fix(BrowserConnect)_: Send client event when the dApp permissions have been revoked 2024-11-20 15:36:04 +01:00
Alex Jbanca 3f96b8430b fix(BC)_:Add account and chainID to the `permissionGranted` event 2024-11-20 15:36:04 +01:00
Igor Sirotin 9a45ae09ca
chore_: add gofakeit dependency (#6110)
* chore_: add gofakeit dependency

* fix_: linter
2024-11-20 12:33:05 +00:00
flexsurfer c2d79e785e
feat_: add KeycardPairingKey for mobile (#6101) 2024-11-20 12:35:20 +01:00
frank 735a422230
chore_: create v2 endpoints for status.go to solve EndpointsUnsupported in endpoints.go (#5943)
* chore_: create v2 endpoints for status.go to use status-backend server

* feat_: support using http for media server (#6060)
2024-11-19 09:31:29 +00:00
Parvesh Monu 17dbc37964
chore_: Remove switcher cards (#6107) 2024-11-19 13:41:52 +05:30
Andrey Bocharnikov f754315023
chore(wallet)_: returns last timestamps of successful GetWalletToken updates (#5988)
* chore(wallet)_: returns last timestamps of successful GetWalletToken updates

* fix_: return timestamp instead of time

* address feedback from the PR
2024-11-18 22:27:52 +04:00
Igor Sirotin 46f2212ea9
ci_: disable codecov github annotations 2024-11-18 17:13:35 +00:00
Churikova Tetiana 3a70219e22 test_: added setSetting tests 2024-11-18 11:40:43 +01:00
Anton 6149fa3b7e test_: skip test_wallet_filter_activity_async 2024-11-15 20:08:25 +01:00
Anton 8ca9a669dd test_: fix exit code 2024-11-15 20:08:25 +01:00
Yevheniia Berdnyk 1887b00435
test_: added wallet tests (#6062) 2024-11-12 15:30:13 +02:00
Igor Sirotin 7ee45bab1c
chore_: cleanup unused cmd (#6045)
* chore!: remove cmd/node-canary

* chore!: remove unused root files

* chore!: remove cmd/bootnode and cmd/statusd-prune

* chore!: remove waku _examples

* chore!: remove cmd/spiff-workflow and cmd/topics
2024-11-11 17:17:41 +07:00
Sale Djenic 4fc9361f12 fix(wallet)_: broken swap and bridge for erc20 tokens fixed 2024-11-08 13:51:11 +01:00
Dario Gabriel Lipicar 1940d26c7f chore_: adapt route db to new transaction code 2024-11-08 09:03:33 -03:00
Dario Gabriel Lipicar 414e08b283 chore_: rework transaction code to make it more reusable 2024-11-08 09:03:33 -03:00
Dario Gabriel Lipicar cfcef92e64 feat(wallet)_: store route execution data to db 2024-11-08 09:03:33 -03:00
Igor Sirotin f15c64ced3
chore_: add sentry-go dependency (#6052) 2024-11-06 17:37:08 +00:00
Igor Sirotin d15ec57bad
fix_: move version to separate package (#6053) 2024-11-06 17:36:49 +00:00
Churikova Tetiana 9ecaa2abb5 test_: profile tests 2024-11-06 16:32:26 +01:00
Sale Djenic b329b158c8 fix_: bridge tx improvements
- increase gas estimation factor increased
- amount parameter added to the key composition, that makes it unique
2024-11-04 10:00:47 +01:00
Igor Sirotin e938635d04
chore_: get version with go generate (#6014)
* chore_: get version with go generate

* fix_: test-functional

* fix_: trip space in version and gitcommit

* fix_: TestUserAgent
2024-11-03 00:47:15 +00:00
saledjenic c040cc753e chore(wallet)_: router tx improvements (#6020)
* chore(wallet)_: stickers service removed from the router, not needed after recent changes

* chore(wallet)_: missed check for error added to few processors
2024-11-01 08:45:53 -03:00
Dario Gabriel Lipicar 89104b3027 fix(wallet)_: properly use amount in erc1155 transfers 2024-11-01 08:45:53 -03:00
Khushboo Mehta c4bb706e63 feat(addAmountOutInSentTransactions)_: Add amount out in NewRouterSentTransaction function 2024-11-01 12:29:22 +01:00
Igor Sirotin 7617bdd2ef
ci_: configure test jobs (#6008) 2024-10-31 10:50:58 +00:00
Dario Gabriel Lipicar 5d4838a752 chore_: remove detection of external swaps and bridges 2024-10-31 08:52:54 +01:00
Vedran Mendelski c08e922f65
fix(ci)_: skip windows build cleanup stage
Windows build pipeline has errors while running:
```sh
sh "rm -rf ${env.WORKSPACE}@tmp"
```
In cleanup stage:
```groovy
process apparently never started in J:/Users/jenkins/workspace/_prs_windows_x86_64_main_PR-5990@tmp/durable-478fb71e
(running Jenkins temporarily with -Dorg.jenkinsci.plugins.durabletask.BourneShellScript.LAUNCH_DIAGNOSTICS=true might make the problem clearer)
```
Related with [Durable Task Plugin](https://plugins.jenkins.io/durable-task/).

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-10-30 11:57:33 +01:00
Igor Sirotin 768cda8de9
chore_: configure codecov (#6005)
* chore_: configure codecov

* fix_: after_n_builds
2024-10-29 19:11:35 +00:00
Patryk Osmaczko 9240222fbe fix_: create request logger ad-hoc in tests
Fixes `TestCall` failing when run concurrently.
2024-10-29 18:50:11 +01:00
Jakub Sokołowski 9d41652a2d 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>
2024-10-29 17:52:47 +01:00
Igor Sirotin d3e934a8a0
fix_: update defaultGorushURL (#6011) 2024-10-29 16:52:34 +00:00
Mag eea527a9cf
test_: verify schema of signals during init; fix schema verification warnings (#5947) 2024-10-29 12:10:48 +00:00
Jakub Sokołowski 807397faca
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>
2024-10-29 10:01:51 +01:00
Anton 90a0f9d643 test_: use docker compose v2, more concrete project name 2024-10-29 09:51:59 +01:00
Anton fe83748429 test_: unique project per run 2024-10-29 09:51:59 +01:00
Patryk Osmaczko 2c1b321e58 chore_: use zap logger as request logger
iterates: status-im/status-desktop#16536
2024-10-29 07:36:29 +01:00
Arseniy Klempner 153c5dbdf4
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
2024-10-28 15:01:18 -07:00
osmaczko 2ced83abb7
chore_: replace geth logger with zap logger (#5962)
closes: #6002
2024-10-28 20:54:17 +00:00
Dario Gabriel Lipicar d77d243dd6 chore(wallet)_: move route execution code to separate module 2024-10-28 14:24:37 +01:00
Anton 097d19a83e test_: remove port bind 2024-10-28 11:40:33 +01:00
Jonathan Rainville d99fdf1b67
fix(contacts)_: fix trust status not being saved to cache when changed (#5965)
Fixes https://github.com/status-im/status-desktop/issues/16392
2024-10-25 22:28:58 +01:00
Vedran 6ee62061bc
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).
2024-10-25 09:40:47 +02:00
Jakub Sokołowski c72f491324
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>
2024-10-24 01:40:04 +02:00