5293 Commits

Author SHA1 Message Date
Andrey Bocharnikov
a8959b8109 fix_: issue from the PR
* updated endpoints, see https://docs.grove.city/grove-api/getting-started/chain-endpoints
2025-01-14 14:44:43 +04:00
Andrey Bocharnikov
7de2670f54 fix_: issue from the PR 2025-01-14 14:28:48 +04:00
Andrey Bocharnikov
4113fea80f fix_: add SetChainUserRpcProviders and SetChainEnabled API 2025-01-14 14:06:52 +04:00
Andrey Bocharnikov
c6a8ce6417 fix_: token auth 2025-01-14 14:06:52 +04:00
Andrey Bocharnikov
2dfc9c3594 fix_: add gofakeit creds 2025-01-14 14:06:52 +04:00
Andrey Bocharnikov
f57ff43ed1 feat(config)_: Do not store embedded RPC provider credentials in the DB
* +tests
2025-01-14 14:06:52 +04:00
Andrey Bocharnikov
27a5515df7 feat(config)_: Do not store embedded RPC provider credentials in the DB
* add method to make a deepcopy of a network + tests
* improved logging
* improved memory allocation
2025-01-14 14:06:52 +04:00
Andrey Bocharnikov
593cdc0314 chore(config)_: Integration of new RPC Provider configurations
* default_networks.go
  * explicit provider initialization with more granular config (rps limiter, order)
  * token overrides made more flexible, support not only infura and grove
* get_status_node.go
  * override status-proxy auth instead of passing override config to rpc/client.go
* config.go
  * ProviderConfig removed
* client.go
  * Now any provider can be enabled/disabled (if user wants to use only his custom RPC urls)
  * Use bearer auth instead of URL auth
  * Provider order is defined by default_networks.go
