5321 Commits

Author SHA1 Message Date
Sale Djenic
f3723dbff2 chore(communities)!: rename communitytokensv2 package to communitytokens
This is a breaking change which renames `communitytokensv2` package to `communitytokens`.
2025-01-27 11:26:42 +01:00
Sale Djenic
0862116517 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-27 11:26:42 +01:00
Sale Djenic
e958ef0201 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-27 11:26:07 +01:00
Sale Djenic
68b2baea79 chore(community)_: duplicated community tokens package 2025-01-27 11:25:26 +01:00
Sale Djenic
3411914cbb 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-27 11:24:37 +01:00
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
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