Commit Graph

5206 Commits

Author SHA1 Message Date
Igor Sirotin 474658b6b1
chore_: configure codeclimate (#6006) 2024-11-22 16:08:22 +00:00
Sale Djenic 5fa57c80ec chore(wallet)_: path processor specific const and functions moved to path processors' common package 2024-11-22 13:32:49 +01:00
Sale Djenic 3c911e3fed fix(wallet)_: broken swap and bridge for erc20 tokens fixed 2024-11-22 13:32:49 +01:00
Sale Djenic 575175c1ee feat(wallet)_: enrich status changed and tx update signals' payload with tx route data 2024-11-22 13:32:49 +01:00
Sale Djenic bacd132a2b chore(wallet)_: route execution related types moved to services/wallet/wallettypes 2024-11-22 13:32:49 +01:00
Sale Djenic e354844044 chore(wallet)_: transactions/types.go moved to services/wallet/wallettypes 2024-11-22 13:32:49 +01:00
Sale Djenic 874da40150 chore(wallet)_: send type package simplification
- path processor constants moved to wallet constants
- FetchPrices and FindToken functions moved from send type package to router package
2024-11-22 13:32:49 +01:00
Sale Djenic f80042c5cb chore(wallet)_: ens resolver identified under ens api
New EnsResolver type identified and will be responsible for network calls,
while ens api will use it (until mobile app switches to a new sending flow) and
continue managing other (db) interactions.
2024-11-22 13:32:49 +01:00
Alex Jbanca c5dede93b0 feat(browser connect)_: Implementing signTypedData_V4
This commit bundles the personal sign and the signTypedData_V4 sign request in the same command.
The only difference between these two requests is the order of address and challenge in the params array.

What has changed:
1. PersonalSign.. has been renamed to Sign
2. `getPersonalSignParams` renamed to `getSignParams` and implements the parsing for both personal sign and signTypedData_V4
2024-11-22 10:35:23 +01:00
Patryk Osmaczko c5c28cc568 chore(logging)_: switch to zap.Logger as central logger
Set zap.Logger as the  primary logger for status-go. All geth logs are
now proxied through zap.Logger.

closes: #6029
2024-11-22 10:03:22 +01:00
Patryk Osmaczko d18dfeffca chore(logging)_: introduce geth adapter 2024-11-22 10:03:22 +01:00
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