5336 Commits

Author SHA1 Message Date
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
Samuel Hawksby-Robinson
60f1305817 docs(policy)_: Added the Policy Overrides section 2025-01-22 15:12:34 +00:00
Samuel Hawksby-Robinson
31baf2b892 docs(policy)_: Changes to closely follow the ADR standard 2025-01-22 15:12:34 +00:00
Samuel Hawksby-Robinson
6eac29c542 docs(policy)_: Rewrote 'community' to be 'contributors'
Additionally I've inserted line breaks at 60 - 75 chars per line.
2025-01-22 15:12:34 +00:00
Samuel Hawksby-Robinson
d83e4ab9ce docs(policy)_: Addressed first lot of feedback 2025-01-22 15:12:34 +00:00
Samuel Hawksby-Robinson
c5ca78a0ae docs(policy)_: Added README.md to _docs/policies 2025-01-22 15:12:34 +00:00
Samuel Hawksby-Robinson
1e00f681f5 docs(policy)_: Renamed file to conform to policy 2025-01-22 15:12:34 +00:00
Samuel Hawksby-Robinson
30387245a4 docs(policy)_: Addressed feedback from status-go guild 2025-01-22 15:12:34 +00:00
Samuel Hawksby-Robinson
67b1430c7f docs(policy)_: Introduction of policy zero 2025-01-22 15:12:34 +00:00
Jonathan Rainville
3e0b1b2730
chore(onbaording)_: enable creating accounts without a displayName (#6242) 2025-01-21 13:29:19 -05:00
Mohsen
9beefed89c
fix_: enable mercuryo providor (#6250) v9.2.0 2025-01-21 20:07:27 +03:00
Patryk Osmaczko
69855f2e36 chore_: remove waku api wrappers 2025-01-21 14:31:27 +01:00
Patryk Osmaczko
b2bb680ccc chore_: remove waku's Message duplication 2025-01-21 08:20:18 +01:00
Patryk Osmaczko
e78a612c37 chore_: remove waku's Criteria duplication 2025-01-21 08:20:18 +01:00
Patryk Osmaczko
c3c9d0f454 chore_: remove waku's NewMessage duplication 2025-01-21 08:20:18 +01:00
Jonathan Rainville
495ecb3f05
fix(pins)_: remove pins when the og message is deleted (#6231)
Fixes #6246
2025-01-20 13:19:16 -05:00
Brian Sztamfater
27ad41ba8f
feat_: integrate base chain (#6228)
* feat_: integrate base chain

Signed-off-by: Brian Sztamfater <brian@status.im>
Co-authored-by: Dario Gabriel Lipicar <dario@status.im>
v9.1.0
2025-01-20 12:12:11 -03:00
Prem Chaitanya Prathi
40b4ae4a06
feat_: phase-1 of use single content-topic for all community chats (#5864) 2025-01-20 19:29:59 +05:30
Sean Hagstrom
e6738e5343
fix_: ensure generated identity-images have a valid clock value (#6239)
This changes updates the logic for generating identity-images to populate the `clock` value instead of initialising with zero. This change also updates the identity-image url format functions to include the `clock` value in the returned url so clients can rely on that url for triggering refetches of identity images when they've been updated.
v9.0.0
2025-01-18 04:56:04 +00:00
Sale Djenic
bb7b1f246d chore(wallet)_: unused getBaseFee function removed from fee manager 2025-01-17 12:04:06 +01:00
Sale Djenic
90f4740add feat(wallet)_: added suggested min and max priority fee and current base fee for the path
- `Path` type extended with the following fields:
  - `SuggestedMinPriorityFee`, suggested min priority fee by the network
  - `SuggestedMaxPriorityFee`, suggested max priority fee by the network
  - `CurrentBaseFee`, current network base fee

- The following wallet api endpoints marked as deprecated:
  - `GetSuggestedFees`
  - `GetTransactionEstimatedTime`
2025-01-17 12:04:06 +01:00
Patryk Osmaczko
67134d9811 chore_: move waku types out of eth-node 2025-01-17 10:14:54 +01:00