5328 Commits

Author SHA1 Message Date
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
Dario Gabriel Lipicar
4a5a3387af fix_: guard against malformed tokenID in router 2025-01-14 09:50:36 -03: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