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
Cuteivist
05530f57bd
feat: Return only community tokens ( #4249 )
2023-11-03 13:08:32 +01:00
Igor Sirotin
c27384680a
feat: new configurable endpoint RequestCommunityInfoFromMailserverV2 ( #4238 )
...
* StatusUnfurler: use shard from url
2023-11-03 10:30:24 +00:00
Patryk Osmaczko
25f25e9853
chore: populate Community with PubsubTopicPrivateKey
...
part of: status-im/status-desktop#12408
2023-11-03 11:27:43 +01:00