5357 Commits

Author SHA1 Message Date
flexsurfer
1bfb0cef02
fix_: normalize keycard password for pairing (#6340) v10.4.0 2025-02-18 12:01:24 +01:00
frank
0e94479457
fix_: bad node config migration (#6270) v10.3.0 2025-02-18 18:37:59 +08:00
Dario Gabriel Lipicar
b2cd7bd8d2 chore_: rebase fix 2025-02-17 14:38:25 -03:00
Dario Gabriel Lipicar
aae12af211 chore_: empty active networks change event 2025-02-17 14:38:25 -03:00
Dario Gabriel Lipicar
3dfa6bd3fa chore_: tests fix 2025-02-17 14:38:25 -03:00
Dario Gabriel Lipicar
8c29a0cc1b chore_: linter fix 2025-02-17 14:38:25 -03:00
Dario Gabriel Lipicar
88f506e669 feat(collectibles)_: use networks events watcher in collectibles service 2025-02-17 14:38:25 -03:00
Dario Gabriel Lipicar
78d05d74e9 chore(network)_: implement networks events 2025-02-17 14:38:25 -03:00
Dario Gabriel Lipicar
c862b563c0 feat(network)_: implement (de)activable networks 2025-02-17 14:38:25 -03:00
Andrey Bocharnikov
115fe9f73b
feat(rpc)_: integrate test.eth-rpc.status.im (#6329)
* feat(rpc)_: integrate test.eth-rpc.status.im

fixes #6327

* fix_: VerifyENSURL, VerifyTransactionURL initialization
* keep backward compatibility: restore support for the single-provider proxy
2025-02-17 18:54:32 +04:00
Siddarth Kumar
7e8a0bec00 chore_: upgrade go to 1.22
This commit:
- upgrades`go` to `1.22`
- modify `xcodewrapper` to latest version from `nixpkgs`
- bring in `gomobile` derivation with newer version.
- upgrade golangci-lint to `1.59.1` for `go` version `1.22` support https://github.com/golangci/golangci-lint/releases/tag/v1.59.1
  -  make few exceptions incase of db queries for `gosec`
v10.2.0
2025-02-17 19:33:45 +05:30
Anton Danchenko
0ac0afc251
test_: use foundry:v0.3.0 (#6348) 2025-02-17 13:34:03 +01:00
Mohamed Javid
b6b2597457
feat(wallet)_: Add base chain support to on ramp (#6343)
This commit adds Base chain support to on-ramp providers

Signed-off-by: Mohamed Javid <19339952+smohamedjavid@users.noreply.github.com>
2025-02-14 18:31:41 +05:30
frank
747f73e6b1
fix_: handle missing columns 'connector_enabled' and 'log_namespaces' (#6248) 2025-02-14 19:26:05 +08:00
fbarbu15
9e0956be1a
test_: test rate limiting (#6332) 2025-02-14 13:29:53 +03:00
Sale Djenic
088e351f28 fix(wallet)_: applied custom tx changes to the path
Before this change, custom parameters were applied only after the next fee update, now they will
be updated appropriately and immediately.
v10.1.0
2025-02-13 21:42:48 +01:00
Sale Djenic
1e0afc5642 feat(wallet)_: additional properties added to the router's path for the needs of the custom tx settings part
The following properties are added to the `routes.Path`:
- `SuggestedTxNonce`
- `SuggestedTxGasAmount`
- `SuggestedApprovalTxNonce`
- `SuggestedApprovalGasAmount`
- `TxGasFeeMode`
- `ApprovalGasFeeMode`
2025-02-13 21:42:48 +01:00
Yevheniia Berdnyk
157d6eb1bd
test_: activity center notifications (#6337)
* test_: activity center notifications

* test_: small fix

* test_: changes according to review
2025-02-12 19:31:35 +02:00
Igor Sirotin
3e435221ce
chore_: LoginAccount simplifications (#6338)
* fix(LoginAccount)_: ensure Mnemonic key uid matches the given account

* fix(LoginAccount)_: get KDF Iterations number from multiaccounts db
2025-02-12 17:21:26 +03:00
Igor Sirotin
45adccdcf9
ci_: set github codeowners for github workflows (#6290)
* ci_: set github codeowners for github workflows

* ci_: also add security team
2025-02-12 13:40:37 +03:00
Yevheniia Berdnyk
735b574149
test_: message reactions test (#6335)
* test_: message reactions test

* test_: linting

* test_: privileged/unprivileged notes
2025-02-11 18:01:38 +02:00
Anton Danchenko
cd1c0847c8
test_: bring back messaging tests for functional check, added light client messaging (#6321)
* test_: bring back messaging tests
2025-02-11 15:22:16 +01:00
Churikova Tetiana
c099460794 test_: add tests for wakuext_SavedAddress 2025-02-11 12:36:07 +01:00
Churikova Tetiana
17765b0c3e test_: add tests about wakuext_SavedAddress 2025-02-11 12:36:07 +01:00
fbarbu15
848b411b72
test_: community messages (#6294)
* test_: community messages

* test_: fix content type

* test_: reusable community_messages
2025-02-06 17:32:24 +02:00
Jonathan Rainville
0526d1878a
feat(onboarding)_: add a notification when importing old account (#6255)
* feat(onboarding)_: add a notification when importing old account

Needed for https://github.com/status-im/status-desktop/issues/17028

When a user imports an old account, we start fetching the backups. Now, we show an activity center notification to let the user know, because the onboarding doesn't block during the fetching anymore, so it happens in the background.

After a timeout, the notification turns into a failure state (full or partial). The user can then restart the fetching.

I added a test to validate the logic of calculating if the fetching was a success. That logic used to be in Nim.

* fix_: address pr comments

* fix: proper cancel backupFetchingTimeout

---------

Co-authored-by: Igor Sirotin <sirotin@status.im>
2025-02-05 14:26:38 +00:00
Dario Gabriel Lipicar
712fc661b7 fix_: fix migration script check when multiple files are added in a single branch 2025-02-04 16:10:59 -03:00
osmaczko
ddc12ae248
chore_: remove wakuv1 and wakuv2 wrappers (#6273) 2025-02-04 19:09:31 +00:00
fbarbu15
e109ec1db6
test_: Test private chat messages (#6259)
* test_: private chat messages

* test_: fix

* test_: apply network conditions

* test_: fix low bandwidth command

* test_: unskip remaining tests

* test_: fix test name

* test_: run tests in parallel

* test_: fix deps

* test_: remove dependencies

* test_: unique container name

* test_: increase port range

* test_: fix container cleanup

* test_: prepare for code review

* test_: debug rpc tests

* test_: debug rpc tests

* test_: revert port change to test failures

* test_: try larger port

* test_: address code review

* test_: port checks

* test_: add missing newline

* test_: cleanup all containers

* test_: fix pylint
2025-02-03 13:24:08 +02:00
Sale Djenic
c4dca62c4b chore(wallet)_: use proxy instead of OVM_GasPriceOracle contract for estimating l1 fee
- A new contract is used for estimating L1 fee.
- New contract's addresses are known only for Optimims and Sepolia Optimimsm.
- Old contract and addresses per chain are kept so far, but not in use anymore.

Comparing to other wallets, seems L1 fee is added to the total fee only for the Optimims chain.
So we're doing the same in this commit, disabling L1 fees for other than the Optimism.
2025-01-31 21:11:27 +01:00
Sale Djenic
9957dd330c chore(wallet)_: adjusting fees calculation to get closer to MM values 2025-01-31 21:11:27 +01:00
Sale Djenic
55268de845 chore(wallet)_: include l1 fees info (for the tx and approval) in the response
While ago we've disabled l1 info cause the estimated L1 fees were significantly higher than they should have been
(if I remember well, the L1 fees were about 1000 times higher than they should have been).

From this point, that wrong value might be coming from unreliable pokt calls/values, these changes bring them back.
2025-01-31 21:11:27 +01:00
Andrey Bocharnikov
17adba689e
chore(config)_: integrate new rpc providers configs (#6178)
* 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

* Do not store embedded RPC provider credentials in the DB

* FIXME:  TestLoginAndMigrationsStillWorkWithExistingDesktopUser uses deprecated test data (with non-existing related_chain_id in networks table)
2025-01-31 18:12:07 +04:00
Brian Sztamfater
214cac9fa5
fix_: check if bridge for token exists in ToChainId before returning contract address for FromChainId (#6272)
Signed-off-by: Brian Sztamfater <brian@status.im>
v10.0.0
2025-01-30 18:55:15 -03:00
fbarbu15
9c887a6d87
test_: reactivate reliability workflow (#6280)
* test_: reactivate reliability workflow

* test_: reactivate reliability workflow

* test_: use foundry stable

* test_: remove test branch

* test_: run tests in parallel

* test_: fix zizmor warnings and test it

* test_: remove on push
2025-01-30 16:04:30 +02:00
Sale Djenic
a44d4143b4 chore(communities)!: rename communitytokensv2 package to communitytokens
This is a breaking change which renames `communitytokensv2` package to `communitytokens`.
2025-01-30 14:56:13 +01:00
Sale Djenic
07a9d9aa2f chore(communities)!: remove communitytokens package
This is a breaking change which removes `communitytokens` package.

This commit removes old `communitytokens` package, cause previously added `communitytokensv2` package,
which is in use now, will be renamed to `communitytokens` in next commit.
2025-01-30 14:56:13 +01:00
Sale Djenic
bf1ef87cc0 chore(wallet-community)_: move community transactions to the wallet router
- new file `contracts/community-tokens/contracts.go` added to unify contracts creation

- the following community related path processors added:
- `CommunityBurnProcessor`
- `CommunityDeployAssetsProcessor`
- `CommunityDeployCollectiblesProcessor`
- `CommunityDeployOwnerTokenProcessor`
- `CommunityMintTokensProcessor`
- `CommunityRemoteBurnProcessor`
- `CommunitySetSignerPubKeyProcessor`

- `SendType` extended with appropriate options

- added endpoints to duplicated `communitytokens` api:
- `StoreDeployedCollectibles`
- `StoreDeployedOwnerToken`
- `StoreDeployedAssets`

- removed endpoints from duplicated `communitytokens` api:
- `DeployCollectibles`
- `DeployOwnerToken`
- `ReTrackOwnerTokenDeploymentTransaction`
- `DeployAssets`
- `DeployCollectiblesEstimate`
- `DeployAssetsEstimate`
- `DeployOwnerTokenEstimate`
- `EstimateMintTokens`
- `EstimateRemoteBurn`
- `EstimateBurn`
- `EstimateSetSignerPubKey`
- `NewOwnerTokenInstance`
- `NewCommunityTokenDeployerInstance`
- `NewCommunityOwnerTokenRegistryInstance`
- `NewCollectiblesInstance`
- `NewAssetsInstance`
- `MintTokens`
- `RemoteBurn`
- `GetCollectiblesContractInstance`
- `GetAssetContractInstance`
- `Burn`
- `SetSignerPubKey`

- `Path` type extended with new property:
- `UsedContractAddress` - an address of the contract that will be used for the transaction
2025-01-30 14:56:13 +01:00
Sale Djenic
83b1b11c4c chore(community)_: duplicated community tokens package 2025-01-30 14:56:13 +01:00
Sale Djenic
d5517f8f5c chore(wallet)_: community deployment related types moved to wallet requests package
`DeploymentParameters` and `DeploymentDetails` types moved from `communitytokens` package
to `requests` of the wallet service.
2025-01-30 14:56:13 +01:00
Siddarth Kumar
c993c7f6f1 fix(tests)_: identify containers with BUILD_ID or git sha
This commit:
- updates both status docker container names to include short git sha locally and BUILD_ID on CI
- updates cleanup command to filter by identifier which could be either git sha or BUILD_ID
- updates the cleanup stage in `jenkins` file to remove docker container via this identifier

This approach is more reliable in cleaning up docker containers and was tested by me on linux-05
2025-01-29 16:41:31 +05:30
Siddarth Kumar
06d2419a25 fix_: path to version.sh used in go:generate v9.3.0 2025-01-24 22:30:13 +05:30
Lungu Cristian
e71fdbc63c
fix(suggested-fees)_: crash caused by null GasPrice (#6274)
* fix_: suggested fees crash caused by null GasPrice

* fix_: tests

---------

Co-authored-by: Andrey Bocharnikov <andrey.bocharnikov@gmail.com>
2025-01-24 16:10:22 +02:00
Samuel Hawksby-Robinson
7bb4cf10dd
fix(udp)_: fix for the TestUDPNotifier (#6281)
* fix(udp)_: fix for the TestUDPNotifier

* fix_: udp notifier test condition

---------

Co-authored-by: Cristian Lungu <lungucristian95@gmail.com>
2025-01-24 14:21:08 +02:00
Igor Sirotin
e4d5622a34
ci_: temporarily change some workflows (#6277) 2025-01-23 13:00:25 +01:00
Samuel Hawksby-Robinson
5240da6a20 docs(policy)_: Addressed multiple feedback points from CCs 2025-01-22 15:12:34 +00:00
Samuel Hawksby-Robinson
4146c79d73 docs(policy)_: Addressed additional feedback on overrides 2025-01-22 15:12:34 +00:00
Samuel Hawksby-Robinson
44eae3392a docs(policy)_: Replaced section on enforcement with consensus
'4. Enforceability and Respect for Policies' with 'Upholding Policies Through Consensus'
2025-01-22 15:12:34 +00:00
Samuel Hawksby-Robinson
060bed5e73 docs(policy)_: Added CODEOWNERS to allow auto review requests 2025-01-22 15:12:34 +00:00
Samuel Hawksby-Robinson
071ee2119f docs(policy)_: Removed all other policies
We want a fresh start lets start with zero and together work up from there
2025-01-22 15:12:34 +00:00