Sale Djenic
4894808839
chore_: review comments applied (part1)
2024-05-18 00:00:23 +02:00
Sale Djenic
08fef4afde
chore_: the router implementation simplification
2024-05-18 00:00:23 +02:00
Sale Djenic
437ad499c8
chore_: `SendType` moved to another file
2024-05-18 00:00:23 +02:00
Jakub Sokołowski
c7397e18dd
chore(all)_: remove obsolete eth.staging fleet
...
And leftovers of `eth.test` fleet which no longer exists.
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-05-17 20:21:00 +02:00
Anton Iakimov
92ef58d420
chore_: drop wakuv2 fleets, use waku fleets
...
See https://github.com/status-im/infra-nim-waku/issues/91 for details.
Mostly done automatically. Some parts manually.
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-05-17 18:53:40 +02:00
Michal Iskierko
c3ab8bd658
feat_: add l1 transaction fee to community token contracts operations
...
Move estimation funtions to a estimations.go
Compute gas, suggested fees and l1 fee in one status-go call
Issue #14166
2024-05-17 09:57:03 +02:00
Michal Iskierko
574450289c
feat_: Move community tokens transaction listening to status-go
...
Use EventWatcher to catch wallet events.
Handling all community tokens wallet events in communitytokens service (database and messenger operations).
Adding new signal to nim: CommunityTokenTransactionSignal, which is emitted everytime when the event is received.
Issue #4351
2024-05-16 16:18:15 +02:00
Cuteivist
6b680f0722
feat_: Correct opt short names ( #5163 )
2024-05-16 16:01:30 +02:00
richΛrd
bc8b6d24f0
feat_: shards.staging fleet ( #5160 )
2024-05-15 20:09:28 -04:00
richΛrd
9e0fb30f8d
chore_: bump go-waku ( #5150 )
2024-05-15 19:15:00 -04:00
Sale Djenic
c9ee0e04c2
fix_: logic for checking if the route can be established updated
2024-05-15 17:36:28 +02:00
Ivan Belyakov
5be610e653
fix(wallet)_: reduce block range size for `eth_getLogs` request for
...
Sepolia
2024-05-15 17:24:06 +02:00
Ivan Belyakov
c0e922f0af
fix(wallet)_: fix crash on nil db for statusd if wallet is enabled
...
Fixed some other issues with prevented startup of statusd:
- ensure paths for DBs are created
- ensure DBs are opened before calling `StartNode`
- ignore error if multiacc database is not available
Updates #14693
2024-05-15 10:19:25 +02:00
Cuteivist
838311e902
fix_: Prioritize tokens on eth platform ( #5151 )
2024-05-15 07:33:12 +02:00
Khushboo-dev-cpp
867cd1f14b
feat(api)_: add api and functionality to get collection website and twitter handle from alchemy ( #5007 )
2024-05-14 08:58:08 +02:00
Jonathan Rainville
8f50b578d1
refactor(chat)_: remove concept of ChannelGroup and remove api functions ( #4997 )
...
For status-im/status-desktop#12595
2024-05-13 15:06:21 -04:00
Ivan Belyakov
3b6b38a414
chore(wallet)_: Fix tests after wallet api sign and send clean up
...
- Get rid of InsertTestMultiTransaction function in test utils and
use InsertMultiTransaction method of transaction manager
- Use MultiTransaction type instead of TestMultiTransaction
Added a missing wallet DB migration file for multi transactions
2024-05-09 18:11:58 +02:00
Ivan Belyakov
ed164e4ac5
chore(wallet)_: clean up wallet API send and sign transactions
2024-05-09 18:11:58 +02:00
Dario Gabriel Lipicar
8a0b7ddbb5
feat(wallet)_: switch rarible client to eth sepolia
2024-05-03 08:49:20 -03:00
Ivan Belyakov
12d2a1ac2d
fix(wallet)_: fixed crash when bridging and chain id not set
2024-04-26 09:45:40 +02:00
Cuteivist
eb1ed696f6
fix_: Fix timestamo integer cast ( #5092 )
2024-04-25 14:15:07 +02:00
Igor Sirotin
295685c1fe
fix_: skip tests using infura ( #5086 )
2024-04-24 16:41:42 +02:00
Siddarth Kumar
d6c4682479
chore_: bump go to 1.20 ( #5027 )
...
This commit attempts to upgrade go version to 1.20.12
This commit also removes the following items from lint checks :
* `goconst`
* `structcheck`
* `deadcode`
* `golint`
* `varcheck`
Mobile PR for QA purposes -> https://github.com/status-im/status-mobile/pull/19564
2024-04-18 18:48:02 +02:00
Andrey Bocharnikov
78db9054fc
fix_: Add contact to removeTrustStatus response ( #5058 )
...
* Split function for reseting trust status and verification+trust status
* Refactoring: extract setTrustStatusForContact, setContactVerificationStatus functions
* Tests
2024-04-18 19:28:44 +04:00
Ivan Belyakov
12deb23360
chore(wallet)_: removed all addresses parameter as redundant.
...
Instead we check directly if passed addresses are all wallet addresses that
we have in accounts DB.
2024-04-12 14:36:44 +02:00
Ivan Belyakov
a549529637
fix(wallet)_: balances were not updated for accounts not checked during
...
initial balance fetch, as cache was considered valid and in case
balance was previously stored in DB for this account, it was returned
though it was not up to date.
2024-04-11 19:29:55 +02:00
Patryk Osmaczko
759e5e5c7b
fix_: improve `fetchCommunityAssets` performance
...
fixes : #5038
2024-04-10 21:00:28 +02:00
Ibrahem Khalil
18cc3a16d5
Return request to join acceptance notifications ( #4909 )
2024-04-09 21:32:03 +02:00
Patryk Osmaczko
1ceb180e8a
fix: fetch community only when assets metadata is missing
...
fixes : status-im/status-desktop#14296
2024-04-09 10:51:21 -04:00
Cuteivist
d3d155a5b2
Added soulbound field for collectibles ( #5026 )
2024-04-09 16:16:20 +02:00
Anthony Laibe
6823870b01
fix: update ramp network link
...
fix: https://github.com/status-im/status-desktop/issues/14359
2024-04-09 11:39:37 +02:00
Sale Djenic
7b09ee073d
feat: swap via paraswap
2024-04-08 10:14:48 +02:00
Michal Iskierko
debc1485de
fix: omit l1GasFee in json
2024-04-07 20:58:17 +02:00
Stefan
9986125982
chore(wallet) minor improvement to matching transactions
...
Made while hunting for the hash used for matching ID madness.
Updates: #14071
2024-04-05 11:04:13 +02:00
Stefan
62405b4def
fix(wallet): activity duplicate in case of non-native transfer
...
The "hash" (a.k.a. ID) column was used for matching transfer entry which
works only for native transfers which have the `ID` same as hash.
Closes : #14071
2024-04-05 11:04:13 +02:00
Anthony Laibe
e1cd91fafe
Fix for erc20 transfer + other type of tx
...
This is 2 fix:
- ENS interaction + stickers don't need L1 fees as they are only executed on mainnet
- ERC20 data needs to be built when making the tx
2024-04-04 13:40:04 +02:00
yqrashawn
aa73a0512c
feat: add contact customization color ( #4869 )
2024-04-03 22:49:57 +08:00
Stefan
ef0e17e0f5
fix(wallet) fix erc721 transfer router
...
Changes
- Use token's contract address for `ERC1155TransferTxArgs.to` because it
is used as such later on.
- Extract Token ID from the symbol as we encoded and set the corresponding
value in the `ERC1155TransferTxArgs`.
- Set ChainID in `ERC1155TransferTxArgs`
Updates status-desktop #14212
2024-04-01 15:17:41 +02:00
Stefan
ff6fb81beb
fix(wallet) fix erc721 transfer router
...
Changes
Use token's contract address for `ERC721TransferTxArgs.to` because it
is used as such later on.
Extract Token ID from the symbol as we encoded and set the corresponding
value in the `ERC721TransferTxArgs`.
Set ChainID in `ERC721TransferTxArgs`
Fix wrong order of arguments in `BuildTx`.
Updates status-desktop #14212
2024-04-01 15:17:41 +02:00
Mikhail Rogachev
30e143ca40
Fix(Profile): Remove profile showcase from general response via signal ( #4982 )
...
* Fix(Profile): Remove profile showcase from general responce via signal
* Fix(Profile): Restore community membership validation for the prodile showcase
* feat: Make profile validation optional
* fix: review fixes
2024-03-29 11:22:44 +01:00
Sale Djenic
caf3de1190
feat: suggested derivation path endpoint added
2024-03-27 17:20:40 +01:00
Ivan Belyakov
e9a2f19c17
fix(wallet): cleanup multi_transactions table on account removed
...
Updates #4937
2024-03-27 14:54:30 +01:00
Ivan Belyakov
c21e6430a2
fix(wallet): cleanup token_balances table on account removed
...
Updates #4937
2024-03-27 14:54:30 +01:00
Ivan Belyakov
cc839ad7bc
fix(wallet): cleanup balance_history table on account removed
...
Updates #4937
2024-03-27 14:54:30 +01:00
Stefan
48af7a6f49
chore(wallet) remove unused multi-transaction-update event
...
A leftover after migrating to incremental activity updates session-based
We now use pending instead of `multi-transaction-update`, there is no
multi-transaction update without an equivalent pending or transfer update
2024-03-27 13:36:40 +01:00
Sale Djenic
98c3be55b9
feat: l1 gas price estimation when placing l2 transaction
2024-03-27 08:24:39 +01:00
Igor Sirotin
1a2880b365
Fix/community tags indices ( #4992 )
...
* fix: strict order of community tags
* make tags containers private
* fix RandomCommunityTags implementation
2024-03-26 20:02:12 +00:00
Cuteivist
2aa306ef4c
fix: Pass additional data when community token is received ( #4954 )
2024-03-25 18:30:59 +01:00
Roman Volosovskyi
8086b24a9e
Refresh balance cache on login ( #4950 )
2024-03-20 12:32:04 +01:00
Mykhailo Prakhov
ad342c8887
feat: get and delete community member messages API ( #4932 )
2024-03-19 20:44:49 +01:00
Dario Gabriel Lipicar
bcca75dc9d
feat(wallet): add EURC to the tokenstore
2024-03-19 12:56:15 -03:00
Michal Iskierko
8bf03609fc
feat: Add HideIfPermissionsNotMet to CommunityChat struct
...
Issue #13291
2024-03-18 15:01:29 +01:00
Dario Gabriel Lipicar
58b57b12a3
feat: implement search api
...
Issue #13921
2024-03-18 10:22:00 -03:00
Dario Gabriel Lipicar
6e5c91f2d7
fix(wallet): flaky test TestUpdateCollectiblesData
2024-03-18 10:05:46 -03:00
Ivan Belyakov
b0a0f078c4
feat(wallet): refactored collectibles manager using circuit breaker
...
Removed goerli from rarible and opt-goerli from alchemy clients as
not supported any more
2024-03-18 11:49:03 +01:00
Ivan Belyakov
224103d036
fix(wallet): crash on access nil block
2024-03-18 10:56:19 +01:00
Cuteivist
d35a73a94f
chore: Optimize number of sql calls ( #4928 )
2024-03-18 09:37:05 +01:00
Roman Volosovskyi
38183ab335
Fix balance cache on switching to testnet ( #4924 )
2024-03-15 13:37:00 +01:00
Ivan Belyakov
2c634a2b45
fix(wallet): flaky test TestUpdateCollectionsData
2024-03-15 13:35:32 +01:00
Cuteivist
afd72ace28
Chore: Remove fetching community data ( #4794 )
2024-03-13 17:33:01 +01:00
Sale Djenic
f69ee07593
fix: calculating next nonce for optimism chain improved to align with calculation on mainnet and arbitrum
2024-03-13 15:21:33 +01:00
Michal Iskierko
43bc6e4b83
fix: Compute deployment fees dynamically
...
Issue #13646
2024-03-12 20:05:25 +01:00
Jonathan Rainville
3da9abfeb5
fix: set canPost to true for non-community channels
2024-03-12 11:04:45 -04:00
Jonathan Rainville
e3810148d8
feat: add ViewersCanPostReactions to Chat object
...
Needed https://github.com/status-im/status-desktop/issues/13523
2024-03-12 11:04:45 -04:00
Roman Volosovskyi
2be9bfc304
Fix balances cache ( #4890 )
2024-03-11 14:48:40 +01:00
Anthony Laibe
2dfbe3099a
fix: swap and send to l1
2024-03-11 12:04:14 +01:00
Stefan
e1c7c715aa
fix(wallet): fix activity filter updates special case
...
This commit fixes a special case where the activity filter incremental
updates were reported as new even that they were present in a previous
update.
Updates status-desktop #12120
2024-03-11 09:37:05 +01:00
Mikhail Rogachev
6522d52016
Feat: Simplify profile showcase preferences ( #4854 )
...
* Feat: simplify profile showcase preferences
* Feat: remove old profile showcase preferences on save
* Feat: add getters for showcase entries limits
2024-03-08 17:20:23 +01:00
Dario Gabriel Lipicar
fcde7ccafe
fix: ensure no duplicate results when checking for missing collectible/collection ids in the db
2024-03-08 10:49:06 -03:00
Cuteivist
6c792a0e73
feat: Pass 1 day balance change ( #4858 )
2024-03-08 13:52:39 +01:00
Anthony Laibe
477283e960
fix: buying ens from sepolia
2024-03-08 09:43:26 +01:00
Roman Volosovskyi
6f753617de
[ #4774 ] Use findNewBlocksCommand for checking recent history ( #4795 )
2024-03-07 15:51:21 +01:00
Dario Gabriel Lipicar
4bf6f27b26
fix: handle collectibles owned by multiple accounts
2024-03-06 20:45:42 -03:00
Dario Gabriel Lipicar
55e8fd4554
fix: ensure atomic collectibles ownership updates
2024-03-06 20:45:42 -03:00
Dario Gabriel Lipicar
71377a50d7
feat: fetch collectibles balances
2024-03-06 20:45:42 -03:00
Sale Djenic
846a59b40f
chore: tokenstore details for usdc for sepolia and arbitrum sepolia updated
2024-03-06 19:38:35 +01:00
Khushboo-dev-cpp
580f697f57
fix: Fix send Erc 1155 flow ( #4865 )
2024-03-06 11:16:20 +01:00
Alexander
26bc564b38
Peer syncing toggle ( #4758 )
...
* Peer syncing toggle
* bindata.go
2024-03-05 11:44:09 +01:00
Ivan Belyakov
440779fc8c
fix: flaky test TestController_watchAccountChanges by making sure
...
to check the database transfer after removal event is processed.
2024-03-04 10:36:33 +01:00
Igor Sirotin
bdb2b261a6
feature: view only channel reactions ( #4820 )
...
* CommunityMember channel role
* make generate
2024-03-01 17:15:38 +00:00
Mikhail Rogachev
5d29c20f94
Feat: Add 'IsDisplayNameDupeOfCommunityMember' endpoint ( #4839 )
...
* feat: Add 'TestScanCommunitiesMembersForName' endpoint
* feat: validate display name amoung community members
2024-03-01 15:46:48 +03:00
Anthony Laibe
011a170a03
fix: dup tx
...
Remove duplicate gas only TX
Remove Send and Receive from self, only the send row is kept
2024-03-01 09:43:47 +01:00
Stefan
a63d33e04a
feat(wallet) process all the events and debounce updates
...
Process missing events
Throttle down downloader's events to avoid overloading the CPU with
change detection.
Updates status-desktop #12120
2024-02-29 17:06:40 +01:00
Stefan
eecde4c27f
feat(wallet) activity filter incremental updates on filter clear
...
Add an intermediary state to the session to keep track of the changes
made when the filter was applied.
Updates status-desktop #12120
2024-02-29 13:27:05 +01:00
Cuteivist
03b903fd64
feat: Pass community id for wallet activity ( #4757 )
2024-02-29 11:22:14 +01:00
Sale Djenic
bb3006d747
feat: rpc request limiter
2024-02-29 08:26:10 +01:00
Stefan
ae9b697eda
feat(wallet) implement mixed incremental updates for activity filter
...
Refactor the activity filter session API to account for the new structure
Also:
- Refactor test helpers to mock for different chains with mixed answers
- Test implementation
Updates status-desktop #12120
2024-02-28 22:14:21 +01:00
Mikhail Rogachev
577db512c6
Feat: add endpoint for getting latest pending CR for a contact ( #4819 )
2024-02-28 23:00:35 +03:00
Dario Gabriel Lipicar
9fef2d3558
fix: properly setup collectible providers exponential backoff
2024-02-27 18:26:55 -03:00
Patryk Osmaczko
1f42f2582a
Revert "Comment out all logged flaky tests"
...
This reverts commit 0bd4a06edc
.
2024-02-27 11:00:29 +01:00
Mikhail Rogachev
7cc4c12642
Feat: Add social links to the profile showcase ( #4775 )
...
* feat: add social links to the profile showcase
* fix: deprecate old social links, add synced profile showcase to response
2024-02-26 16:53:40 +03:00
Dario Gabriel Lipicar
54ea0981a5
fix: properly handle tokenID 0 when filtering activity by collectibles
2024-02-23 09:43:20 -03:00
Anthony Laibe
972a4f9df9
feat: sepolia default
2024-02-23 11:26:31 +01:00
Cuteivist
83678042f4
chore: Pass tx ID instead of hash ( #4769 )
2024-02-22 23:40:36 +01:00
Sale Djenic
0e8143db76
feat(savedaddresses): mixedcase address added to the saved address struct
2024-02-22 10:16:12 +01:00
Mikhail Rogachev
eb5bad4868
Feat: Profile showcase validate collectible ownership ( #4737 )
...
* feat: profile showcase checks then presenting collectibles
* chore: more obvious CollectiblesManager configuration
2024-02-22 11:08:58 +03:00
Anthony Laibe
0856efff6f
fix: resolve first tx of block
...
This is a workaround when fetching unknown tx without receiver
2024-02-21 13:28:26 +01:00
Pablo Lopez
3f19972c8e
enable custom community storenodes ( #4532 )
...
* enable custom community store nodes
* fix
* fix
* fix
* fix
* cleanup
* fix
* migration
* fix
* cleanup
* fix
* cleanup
* fix
* fix
* cleanup
* message to update the community storenodes
* rename
* fix test
* wait for availability only if global storenode
* fix test
* fix typo
* sync community storenodes
* remove unused
* add tests
* fix imports
* fix todo
* unused
* pr comments
* pr feedback
* revert merge deleted
* fix lint
* fix db and perform ms request
* typo
* fix log
* fix go imports
* refactor handle message
* cleanup public message
* add tests
* fix test
* cleanup test
* fix test
* avoid making one file to big to keep codeclimate from complaining
* fix lint
* revert
* Update protocol/storenodes/database.go
Co-authored-by: richΛrd <info@richardramos.me>
* Update protocol/messenger_mailserver_cycle.go
Co-authored-by: richΛrd <info@richardramos.me>
* PR comment
* fix tx
* proto files
* pr comment
---------
Co-authored-by: richΛrd <info@richardramos.me>
2024-02-20 17:49:39 +02:00
Roman Volosovskyi
cc708ce0ce
[ #4690 ] Nilable block range values for proper ranges management ( #4691 )
2024-02-19 16:50:07 +01:00
Cuteivist
a866b8025e
feat: Community token received notification ( #4682 )
2024-02-19 14:55:38 +01:00
Omar Basem
54d0cf28c7
feat: mobile status.go - getRandomMnemonic ( #4712 )
...
* feat: mobile status.go - getRandomMnemonic (#4712 )
2024-02-19 16:53:01 +04:00
Roman Volosovskyi
9e36df449e
Fix range for ERC20/1155/721 tx detection ( #4746 )
2024-02-19 11:50:03 +01:00
Igor Sirotin
85c0e282ae
feature: profile showcase preferences sync&backup ( #4729 )
2024-02-17 18:07:20 +00:00
Mohsen
8a3e71378f
feat: add setBio endpoint ( #4692 )
2024-02-16 15:57:41 +03:00
Igor Sirotin
789ee81201
fix: saved addresses sync (`TestSyncDeletesOfSavedAddresses` flaky test) ( #4742 )
2024-02-16 09:45:10 +00:00
Mikhail Rogachev
526e3d74f1
Feat: proof of membership for profile showcase communities ( #4713 )
...
* chore: move profile showcase structures to the indentity package
* feat: implement proof of membership for unecrypted communities
* feat: implement proof of membership for encrypted communties with grants
2024-02-15 22:13:12 +03:00
Dario Gabriel Lipicar
12d70e0ce4
fix: notify collectible data update when transferID is set
2024-02-15 12:05:07 -03:00
Roman Volosovskyi
7f6f8b3f7c
Add tokens metadata on FetchOrGetCachedWalletBalances call
2024-02-15 14:19:19 +01:00
Anthony Laibe
e0814a488f
feat: add sepolia token
2024-02-14 11:11:46 +01:00
Sale Djenic
598d58f0d6
fix: a proper clock set when dispatching saved addresses
2024-02-13 17:39:10 +01:00
Stefan
e9ff0fbefe
feat(wallet) add GetMoreForFilterSession API method
...
Also fix StopFilterSession to always notify client
Updates #12120
2024-02-13 17:37:44 +01:00
Jonathan Rainville
1c42c07760
feat(discord_import): send signal when the import was cleaned up ( #4693 )
...
This is to let the front end know that the community was deleted so it can also delete it from the UI
2024-02-12 16:04:12 -05:00
Stefan
ca973b4aa6
feat(wallet) use sql activity filter for incremental updates
...
Switch from the prototype of duplicating the SQL filter as a runtime
and keeping them in sync on each event that might invalidate the current
filtered entries to a simpler approach of requesting the filter again
and doing the diff to detect the new changes.
Also add a new reset API to model the new entries design requirements.
The new approach shows less corner-case to handle and follows one source
of truth concept making debugging and future maintenance easier.
Other changes
- Fix pending mocking to work with multiple calls
- Refactor tests to account for the new changes
Updates status-desktop #12120
2024-02-12 19:29:15 +01:00
Roman Volosovskyi
af16669787
Fetch balances when db cache doesn't exist (second attempt) ( #4714 )
2024-02-12 13:29:31 +01:00
Roman Volosovskyi
76d58ba7f0
Fetch balances when db cache doesn't exist ( #4710 )
2024-02-12 10:10:28 +01:00
Roman Volosovskyi
005e7e6ee4
Fix nonce change detection ( #4679 )
2024-02-08 12:54:04 +01:00
Icaro Motta
dd03b628af
Add function docstring
2024-02-07 20:10:49 +00:00
Icaro Motta
4f8a66fc07
Create endpoint to get permissioned balances
2024-02-07 20:10:49 +00:00
Dario Gabriel Lipicar
9c89409c94
fix: use opensea only as last resort collectibles provider
...
Fixes #13442
2024-02-07 12:27:23 -03:00
Mohsen
70ee70a19a
feat: implement new endpoint to set customization color ( #4568 )
2024-02-07 18:20:54 +03:00
Anthony Laibe
101f1aeca3
feat: add support for erc1155
2024-02-07 11:59:32 +01:00
Dario Gabriel Lipicar
058fa629a0
feat(wallet): add contract type to collectibles
2024-02-06 13:35:01 -03:00
Roman Volosovskyi
d5a10a97f1
[ #4646 ] Return l2 block number when calling BalanceChecker on Arbitrum ( #4668 )
2024-02-02 12:52:52 +01:00
Roman Volosovskyi
9b10b29da2
[ #4630 ] Add wallet_fetchOrGetCachedWalletBalances method ( #4666 )
2024-02-02 11:42:56 +01:00
Anthony Laibe
9c131edfaa
feat: token list updated at global
2024-02-02 11:30:42 +01:00
Stefan
812910f087
feat(wallet): Add session-based activity API for dynamic updates
...
This commit introduces the first steps towards implementing a session-based activity API to support dynamic updates of the current visualized filter in the wallet activity service. This change is necessary to move away from static paginated filtering, which was previously done in SQL, to a more dynamic approach that can handle updates in real-time.
The main changes include:
- Add basic `EventActivitySessionUpdated` support for pending transactions.
- Added a `TODO.md` file outlining the plan and requirements for dynamic activity updates.
- New session-related API to the `activity.Service`
- `session.go` contains the logic for session management and event processing related to activity updates.
- Add test case for incremental filter updates.
The commit also includes:
- various other minor changes and refactoring to support the new session-based approach.
- Deprecation notices added to the `api.go` file for methods that are no longer used by the status-desktop application.
- Clarification comments added to the `scheduler.go` file regarding replacement policies.
Updates: #12120
ghstack-source-id: a61ef74184
Pull Request resolved: https://github.com/status-im/status-go/pull/4480
2024-02-01 19:55:06 +01:00
Stefan
21e6914a3c
fix(wallet) fix reading amount for pending transactions
...
The reading of the amount for pending transactions was done in the same
way as for transfers table. However, the transfers table has a string
hex representation of the amount, while the pending transactions table
has a binary representation of the amount (*big.Int). This was
triggering the not int warning and value was missing.
Updates status-desktop #12120
2024-02-01 18:28:55 +01:00
Roman Volosovskyi
241595a871
[ #4649 ] Do not restart reactor when it is already running ( #4663 )
2024-02-01 17:26:40 +01:00
Stefan
31a2d403ef
fix(wallet) prioritize type SendAT for pending entries in activity
...
In case both to/from addresses are present in the list we were using
the same logic as for transfers. However, this doesn't make sense given
that we can have only one entry in pending activity.
The following cases are still covered
- When the receiver is in addresses we get received
- When both receiver and sender are in the list will get sent
- When the sender is on the list we will get sent
Updates status-desktop #12120
2024-02-01 16:59:09 +01:00
Ivan Belyakov
e4745d01b4
fix(wallet): handle BlobTxType transaction.
...
Update go-ethereum version
Closes #4636
2024-01-31 10:06:14 +01:00
Ivan Belyakov
7d1927396a
fix(wallet): do not return gas-only ETH entries of transfers table for
...
activities request
Closes #4618
2024-01-30 11:37:53 +01:00
Roman Volosovskyi
dad2ec3f66
[ #4640 ] Temporary fetch l2 block number for Arbitrum networks separately from BalanceChecker ( #4644 )
2024-01-30 10:09:44 +01:00
Anthony Laibe
0808b780f7
feat: add sepolia optimism
2024-01-30 08:57:06 +01:00
Sale Djenic
6403a7413b
feat: new endpoint added which returns accounts of all contacts that match the passed address
2024-01-29 13:15:24 +01:00
Ivan Belyakov
f6c219c839
fix(wallet): Made loadBlocksAndTransfers command FiniteCommand to
...
keep restarting on error non-stop, removed some tests accordingly.
Fixed a flaky test for loadBlocksAndTransfers command.
Added tests for async.AtomicGroup.
Made tranfersCommand FiniteCommandWithErrorCounter to prevent infinite
restart.
2024-01-26 17:50:31 +01:00
Ivan Belyakov
95b148a247
fix(wallet): handle errors in findBlocksCommand and
...
findNewBlocksCommand gracefully.
Add ErrorCounter type for async package.
Add tests
Closes https://github.com/status-im/status-desktop/issues/11074
2024-01-26 17:50:31 +01:00
Roman Volosovskyi
71ae7ca1a0
[ #4604 ] Skip balance requests on checking nonce ( #4629 )
2024-01-26 13:57:16 +01:00
Roman Volosovskyi
9b7eec0edb
[ #4603 ] Get rid of fetchLatestBlockNumberCommand ( #4614 )
2024-01-25 13:05:59 +01:00
Roman Volosovskyi
647c3b0fd8
[ #4605 ] Skip nonce check when possible during tx detection
2024-01-24 11:31:14 +01:00
Anthony Laibe
1017d2bc16
fix: query only header for fees
2024-01-23 15:24:39 +01:00
Patryk Osmaczko
bf5dcacdeb
refactor: introduce `newTestMessenger`
...
This avoids duplication and enables better configuration possibilities
for clients.
Next step is to cleanup all `newMessenger` derivatives in tests.
2024-01-22 13:08:58 +01:00
Ibrahem Khalil
436d229856
Add last opened at key for community ( #4514 )
2024-01-21 12:55:14 +02:00
Roman Volosovskyi
9c0526f7d9
[ #4202 ] Detect balance and erc20 transfers by a single contract call ( #4508 )
2024-01-19 16:57:04 +01:00
Siddarth Kumar
926f6a3c72
Revert "test: bump go-libp2p"
...
This reverts commit d0ca4447c6
.
2024-01-18 20:29:33 +00:00
Dario Gabriel Lipicar
0d2c3cef7c
feat: implement token management settings for collectibles
2024-01-18 11:46:35 -03:00
Richard Ramos
d0ca4447c6
test: bump go-libp2p
2024-01-18 14:28:06 +00:00
Dario Gabriel Lipicar
b38e2c9278
feat(wallet): add collectibles filter option tokenIDs
2024-01-18 11:14:02 -03:00
Roman Volosovskyi
0bd4a06edc
Comment out all logged flaky tests
2024-01-18 06:36:12 +00:00
IvanBelyakoff
3a4dfff20b
fix(wallet): fix blocks ranges update error, add tests ( #4560 )
...
Fixes #4559
2024-01-17 12:08:56 +01:00
Dario Gabriel Lipicar
1924828f8d
fix: disable Goerli in the OpenSea client
2024-01-16 12:05:06 -03:00
Roman Volosovskyi
9aef13f83e
[ #4200 ] Enable prevention of tx detection on unrevealed mnemonic/address ( #4444 )
2024-01-16 15:17:02 +01:00
Mykhailo Prakhov
94bee02ef7
chore: fetch comunity token metadata during handling community description ( #4562 )
2024-01-16 09:08:56 +01:00
Dario Gabriel Lipicar
ee6621b066
feat: link owned collectibles with latest matching transfer
...
Part of #12942
2024-01-15 12:55:47 -03:00
Dario Gabriel Lipicar
3a00c3fb9d
fix: avoid losing cached community collectibles data
2024-01-12 08:55:38 -03:00
Dario Gabriel Lipicar
250b8eea87
fix: update the list of chains supported by opensea
2024-01-11 19:30:56 -03:00
Dario Gabriel Lipicar
d4f4d47cdb
fix: properly detect relevant incoming token transfers
...
Fixes #13132
2024-01-10 16:03:55 -03:00
Sale Djenic
280f48877d
chore(savedaddresses)!: favourite property removed and primary key updated
...
- favourite column removed from the saved_addresses table
- favourite property removed from the SavedAddress struct
- ens name removed from the primary key, the primary key now is composed of address and is_test columns
- ens parameter removed from wakuext_deleteSavedAddress
- wallet_getSavedAddresses moved to wakuext_getSavedAddresses (to keep them all in a single place)
- saved addresses related endpoints removed from the wallet service, even they logically belong there, a reason for that
is avoiding emitting sync message if one uses calls from the wallet service, while that's not the case in ext service. Once
we refactor this and introduce devices syncing mechanism in the wallet service, we should not only these but other wallet
related endpoints move there (removed: wallet_getSavedAddresses, wallet_addSavedAddress and wallet_deleteSavedAddress).
Affected area:
Saved addresses
2024-01-10 19:30:56 +01:00
Dario Gabriel Lipicar
781a2c7c8e
fix: ensure needed community tokens are available in the db
...
Fixes #13171
2024-01-10 12:57:10 -03:00
Dario Gabriel Lipicar
9d9c40b7cf
fix: make fetchCommunity return latest available community
...
Fixes #13145
2024-01-08 18:09:21 -03:00
Anthony Laibe
6599be1721
feat: balance endoint without market data
2024-01-08 10:23:44 +01:00
Cuteivist
846a4e2363
feat: Community token received notification ( #4515 )
2024-01-04 13:22:06 +01:00
Sale Djenic
a8357dceac
feat: color field added to saved address
...
- `color` column added to `saved_addresses` table
- `colorId` parameter exposed via `SavedAddress` struct
Affected area - saved addresses.
The following endpoints return or receive `SavedAddress` instance:
- `UpsertSavedAddress`
- `GetSavedAddresses`
- `AddSavedAddress`
2023-12-29 10:39:52 +01:00
Sale Djenic
6bfc1bed08
chore: read and use nonce from network instead from the local cache when sending tx
...
Reading the Nonce from the local cache may be incorrect if the tx is made out of the Status app or
if Status app sends a tx prepared by the dapp (via WalletConnect). A submitted tx with a wrong Nonce
results in a failing tx, that's why we need to read the Nonce from the network.
2023-12-29 08:43:03 +01:00
Igor Sirotin
195982c950
fix_(StoreNodeRequestManager): various fixes and improvements ( #4509 )
2023-12-27 13:53:19 +00:00
Mikhail Rogachev
843bae5659
feat: Return seen/unseen messages count in MessnegerResponse ( #4461 )
2023-12-25 13:25:22 +07:00
Cuteivist
dac7a0daf9
feat: Fetch community data for tokens ( #4497 )
2023-12-22 10:43:19 +01:00
Godfrain Jacques
29ade0f817
fix (@status-go/stickers) Stickers still show in the recent list after being uninstalled ( #4474 )
...
fixes #12677
2023-12-21 10:05:30 -08:00
Cuteivist
6bfe626558
feat: Use media server for community token images ( #4493 )
2023-12-21 16:05:29 +01:00
Cuteivist
313375e215
feat: Save previously owned tokens ( #4482 )
2023-12-21 15:12:50 +01:00
Anthony Laibe
8cbdc80758
feat: expose token balance API
2023-12-21 08:52:29 +01:00
Igor Sirotin
92f0479a0c
chore: fetch contact with `StoreNodeRequestManager` ( #4484 )
2023-12-20 12:49:12 +00:00
Dario Gabriel Lipicar
959dcbdea5
feat: lazy load collectibles metadata
2023-12-19 21:27:20 -03:00
Dario Gabriel Lipicar
b1e000ed59
feat: add balance to collectibles api
2023-12-18 18:24:21 -03:00
Dario Gabriel Lipicar
9dea2e8875
feat: always include community image in community collectibles
2023-12-16 08:49:58 -03:00
Dario Gabriel Lipicar
b3cc73aa7f
feat: use media server for community collectible images
2023-12-16 08:49:58 -03:00
Cuteivist
7af313cd53
feat: Add community manager and fetch cached community metadata ( #4450 )
2023-12-14 17:50:46 +01:00
Ivan Belyakov
81073b208e
fix(wallet): Made an interface for BlockRangesSequentialDAO to
...
mock it in tests.
Made a configurable timeout interval for Commander interface.
Added tests to verify loadBlocksAndTransfers command is stopped
correctly on max errors limit reached
2023-12-14 16:49:23 +01:00
Ivan Belyakov
670954b71b
feat(wallet): separated finite and infinite commands in transfers for
...
proper handling of errors and commands restart.
Now:
- Infinite commands started only once and never restarted, stoped on
context.Done.
- Finite commands are joined into AtomicGroup to stop the rest in the
group in case one command fails. Otherwise other commands in the group
will continue running and the failed command is not retried to
restart. Fixed goroutine leakage in case of failure of some commands
2023-12-14 16:49:23 +01:00
Sale Djenic
d2ae23f466
chore(walletconnect)_: record wallet sessions instead of pairings
2023-12-14 12:58:27 +01:00
Sale Djenic
fd16942b20
feat(walletconnect)_: support for eth_signTypedData v3 and v4
2023-12-13 08:15:55 +01:00
Cuteivist
dfe6baed9b
feat: Fetch community token image ( #4440 )
2023-12-12 08:37:57 +01:00
Godfrain Jacques
0f98a1294c
feature(@desktop/chat) Enhance message context menu with mark as unread ( #4382 )
...
fixes #10329
linked with PR #12879
- Adds capacity to mark a message as unread
- Adds capacity to mark a message with mention as unread
- Adds persistence to the marking of the message (change can be seen at
after reboot)
- Adds marking in right click contextual menu
2023-12-11 02:17:01 -06:00
Ivan Belyakov
71b27394bb
fix(wallet): fixed BalanceAt not called for all but first account
...
when new blocks are searched
2023-12-09 10:10:01 +01:00
Ivan Belyakov
5882705a21
fix(wallet): quick fix for eating RPC requests. Proper fix TBD
2023-12-09 10:10:01 +01:00
Ivan Belyakov
6e666f7c27
fix(wallet): accessing tokens block range nil on empty acc.
...
Fixed a crash in local notification service on a nil block number
in HistoryReady event
2023-12-07 21:40:02 +01:00
Anthony Laibe
f502d991b7
fix: prevent crash when erc20 tx is contract creation
2023-12-07 09:50:41 +01:00
Sale Djenic
12ba1bdf69
feat(walletconnect)_: support for auth request
2023-12-06 17:28:09 +01:00
Ivan Belyakov
b8c006843b
fix(wallet): use mnemonic displayed check for 'findNewBlocksCommand'
...
Fixed some tests to use wrong sql DB for account DB
2023-12-06 14:07:52 +01:00
Ivan Belyakov
761aa64e04
test(wallet): add tests for findNewBlocks command
2023-12-06 12:08:18 +01:00
Ivan Belyakov
82185b54b5
feat(wallet): separate ETH and tokens search ranges to allow calling
...
`getLogs` for multiple accounts simultaneously. For now only used for
new transfers detection. Detection of `new` transfers has been changed,
now they are searched from head and forward. Previously they were
searched from last scanned block forward.
2023-12-05 16:09:56 +01:00
Mykhailo Prakhov
04c533b8d5
chore: API for getting all non-approved requests to join for all communities ( #4422 )
2023-12-05 15:50:45 +01:00
Dario Gabriel Lipicar
f08e6f7137
feat: add support for Opt Sepolia in the Alchemy client
2023-12-04 12:21:32 -03:00
Anthony Laibe
485c1d8742
feat: add STT to sepolia
2023-12-04 15:34:05 +01:00
Mohsen
76b6745666
fix: 'Join Community' notification is not getting dismissed ( #4267 )
2023-12-04 14:48:28 +03:00
Sale Djenic
cfa542378d
chore(walletconnect)_: various improvements applied
...
- `WalletConnectTransfer` identified as a new transfer type
- Wallet-related endpoints that logically belong to the wallet moved from the wallet connect service
- Wallet connect service now receives `transfer.TransactionManager` instead of `transactions.Transactor`
- Deadlock issue when trying to send the tx with the wrong nonce fixed
2023-12-04 11:18:38 +01:00
Cuteivist
04873ef880
feat: token order API ( #4391 )
2023-12-04 11:18:05 +01:00
Roman Volosovskyi
aee111e5ab
[ #4200 ] Avoid tx watching for addresses which were not exposed
2023-12-01 12:30:42 +01:00
Ivan Belyakov
9acabc6995
fix(wallet): start transfer controller to activate leftovers cleanup
2023-11-30 12:37:52 +01:00
Cuteivist
79f0d8a5ec
bug: Added missing out chain data ( #4303 )
2023-11-30 12:37:32 +01:00
Stefan Dunca
c433908834
fix(wallet) ignoring err in RowsAffected()
...
Co-authored-by: saledjenic <86303051+saledjenic@users.noreply.github.com>
2023-11-29 19:22:38 +01:00
Stefan
99f4d621e0
feat(wallet): add Wallet Connect state change API
...
Updates status-desktop #12858
2023-11-29 19:22:38 +01:00
Ivan Belyakov
c0f2f76e9a
feat(wallet): remove transfers data on account removal
...
Closes: #4394
2023-11-29 16:17:21 +01:00
Sale Djenic
5e6768a42a
feat(ens-usernames)_: preparing release transaction data
2023-11-29 15:34:44 +01:00
Sale Djenic
adb79c5a82
chore(stickers)_: unused stickers_buy endpoint removed
2023-11-29 15:34:44 +01:00
Sale Djenic
dea0b62650
feat(wallet)_: common endpoints added to wallet api
...
- `SignMessage`
- `BuildTransaction`
- `SendTransactionWithSignature`
2023-11-29 15:34:44 +01:00
Dario Gabriel Lipicar
8b539cd400
feat: refresh balances when Eth or ERC20 transfer is detected
2023-11-29 09:16:03 -03:00
Cuteivist
ecbb1cb4e0
fix: Handle balance for all accounts ( #4261 )
2023-11-29 12:20:18 +01:00
Andrea Maria Piana
3ab1afaae8
feat_: Allow to set custom nodes & log level
2023-11-29 09:31:02 +00:00
Andrea Maria Piana
f48f9cccc6
feat_: Allow to set light client
2023-11-29 09:31:02 +00:00
Andrea Maria Piana
e1f61515ef
feat_: Add sync chat endpoint
2023-11-29 09:31:02 +00:00
Dario Gabriel Lipicar
472e4bdb77
feat: implement support for collectible provider Rarible
2023-11-27 20:30:18 -03:00
Mikhail Rogachev
31d0782f66
feat: Sync Mentions and Replies AC notifications and messages ( #4337 )
...
* feat: Marking Mentions and Replies AC notifications as read also marks corresponding message as seen
* feat: Marking message as seen marks as read corresponding notification (if there is so)
* chore: make messenger activity center test less flaky
* Update VERSION
2023-11-27 15:22:24 +04:00
Sale Djenic
8641ec5dd5
feat(walletconnect)_: ethereum rpc calls support
...
Reference: https://docs.walletconnect.com/advanced/rpc-reference/ethereum-rpc
2023-11-27 10:49:23 +01:00
Sale Djenic
d4ca8616fc
feat(walletconnect)_: support for session proposal for wc 2.0
2023-11-27 10:49:23 +01:00
Igor Sirotin
e32c5546e1
test: request community from storenode ( #4364 )
...
* feat: request community info from storenode test
* shutdownWaitGroup
* fix requestCommunityInfoFromMailserver timestamp roundin
2023-11-25 23:24:20 +00:00
Stefan
a855f9e3e8
feat(wallet) WalletConnect: track pairings in DB
...
Add new APIs to track if valid pairings are available to be used
by application not to run WalletConnect SDK if not needed.
Closes status-desktop: #12794
2023-11-24 09:44:27 +01:00
Sale Djenic
5e2af9e4fa
feat(walletconnect)_: support the tx and personal signing from within the app or keycard
2023-11-22 09:46:50 +01:00
Sale Djenic
5555f98dd5
chore(accounts)_: added two convenient functions to accounts
...
- `IsWalletNonWatchOnlyAccount`
- `IsWalletAccountReadyForTransaction`
2023-11-22 09:46:50 +01:00
Sale Djenic
e9f11f70dd
chore(wallet)_: proper release of locked nonce (unlock function call)
2023-11-22 09:46:50 +01:00
Dario Gabriel Lipicar
03cdb49c4c
feat: enable support for Arbitrum Sepolia in Opensea
2023-11-21 16:20:05 -03:00
Dario Gabriel Lipicar
00f412e4ac
feat: enable support for Arbitrum Sepolia in Alchemy
2023-11-21 16:20:05 -03:00
Dario Gabriel Lipicar
14a8df8948
feat: support alchemy sepolia api keys
2023-11-21 16:20:05 -03:00
Vitaly Vlasov
1794b93c16
Always set PubsubTopic in filters
2023-11-18 02:26:34 +02:00
Dario Gabriel Lipicar
c88ab45d76
fix: pass context in FindOrCreateTokenByAddress
2023-11-17 16:17:50 -03:00
Dario Gabriel Lipicar
5933376eda
feat: unify collectibles struct
2023-11-17 16:17:50 -03:00
Dario Gabriel Lipicar
6f84207d3a
feat: allow specifying fetch criteria for owned collectibles
2023-11-17 16:17:50 -03:00
Dario Gabriel Lipicar
823fe76fc3
feat: allow different data types in collectibles requests
2023-11-17 16:17:50 -03:00
Dario Gabriel Lipicar
a51f8aa13c
feat: backoff wallet community fetches after a failure
2023-11-17 10:35:30 -03:00
Dario Gabriel Lipicar
e17d4606b1
fix: implement cancellable collectibles requests
2023-11-17 10:35:30 -03:00
Igor Sirotin
2fef9a8f8f
feat: new `GetTextURLsToUnfurl` endpoint which extends GetURLs ( #4294 )
2023-11-17 13:32:37 +00:00
Dario Gabriel Lipicar
92a604f471
fix: fix alchemy collectible traits parsing
2023-11-16 15:49:13 -03:00
Anthony Laibe
cd03dd949e
fix: send erc20
2023-11-16 13:40:04 +01:00
Ivan Belyakov
f4fc0ea324
feat(wallet): remove old OnDemand transfer fetch strategy as it not
...
functional and not maintained any more and we will work on improvement
of SequentialFetchStrategy
2023-11-16 12:59:47 +01:00
Ivan Belyakov
b6ade53603
feat(wallet): detect ERC1155 batch transfers.
...
Refactored transfers loading to reduce blockchain RPC requests (getBaseFee, getTransaction,
getTransactionReceipt) by reusing preloaded transaction and block fee.
Split extraction of subtransaction from logs and from ETH transfer into
different methods.
Refactored log_parser to extract sender and receiver addresses
uniformly for different transfer types.
Replaced info logs with debug where needed.
closes #4221
2023-11-16 09:37:09 +01:00
Stefan
b994cedfc3
feat(wallet) implement Wallet Connect sign APIs
...
add WalletConnect support for signing session events
- implement `eth_sendTransaction`
- implement `personal_sign`
Also fix exposing unusable accounts
Updates status-desktop #12637
2023-11-15 15:52:02 +01:00
Anthony Laibe
5381ec4a76
feat: add token list
2023-11-15 09:02:36 +01:00
Anthony Laibe
0345612a31
fix: use real id of token to estimate gas
2023-11-14 14:24:51 +01:00
Ivan Belyakov
57e370e7b9
feat(wallet): Added detection of ERC1155 SingleTransfer events
2023-11-13 20:19:57 +01:00
osmaczko
a584ab086a
Fix/timesource offline ( #4309 )
...
* fix: add missing callback cleanup in timesource
fixes: "panic: sync: negative WaitGroup counter"
part of: status-im/status-desktop#12691
* fix: ensure timesource.GetCurrentTime is non-blocking
closes : status-im/status-desktop#12691
2023-11-13 14:06:32 -05:00
Stefan
36da204282
feat(wallet) add WalletConnect pair API
...
Updates #12551
2023-11-13 10:19:06 +01:00
Igor Sirotin
a178d724b1
fix: correct parsing shared url without data ( #4283 )
2023-11-10 16:33:37 +00:00
Anthony Laibe
dc2d179692
fix: estimate gas for erc721
2023-11-10 16:11:05 +01:00
richΛrd
2c954d42cf
feat: replace DefaultPubsubTopic by Shard 32 ( #4161 )
2023-11-09 20:29:15 -04:00
Mikhail Rogachev
03c32f620f
feat: Profile showcase data sharing ( #4209 )
...
* feat: Add profile showcase messaging part with ecrypted data
* feat: Separate profile showcase categories to provide ablity to store custom data
* fix: review fixes
* feat: move profile showcase out of contact data
* fix: create index on contact id for profile tables
* chore: remove logger from link preview
2023-11-09 22:59:01 +04:00
Dario Gabriel Lipicar
337f3aefec
fix: add missing error check in currency service
2023-11-09 13:12:25 -03:00
Michal Iskierko
d909faf504
feat: add AC messages for setting signer operations
...
Issue #11964
2023-11-08 12:54:29 +01:00
Michal Iskierko
02e4cc6e1f
feat: Send envelopes to telemetry service
...
Issue #12430
2023-11-08 11:34:10 +01:00
Boris Melnik
1d08b403e6
feat(discord): Split import channel signals and community import signals ( #4232 )
2023-11-07 13:44:10 +03:00
Sale Djenic
ce121710d9
fix: unlock local nonce when an error occurs and increment only when the tx is sent for real
2023-11-06 18:30:42 +01:00
Sale Djenic
05baec8bec
fix: estimate gas function resoved that it uses real network estimation instead of hardcoded value
2023-11-06 18:30:42 +01:00