2025-01-14 14:06:52 +04:00
Siddarth Kumar
dfe65c6f06 ci_: upgrade nix to 2.24.10 2025-01-14 09:44:38 +05:30
Patryk Osmaczko
ca92f67014 chore_: rename waku package to wakuv1
This is to free the `waku` namespace for interfaces and types that will
be moved from `eth-node`.
2025-01-13 18:55:01 +01:00
fbarbu15
98e64838e2
test_: Test reliability workflow (#6236)
* test_: add test reliability workflow

* test_: run docker detached

* test_: run inside tests functional

* test_: fix pytest config

* test_: fix test

* test_: add allure reporting

* test_: add allure reporting

* test_: add allure reporting

* test_: use PAT

* test_: use PAT

* test_: test pat

* test_: always create reports

* test_: use dedicated repo

* test_: remove unneeded step

* test_: remove on push

* test_: add nightly job
2025-01-13 12:57:23 +02:00
Andrey Bocharnikov
e9abf1662d
chore(config)_: rpc providers configuration (#6151)
* chore(config)_: extract rpc_provider_persistence + tests

* Add rpc_providers table, migration
* add RpcProvider type
* deprecate old rpc fields in networks, add RpcProviders list
* add persistence packages for rpc_providers, networks
* Tests
2025-01-11 02:02:09 +04:00
Jonathan Rainville
90ce72a2d5
fix(backup)_: dont generate a CR if the synced contact is mutual (#6184)
Fixes https://github.com/status-im/status-desktop/issues/15849

The problem was that we generated a "fake" contact request for all synced contacts.
While it's true that even mutual contacts have a contact request, we don't need it anymore once mutual and since we don't sync messages, we had to generate it with a default message and that message looked very out of place after a recovery.
2025-01-10 14:43:48 -05:00
Prem Chaitanya Prathi
f2f32c42b0
fix_: handle network change by resubscribing waku filters (#6232) 2025-01-10 23:19:21 +05:30
Patryk Osmaczko
4faaa3e55f chore_: remove legacy Whisper interface 2025-01-10 07:23:48 +01:00
Sale Djenic
73aadcbcaf test(wallet)_: added tests for selecting custom fees and setting custom tx props 2025-01-08 17:22:50 +01:00
Sale Djenic
b91c5fd29c feat(wallet)!: allowing client to set custom values for fees, nonce, gas
Removed properties from `Path` type:
- `MaxFeesPerGas`, based on the sending flow progress appropriate new properties (`TxMaxFeesPerGas`, `ApprovalMaxFeesPerGas`) should be used

Added new properties to `Path` type:
- `RouterInputParamsUuid`, used to identify from which router input params this path was created
- `TxNonce`, used to set nonce for the tx
- `TxMaxFeesPerGas`, used to set max fees per gas for the tx
- `TxEstimatedTime`, used to estimate time for executing the tx
- `ApprovalTxNonce`, used to set nonce for the approval tx
- `ApprovalTxMaxFeesPerGas`, used to set max fees per gas for the approval tx
- `ApprovalTxEstimatedTime`, used to estimate time for executing the approval tx

New request types added:
- `PathTxCustomParams`, used to pass tx custom params from the client
- `PathTxIdentity`, used to uniquely identify path (tx) to which the custom params need to be applied

New endpoints added:
- `SetFeeMode` used to set fee mode (`GasFeeLow`, `GasFeeMedium` or `GasFeeHigh`)
- `SetCustomTxDetails` used to set custom fee mode (`SetCustomTxDetails`), if this mode is set, client needs to provide:
  - Max fees per gas
  - Max priority fee
  - Nonce
  - Gas amount
2025-01-08 17:22:50 +01:00
kaichao
4106224acb
chore_: bump go-waku for custom rate limit (#6233)
* chore_: bump go-waku for custom rate limit

* chore_: rosolve conflict
2025-01-08 09:16:04 +08:00
Jonathan Rainville
f7d73be2ed
feat(message)_: add PinnedBy to common.Message (#6226)
Needed for https://github.com/status-im/status-desktop/issues/16896

Having `PinnedBy`  directly in the Message object makes it way simpler in the client to know if a message is pinned. This saves us from having to keep a cache of the pinned messages and comparing all new messages.
2025-01-06 11:54:31 -05:00
frank
c84a35d384
fix(sha3)_: support hex string (#6216) (#6221) v8.1.0 2025-01-03 08:06:02 +08:00
Prem Chaitanya Prathi
a4e36d49cd
fix_: missing message verifier start-stop ,go-waku updates, lightpush service rate limits (#5964) v8.0.0 2024-12-23 14:02:48 +05:30
fbarbu15
810468a57f
test_: create private group tests (#6225)
* test_: create private group tests

* test_: set privileged False for jenkins

* test_: run baseline tests in rpc suite

* test_: address review comments

* test_: address review comments
2024-12-20 13:08:11 +02:00
Igor Sirotin
0cf556bdb9
test_: unskip test initialize logging (#6229)
* test_: add option to get file from status-backend container

* feat_: automatically create dataDir and logsDir directories

* test_: unskip and update TestInitializeLogging

* fix_: parametrize test

* ci_: use ms precision for func tests docker project_name to

* chore_: rename to extract_data

* fix_: linter

* fix_: set timestamp in python as well
2024-12-19 14:18:40 +00:00
Igor Sirotin
b803918c2b
ci_: pytest-lint correct target pr branch (#6230)
* ci_: pytest-lint correct target pr branch

* fix_: format issues
2024-12-19 12:07:40 +00:00
Jonathan Rainville
d291204473
chore(block)!: remove desktop BlockContact function for parity (#6172)
Needed for https://github.com/status-im/status-desktop/issues/16640

In Desktop, we still used a "forked" version of the BlockContact function that had as differences that it didn't leave the chat nor delete the messages.

However, we want to have parity now and those features, so it makes no sense to use a different function.

This is a breaking change because it removes an API, but I took care of removing the use of that function in the Desktop app and Mobile never used it, so it's an inoffensive breaking change.

Additionally, I added the notifications to the messenger response.
2024-12-17 12:15:56 -05:00
Igor Sirotin
309d17ae5b
feat_: status-backend health endpoint (#6201)
* feat_: status-backend health endpoint

* test_: health check

* test_: use health endpoint from python
2024-12-17 15:37:53 +00:00
Anton Danchenko
6a5623bac6
test_: set proxy creds (#6211) 2024-12-17 12:34:19 +01:00
Igor Sirotin
2172abe953
fix_: add infuraSecret and statusProxyBlockchainPassword to secrets (#6217) 2024-12-17 09:41:56 +00:00
Igor Sirotin
0f7c26dc9d
test_: skip flaky TestService_IncrementalUpdateMixed (#6205) 2024-12-16 20:33:46 +00:00
frank
75bdda2712
fix_: correct sensitive regex (#6188) 2024-12-16 19:58:15 +00:00
fbarbu15
08eee8a647
test_: add python linters (#6212)
* test_: add python linters

* test_: add python linters

* test_: add python linters

* test_: add python linters

* test_: enabled pyright typeCheckingMode

* test_: enabled pyright typeCheckingMode
2024-12-16 12:38:24 +02:00
Igor Sirotin
66850321ef
fix_: remove logging of rpc endpoint (#6195) 2024-12-14 23:00:25 +00:00
Sale Djenic
c27c773c27 chore(wallet)_: from and to chains added to send details
From and to chains added to SendDetails type that can be used on the client side if the sending fails
that we can display appropriate ephemeral notifications, saying sending from which chain has failed.
2024-12-13 15:45:45 +01:00
fbarbu15
74db631435
test_: contact requests tests (#6167)
test_: fewer nodes for multiple_contact_requests test

test_: fewer nodes for multiple_contact_requests test

test_: skip multiple_contact_requests test

test_: address review comments

test_: check messages just in event/messages

test_: get expected message by content type

test_: address review comments
2024-12-12 21:31:00 +02:00
Jonathan Rainville
5a8310d5a7
fix(pins)_: delete pins when the og message is deleted (#6173)
Found when fixing https://github.com/status-im/status-desktop/issues/16639

When a message is deleted, we need to delete the pins too as they are no longer available. This was done using an ON DELETE clause (thanks @osmaczko)
I also made sure the SELECT query for the pins doesn't return deleted messages
2024-12-12 13:18:40 -05:00
Igor Sirotin
137698e022
ci_: bring back cmd coverage (#6204)
* ci_: bring back cmd coverage

* fix_: update jenkinsfile
2024-12-12 15:51:57 +00:00
Anton Danchenko
1795620df0
test_: run functional tests on host (no container) (#6159)
* test_: run on host
2024-12-12 13:45:21 +01:00
Igor Sirotin
ef177c1c63
feat_: SensitiveString type (#6190)
* feat_: SensitiveString type

* chore_: New by value, remove SetValue, add IsEmpty

* feat_: export RedactionPlaceholder

* fix_: MarshalJSON by value

* fix_: method receivers

* fix_: linter
2024-12-11 14:07:34 +00:00
Igor Sirotin
8b95c81488
feat_: graceful shutdown with status-backend (#6189)
* fix_: graceful shutdown node in status-backend

* fix_: function doc
2024-12-10 19:58:30 +00:00
frank
e6c2f89f03
chore_: remove endpoint InitLogging (#6182) 2024-12-10 09:19:08 +08:00
Igor Sirotin
4ccb08f11d
test_: WalletService class (#6171) 2024-12-09 12:18:34 +00:00
Igor Sirotin
943ae13358
fix(functional-tests)_: disable testnet (#6181) 2024-12-09 11:41:50 +00:00
Igor Sirotin
616a760985
feat_: api logging signals (#6150)
* feat_: api logging signals

* fix_: proper marshal any type

* fix_: linter

* chore_: rename to redactionPlaceholder
2024-12-07 14:46:57 +00:00
Igor Sirotin
dfb591874a
fix_: check group error in GetBalancesAtByChain (#6169)
* fix_: check group error in GetBalancesAtByChain

* fix_: properly wrap error

* test_: FetchBalancesForChain check error
2024-12-07 12:10:38 +00:00
Igor Sirotin
3a0080281f
fix_: create/restore account error signal (#6174)
* fix_: publish node.login signal with error

* test_: use node.login signal instead of node.ready
2024-12-06 20:45:28 +00:00
Arseniy Klempner
e7cc535292
feat(telem)_: track total waku message bandwidth (#6157) 2024-12-06 10:47:51 -08:00
richΛrd
d07e61f615
fix_: nil *MessengerResponse is a valid result (#6175) v7.1.0 2024-12-06 09:16:54 -05:00
frank
55befd839e
fix_: no peers available supporting LightPush protocol after network restored from disabled state (#6153)
Fix:

- https://github.com/status-im/status-mobile/issues/21452
- https://github.com/status-im/status-mobile/issues/21394

Might also fix part (missing messages) of https://github.com/status-im/status-mobile/issues/21172

Related mobile PR https://github.com/status-im/status-mobile/pull/21730
v7.0.0
2024-12-06 10:22:55 -03:00
Brian Sztamfater
9a94a82fd6
fix!: add forceRefresh parameter to FetchOrGetCachedWalletBalances endpoint (#6160)
Signed-off-by: Brian Sztamfater <brian@status.im>
2024-12-06 09:48:12 -03:00
Sale Djenic
5d75731a6d fix(alias)_: fixed runtime error: slice bounds out of range [2:0] caused crash 2024-12-06 13:35:18 +01:00