Commit Graph

3959 Commits

Author SHA1 Message Date
Patryk Osmaczko 71f2d63a71 refactor_: simplify EnvelopesMonitor 2023-11-24 17:41:52 +01:00
Pablo Lopez e9c9bbb7b1
Adding store wakuv2 test (#4340)
* chore: wip tests

* chore: wakuv2 store test

* chore: cleanup

* chore: cleanup

* chore: avoid using sleep in test

* cleanup
2023-11-24 10:13:26 +00:00
Stefan a855f9e3e8 feat(wallet) WalletConnect: track pairings in DB
Add new APIs to track if valid pairings are available to be used
by application not to run WalletConnect SDK if not needed.

Closes status-desktop: #12794
2023-11-24 09:44:27 +01:00
Jonathan Rainville b7acde0910
fix(message_persistence): set from in quoted message even when deleted (#4354)
Needed for https://github.com/status-im/status-desktop/issues/12785
2023-11-23 13:07:42 -05:00
Mykhailo Prakhov 5cd20ded4e
chore: fix sending request to join msg's to the new owner (#4371) 2023-11-23 16:58:43 +01:00
Richard Ramos 8e0621d1b1 chore: add cluster_id to DB, move clusterID to config file and load clusterID when switching fleets 2023-11-23 11:16:50 -04:00
Prem Chaitanya Prathi f622265679 chore: fix linter error 2023-11-23 11:16:50 -04:00
Prem Chaitanya Prathi 9510ad0f5d fix: specify clusterid as 16 when using sharding fleet so that metadata proto negotiation doesn't fail 2023-11-23 11:16:50 -04:00
Richard Ramos d198ac63fc fix: find free port for torrent 2023-11-22 16:41:27 -04:00
Richard Ramos 40c9ba82a5 fix(wakuv2): store query pubsubTopic 2023-11-22 14:02:50 -04:00
Anton Iakimov e67bee6e7b
fix: nightly test runs timeout (#4358)
Need to multiply 30m by test runs to make sure it fill be enough.
2023-11-22 17:48:04 +01:00
Anton Iakimov c62957f621
feat: publish test_stats report (#4349)
Let's publish test_stats as a Jenkins report instead of printing to the
build log.
2023-11-22 11:37:05 +01:00
Sale Djenic 5e2af9e4fa feat(walletconnect)_: support the tx and personal signing from within the app or keycard 2023-11-22 09:46:50 +01:00
Sale Djenic 5555f98dd5 chore(accounts)_: added two convenient functions to accounts
- `IsWalletNonWatchOnlyAccount`
- `IsWalletAccountReadyForTransaction`
2023-11-22 09:46:50 +01:00
Sale Djenic e9f11f70dd chore(wallet)_: proper release of locked nonce (unlock function call) 2023-11-22 09:46:50 +01:00
Dario Gabriel Lipicar 03cdb49c4c feat: enable support for Arbitrum Sepolia in Opensea 2023-11-21 16:20:05 -03:00
Dario Gabriel Lipicar 00f412e4ac feat: enable support for Arbitrum Sepolia in Alchemy 2023-11-21 16:20:05 -03:00
Dario Gabriel Lipicar 14a8df8948 feat: support alchemy sepolia api keys 2023-11-21 16:20:05 -03:00
Patryk Osmaczko b9c6f5a834 chore: add integration test for messages tracking 2023-11-21 18:03:06 +01:00
Anton Iakimov d1a9ad599c
feat: detect flaky tests
This reverts commit f12803ec95.
2023-11-21 17:03:37 +01:00
Anton Iakimov f12803ec95
Revert "feat: detect flaky tests"
There are signs that test runs became unstable.
Might be related to this commit.

This reverts commit 9f168eacea.
2023-11-21 16:34:43 +01:00
Patryk Osmaczko bddc48f265 fix: allocate space for hashes instead of creation
Otherwise hashes would be twice in size and messages tracking
wouldn't work.
2023-11-20 21:26:19 +01:00
Anton Iakimov 9f168eacea
feat: detect flaky tests 2023-11-20 15:08:51 +01:00
Jakub Sokołowski 47d21cb888
makefile: fix linking Git hooks on MacOS
Otherwise it results in:
```
ln: illegal option -- r
```
Because MacOS tools are such garbage they lack basic features.
And get absolute path of the `Makefile` location to work regardless ofr
from where the `Makefile` is called.

Alos renamed `AUTHOR` to `GIT_AUTHOR` to reflect source.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-11-20 09:34:59 +01:00
frank 3140a0bc53
local pair: check netIPs if empty before find server cert (#4333) 2023-11-20 13:15:59 +08:00
Richard Ramos c012f94681 fix: send request on non protected topics, and add missing shard information on invite 2023-11-18 12:12:06 -04:00
Patryk Osmaczko 4a9220bf96 refactor: eliminate datasync initialization logic duplication 2023-11-18 15:37:54 +01:00
Patryk Osmaczko 7b3013a010 chore: remove message chunking from datasync
It was redundant to recently introduced messages segmentation layer.
2023-11-18 15:37:54 +01:00
Vitaly Vlasov 1794b93c16 Always set PubsubTopic in filters 2023-11-18 02:26:34 +02:00
Dario Gabriel Lipicar c88ab45d76 fix: pass context in FindOrCreateTokenByAddress 2023-11-17 16:17:50 -03:00
Dario Gabriel Lipicar 5933376eda feat: unify collectibles struct 2023-11-17 16:17:50 -03:00
Dario Gabriel Lipicar 6f84207d3a feat: allow specifying fetch criteria for owned collectibles 2023-11-17 16:17:50 -03:00
Dario Gabriel Lipicar 823fe76fc3 feat: allow different data types in collectibles requests 2023-11-17 16:17:50 -03:00
Richard Ramos d2578bf0cb fix: reset context on stop 2023-11-17 13:37:41 -04:00
Richard Ramos 28160fe4f7 fix: memory aliasing in loop 2023-11-17 13:37:41 -04:00
Richard Ramos 573a97791e fix: start idService and add wg.Done to fnApply 2023-11-17 13:37:41 -04:00
Richard Ramos 89385cfcaf fix(waku2): use a cancelable context for initial bootnode discovery 2023-11-17 13:37:41 -04:00
Dario Gabriel Lipicar a51f8aa13c feat: backoff wallet community fetches after a failure 2023-11-17 10:35:30 -03:00
Dario Gabriel Lipicar e17d4606b1 fix: implement cancellable collectibles requests 2023-11-17 10:35:30 -03:00
Igor Sirotin 2fef9a8f8f
feat: new `GetTextURLsToUnfurl` endpoint which extends GetURLs (#4294) 2023-11-17 13:32:37 +00:00
Boris Melnik 4ae9c02e57
fix(discord): Handle multiple channels with the same name (#4313) 2023-11-17 16:18:18 +03:00
Andrea Maria Piana 7b752ac34c Allow to set fleet 2023-11-17 12:23:54 +00:00
Dario Gabriel Lipicar 92a604f471 fix: fix alchemy collectible traits parsing 2023-11-16 15:49:13 -03:00
Patryk Osmaczko 2c55b9c676 feat: cache curated communities in db
closes: status-im/status-desktop#12277
2023-11-16 17:21:28 +01:00
Patryk Osmaczko 5b51c32a4a refactor: extract messenger_curated_communities.go 2023-11-16 17:21:28 +01:00
Anthony Laibe cd03dd949e fix: send erc20 2023-11-16 13:40:04 +01:00
Ivan Belyakov f4fc0ea324 feat(wallet): remove old OnDemand transfer fetch strategy as it not
functional and not maintained any more and we will work on improvement
of SequentialFetchStrategy
2023-11-16 12:59:47 +01:00
Patryk Osmaczko dd5e45d81c chore: delay message segments cleanup loop execution 2023-11-16 10:54:00 +01:00
Ivan Belyakov b6ade53603 feat(wallet): detect ERC1155 batch transfers.
Refactored transfers loading to reduce blockchain RPC requests (getBaseFee, getTransaction,
getTransactionReceipt) by reusing preloaded transaction and block fee.
Split extraction of subtransaction from logs and from ETH transfer into
different methods.
Refactored log_parser to extract sender and receiver addresses
uniformly for different transfer types.
Replaced info logs with debug where needed.

closes #4221
2023-11-16 09:37:09 +01:00
Patryk Osmaczko d04f99d56d chore: cleanup message segments
closes: #4297
2023-11-15 16:52:35 +01:00