Commit Graph

5192 Commits

Author SHA1 Message Date
Igor Sirotin cc722359b5
chore_: run tests concurrently (#5731)
* chore_: fake flaky tests

* chore_: run tests in parallel (wip)

* chore_: test-with-coverage-old

* chore_: lint-fix fake flaky tests

* chore_: cleanup

* chore_:

* chore_: lint-fix fake flaky tests

* chore_: enable running some tests sequentially

* chore_: enable back all tests

* chore_: no sequential packages

* chore_: cleanup

* chore_: remove fake flaky packages

* chore_: cleanup

* chore_: attempt UNIT_TEST_COUNT as test count

* chore_: spawn multiple processes

* fix_: don't spawn multiple processes

* chore_: revert redirect_stdout changes

* fix_: update Jenkinsfile

* fix_: use env variables

* fix_: typo
2024-08-26 10:03:26 +01:00
Cuteivist c0d1f11ac2
fix_: Fill chain ids for bridge (#5751) 2024-08-26 09:53:21 +02:00
Igor Sirotin 5da91fe215
fix_: flaky test TestUDPNotifier (#5733) 2024-08-23 21:54:05 +01:00
Igor Sirotin e0eb737c51
fix_: enable tests to run with `-count` more than 1 (#5757)
* fix(TestProfilingCPU)_: enable run with -count=2

* fix(TestProfilingMem)_: enable run with -count=2

* fix(zaputil)_: register encoder only once

* fix(timesource)_: global variables override in tests

* fix(TestClosingsqlDB)_: delete database from cache

* fix(postgres/helpers)_: drop connections before dropping database

* fix_: linter

* chore_: remove redundant condition
2024-08-23 19:30:58 +00:00
Igor Sirotin edead41fa6
chore_: upgrade go-waku (#5763)
* chore_: bump go-waku

* chore_: fix go-waku compatibility
2024-08-23 16:44:53 +01:00
richΛrd 8cf4feec1e
refactor_: remove status-im/rendezvous (#5685) 2024-08-22 13:12:37 -04:00
Anton e63a7bbbee test(rpc)_: wakuext add contact, wakuext_peers 2024-08-22 17:12:00 +02:00
Alex Jbanca 2c430568b1
chore_: bump go-ethereum version to include sign fix (#5755)
Accept all primitive types in Solidity for EIP-712 from intN, uintN, intN[], uintN[] for N as 0 to 256 in multiples of 8

---------

Co-authored-by: Martin Holst Swende <martin@swende.se>
(cherry picked from commit 02796f6bee7e014fd16ad39f0bcd3b665b51e0bb)
2024-08-22 16:32:07 +03:00
richΛrd 36c893d3d2
fix_: proper content topic conversion between transport and waku layer for setting criteria interest (#5758) 2024-08-21 13:45:32 -04:00
Patryk Osmaczko 8914a79284 chore(ci)_: adjust nightly tests build retention to 14 runs
Increased build and artifact retention, as more context is usually
needed when analyzing flakiness thorugh nightly tests.
2024-08-21 15:32:55 +02:00
frank b6fe129ad6 fix_: account address derivation in mobile user upgrade 2024-08-21 14:23:03 +01:00
Richard Ramos cadc3998b8 fix_: a message might match more than one filter 2024-08-20 17:12:34 -04:00
Andrea Maria Piana e07182b3f3 fix_: Don't count error rate for circuit breaker on cancel and handle
not found
2024-08-20 15:26:28 +01:00
Anthony Laibe 7c9de0429e fix_: last command of circuit breaker should always run
When added more command to the circuit breaker, we forget to keep a real fallback mechanism,
the last call should ALWAYS be made.

As such, i am manually skipping to use circuit breaker in that case.
2024-08-20 15:26:16 +01:00
Dario Gabriel Lipicar 479eb71372 fix(wallet)_: prevent backwards range in GetHeadersInRange 2024-08-20 10:49:22 -03:00
Dario Gabriel Lipicar 1d173734a6 fix(wallet)_: set a separate id (and circuit) for the cryptcompare proxy 2024-08-20 14:32:14 +01:00
frank 83aa01c7da
chore_:update route error details (#5749) 2024-08-20 21:14:35 +08:00
Dario Gabriel Lipicar ba005f0d6f chore(wallet)_:make coingeco unit tests not call the real provider 2024-08-20 09:04:30 -03:00
Jakub Sokołowski bc984e0cb1
chore(ci)_: fix formatting, bump library version
Also drop unused `_assets/ci/validate-vendor.sh` script.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-08-20 09:40:22 +02:00
Richard Ramos 61e20dd2e8 chore_: bump go-waku 2024-08-19 22:19:17 -04:00
kaichaosun 258652b0dd chore_: fix tests 2024-08-19 15:16:42 -04:00
kaichaosun b32816a704 chore_: refactor with sender api 2024-08-19 15:16:42 -04:00
Igor Sirotin ef85895f65
fix_: pass proper version to params (#5735)
* fix_: pass proper version to params

* fix_: use --dirty flag

* fix_: delete version_test

* fix_: pass proper version to artifacts
2024-08-19 16:47:11 +01:00
Igor Sirotin ab675a2c99
fix_: disable libp2p logs in prod (#5740) 2024-08-19 12:58:21 +01:00
Sale Djenic 759034ec7a fix_: crash when selected token cannot be found is fixed 2024-08-19 09:59:18 +02:00
Sale Djenic 2f08c4c6f9 fix_: crash sending collectibles fixed
When mapping `MultipathProcessorTxArgs` to `ProcessorInputParams` setting `FromChain` was missed.
2024-08-19 09:59:18 +02:00
Andrea Maria Piana 97f4c6e3df feat_: Flush hystrix on going back online
When going offline, all the rpc calls fail making hystrix open all the
circuits.
This commit changes the behavior so that when we go back online, we
close all the circuits.
We should also avoid making rpc requests while offline, but this should
work for release.
2024-08-16 19:52:48 +01:00
richΛrd a6645bd209
chore_: remove `status.test` fleet (#5702) 2024-08-16 14:26:35 -04:00
richΛrd 4aa51f9882
fix_: wait for mailserver available signal to change missing messages criteria (#5686) 2024-08-16 14:26:10 -04:00
richΛrd c02ebf957c
refactor_: use concrete datatypes instead of `string` (#5701) 2024-08-16 19:24:21 +01:00
frank 9cdfd6fb42
fix scheduler panic after quick stop (#5724)
* fix_: scheduler panic after quick stop

* test_: fix failed test TestScheduler_Enqueue_ValidateOrder
2024-08-16 21:16:29 +08:00
Andrea Maria Piana 9e5fa3f22c feat_: Cache GetWalletToken method and split circuits
This commits does a few things:

1) Adds cache of token amount to the GetWalletToken endpoint, used by
   mobile, in case the user is offline.

2) Split circuits by chain-id (when available) and by host+index when
   not

3) It makes GetWalletToken always refresh, as that's directed from an
   user action and we want to respect that. A cool down of 10s should be
   added in the future to avoid spamming.
2024-08-16 14:02:29 +01:00
richΛrd bb6d5f602b
chore_: fix `TestBasicWakuV2` (#5718) 2024-08-15 14:43:37 -04:00
Igor Sirotin 93bb77f303
chore_: change patch version to 0 when incrementing minor (#5719) 2024-08-15 18:36:52 +01:00
Igor Sirotin a00bf6977b
fix_: publish community periodically (#5709) (#5715)
* fix_: publish community at app start

* fix_: allow publishing community with same clock

* chore_: increase community publish interval to 24 hours
2024-08-15 16:49:08 +01:00
Samuel Hawksby-Robinson 0e882f1b97 feat(rpc_user_agent)_: Added application version to the RPC user client 2024-08-15 13:18:18 +01:00
Mikhail Rogachev c257874be9
chore(connector)_: Polish connector service (#5711) 2024-08-15 13:49:29 +02:00
Igor Sirotin f660be0daa
chore!: simplify local pairing API (#5643)
* chore!: switch to use CreateAccount, fix tests

* chore_: move GenerateInstallationID to multidevice

* chore!: clean up ReceiverConfig

* chore_: use DefaultKeystoreRelativePath

* chore_: cleanup

* fix_: import api

* chore_: lint fix

* chore_: remove unused import
2024-08-14 21:10:19 +01:00
Andrea Maria Piana 771f26210a Set BASE_BRANCH to develop if not defined 2024-08-14 19:55:09 +01:00
Andrea Maria Piana 0954a4ad13 feat!: drive proxy stage name from the client 2024-08-14 18:50:01 +00:00
Icaro Motta f837bb55c4
fix(wallet)_: pass loop var by value to goroutine (#5710) 2024-08-14 16:45:55 +01:00
Anthony Laibe 1287e5af14 fix_: Token cache usage
When fetch or cache, always return the cache
Do not save if the token is not being returns
Resolve connection map AFTER making the call
2024-08-14 13:18:58 +02:00
belalshehab 7ed92531c2 fix(wallet)_: Fix handling of remote image URLs in image processing
- Addressed the issue where remote image URLs failed to be processed due to local file handling restrictions.
    - Introduced `FetchAndStoreRemoteImage` to download and save remote images to a temporary file, enabling compatibility with existing processing functions.
    - Split the main image handling logic into smaller functions (`OpenAndDecodeImage`, `AdjustImage`) for better modularity and maintainability.
    - Updated `OpenAndAdjustImage` to use these new functions, ensuring a streamlined flow for both local and remote images.
    - Added cleanup steps for temporary files to prevent resource leaks.

    resolves: #15691
2024-08-14 12:50:10 +02:00
Igor Sirotin 130c995b92
chore_: remove logging identity images (#5708) 2024-08-14 10:32:17 +01:00
Samuel Hawksby-Robinson c97cedba9a feat(rpc-user-agent)_: Added user agent to upstream client 2024-08-13 13:52:14 +01:00
Samuel Hawksby-Robinson bb01332af9 feat(rpc_user_agent)_: Added OS conditioned agent naming 2024-08-13 13:52:14 +01:00
Samuel Hawksby-Robinson f022d9a477 feat(rpc_user_agent)_: Added User Agent to the authed rpc client 2024-08-13 13:52:14 +01:00
Igor Sirotin dd443b030d
fix(commit_check)_: use proper base branch (#5700) 2024-08-13 10:58:48 +01:00
Mikhail Rogachev be9ba7604b
feat(connector)_: impl `personal_sign` endpoint (#5681) 2024-08-13 11:11:24 +02:00
Prem Chaitanya Prathi c08dedb77d
fix_: add ticker to check peers and update connection status (#5682) 2024-08-13 13:58:18 +05:30