Ivan Belyakov
d07f9b5b16
fix(wallet)_: no balance chart for tokens, due to wrong symbol (ETH) used
...
instead.
Fixed padding points being removed from final result, regression.
Edge points not added per address as it does not make sense.
Fixed padding points number with respect to edge points number.
Padding points now duplicate previous entry.
Fixed timestamp boundaries to ignore addresses, as we want the whole
range for all passed addresses.
Fixed missing indices in balance_history table and clean up of
duplicate rows.
Removed ERC1155 from balance history sql query
2024-07-18 13:11:02 +02:00
Vitaly Vlasov
3ef445dbcf
fix_: share all future addresses storage
2024-07-18 12:08:40 +03:00
Ivan Belyakov
94b2017226
test(wallet)_: fix flaky circuit breaker test on window timeout
...
fix racing condition on init of RPC stats
2024-07-17 18:06:48 +02:00
Emil Sawicki
eac07af5d7
fix(activity)_: Remove duplicated ids for nft fetching
2024-07-17 12:20:35 +02:00
Emil Sawicki
89f1feade0
fix(activity)_: report other token types than ERC20
...
This fixes incremental updates for tokens and proper report of
token type for mobile (in desktop we didn't use it)
Closes : #15233
2024-07-17 12:20:35 +02:00
Emil Sawicki
094d26dc66
fix_: Add pending tx for collectibles
2024-07-15 13:00:21 +01:00
Prem Chaitanya Prathi
58a3cc1127
feat(waku)_: allow client to set store confirmations
2024-07-15 09:37:57 +01:00
Dario Gabriel Lipicar
21101c9444
feat(wallet)!: return routerV2 suggested routes whenever available, on top of error if the best route doesn't pass all checks
2024-07-12 17:59:41 -03:00
Godfrain Jacques
194d9444a5
feat_: locally handled methods package base structure ( #5418 )
2024-07-12 11:12:14 -07:00
richΛrd
6ace9f9be0
chore_: rename shards.staging to status.staging ( #5500 )
2024-07-11 10:37:16 -04:00
Andrey Bocharnikov
02b822802c
chore(community)_: serialise community jsons with image URLs
...
Fix status-im/status-desktop#15340
2024-07-11 18:55:24 +07:00
Richard Ramos
80fe18bef9
feat_: `wakuext_relayPeersByTopic`
2024-07-11 12:32:31 +01:00
Andrea Maria Piana
9a59d6a459
feat(metrics)_: add centralized metrics
...
This commit adds support for centralized metrics.
There are two providers as of now, and we haven't quite decided which
one to go for, so for the time being both are supported.
It also introduces a new endpoint InitializeApplication that replaces
OpenAccounts
2024-07-11 10:05:31 +01:00
Emil Sawicki
b2e5e7a81c
feat(wallet)_: Remove deprecated for estimated time api
2024-07-09 14:39:52 +02:00
Stefan
5336c47f1b
feat(dapps)_: extend and improve sign
...
Add `wallet_SafeSignTypedDataForDApps` with support for
`eth_signTypedData` and `eth_signTypedData_v4`
Reject if the chain to sign doesn't matches the target chain
for typed data signing
Add `wallet_HashMessageForSigning` with to support hashing messages
for signing in a safe way as per EIP-191 v45 and supporting
to hash messages for signing on the client side (keycard)
Deprecate `wallet_SignTypedDataV4``
Updates: #15361
2024-07-09 09:01:36 +02:00
Michal Iskierko
3145ab05ff
feat(community tokens)_: Upgrade ERC721 contract to enable batch transfers
...
Add version field to proto and database.
Issue #4947
2024-07-08 11:30:51 +02:00
Sale Djenic
378e5741b9
feat_: the router - add candidates, as potential paths, by taking the max amount on enabled chains
2024-07-05 14:51:34 +02:00
Ivan Belyakov
4b19845592
chore(wallet)_: Added a test for Market manager FetchTokenMarketValues
...
Added a nil/empty command test for circuit breaker
2024-07-05 12:39:19 +01:00
Ivan Belyakov
a009855bbb
feat(wallet)_: use CircuitBreaker for blockhain RPC calls
...
fix usage of circuit breaker for collectibles and market data to
match the implementation
2024-07-05 12:39:19 +01:00
Ivan Belyakov
23b185ae2b
fix(wallet)_: fixed some errors handling that caused provider up/down
...
banner
2024-07-05 13:35:44 +02:00
Anthony Laibe
abb570dd3f
fix_: l1 fees at 0 and fix base fees sepolia
2024-07-05 11:04:29 +02:00
Ivan Belyakov
3983114ae5
test(wallet)_: add unit tests for balance fetcher
...
replace types with interfaces where necessary to allow mocking
implement fake eth scanner and erc20 contracts
2024-07-04 09:29:49 +02:00
Ivan Belyakov
d180e19fa8
test(wallet)_: moved all balance related code from token.Manager to
...
balance_fetcher.BalanceFetcher
Split methods into smaller ones for testability
2024-07-04 09:29:49 +02:00
Anthony Laibe
135ab9a5cf
chore_: add missing token
2024-07-04 09:28:18 +02:00
belalshehab
1e0a24f1b8
fix(wallet)_: use consistent invalid timestamp constant
...
- Replaced `unknownUpdateTimestamp` with `InvalidTimestamp` to maintain consistency.
2024-07-04 02:22:01 +03:00
belalshehab
f98c411b32
feat(wallet)_: add new API to restart the wallet reload timer
...
- Added `restartWalletReloadTimer` method in `api.go` to expose an API for restarting the wallet reload timer.
- Implemented `Restart` method in `reader.go` to stop and start the wallet reader.
- Updated reader_test.go to comply with minimum test coverage threshold
2024-07-03 20:36:17 +03:00
Mykhailo Prakhov
f8984b26e0
fix(communities)_: do not auto-delete tracking SetSignerPubKey transaction
2024-07-03 18:33:16 +01:00
Samuel Hawksby-Robinson
5f666e6ad9
test(router_validation)_: blended my validation with latest develop
2024-07-03 11:47:04 +01:00
Samuel Hawksby-Robinson
3c1326be48
test(router_validation)_: Resolved invalid recursive type aliasing
...
Additionally I've resolved a panic when AmountIn and/or AmountOut is nil
2024-07-03 11:47:04 +01:00
Samuel Hawksby-Robinson
59853fdbe2
test(router_validation)_: integrated the new errors into test loigc
2024-07-03 11:47:04 +01:00
Samuel Hawksby-Robinson
e4420533d6
test(router_validation)_: removed error consts, see #5362
2024-07-03 11:47:04 +01:00
Samuel Hawksby-Robinson
da2af02049
test(router_validation)_: Added test cases for Sticker and Swaps
2024-07-03 11:47:04 +01:00
Samuel Hawksby-Robinson
cdaca322d0
test(router_validation)_: Added Error consts for all tested paths
2024-07-03 11:47:04 +01:00
Samuel Hawksby-Robinson
79d0d08cfd
test(router_validation)_: Added full test cases for validateInputData
2024-07-03 11:47:04 +01:00
Samuel Hawksby-Robinson
f6f1b56cf7
test(router_validation)_: Added validation to prevent all excluded networks
2024-07-03 11:47:04 +01:00
Stefan
a535aedad5
fix(dapps)_: fix session identity
...
The pairing topic was used instead the topic for the session identity
which caused session management issues.
Updates: #15189
2024-07-02 19:17:28 +02:00
Stefan
db8168105d
fix(dapps)_: fix JSON marshaling for walletconnect.DBSession
...
Updates: #15189
2024-07-02 19:17:28 +02:00
Stefan
23aae48a40
feat(dapps)_: expose wallet_GetWalletConnectActiveSessions API
...
Add API test to get the required coverage
Updates: #15189
2024-07-02 19:17:28 +02:00
Dario Gabriel Lipicar
4d7c2683f5
fix_: fix swap in routerV2
2024-07-01 15:07:17 +02:00
Sale Djenic
443cd412f7
feat_: the router returns route there is a balance on even that's not the cheapest route
...
If there are multiple routes across multiple networks, but the user doesn't have a positive balance
on the network which the router initially suggested as the best (cheapest) route, then we are not returning
an error saying there are not enough balance, but instead try to suggest the route on the network where
the user has a positive balance even that's not the cheapest route (it should be the second cheapest route,
but if there are not enough balance on it we proceed with the third cheapest route and so on...).
2024-07-01 15:07:17 +02:00
Sale Djenic
92361d9e20
feat_: new endpoint added for an async route/s calculation
...
- `GetSuggestedRoutesV2Async` calculates the route/s based on input parameters and sends
`wallet.suggested.routes` signal to notify a client.
2024-07-01 15:07:17 +02:00
Sale Djenic
8bcb6ce667
chore!: wallet related signals alignment
...
A signal type `wallet` which had an event `type` set to `sing-transactions` is now a new signal
type `wallt.sing.transactions` with event which represents list of transactions that need to be signed.
2024-07-01 15:07:17 +02:00
Arseniy Klempner
5934233266
feat_: call telemetry upon error pushing envelope ( #5430 )
...
* feat_: call telemetry upon error pushing envelope
* feat_: call telemetry upon error pushing envelope
---------
Co-authored-by: Václav Pavlín <vaclav.pavlin@gmail.com>
2024-06-28 13:24:04 +03:00
Igor Sirotin
49eaabaca5
feat: adapt create/restore/login endpoints for keycard usage ( #5311 )
...
* chore_: remove duplicated `StartNodeWithKey`
* feat(KeycardPairing)_: added GetPairings method
* chore_: simplify startNode... methods
* chore_: added encryption path to be derived
* fix_: error handling in StartNodeWithKey
* feat_: added keycard properties to CreateAccount
* feat_: moved KeycardWhisperPrivateKey to LoginAccount
* fix_: LoginAccount during local pairing
* feat_: added chat key handling to loginAccount
* chore_: struct response from generateOrImportAccount
* fix_: do not store keycard account to keystore
* feat_: added Mnemonic parameter to LoginAccount
* chore_: wrap loginAccount errors
* feat_: RestoreKeycardAccountAndLogin endpoint
* chore_: merge RestoreKeycardAccountRequest into RestoreAccountRequest
* fix_: TestRestoreKeycardAccountAndLogin
* fix_: MessengerRawMessageResendTest
* chore_: cleanup
* chore_: cleanup according to pr comments
* chore_: better doc for Login.Mnemonic
* chore_: add/fix comments
* fix_: lint
2024-06-26 13:14:27 +02:00
Sale Djenic
1cdcc0dcc2
chore_: tests for router candidates added
2024-06-26 11:02:13 +01:00
Sale Djenic
68464d949c
chore_: calculating multi tx candidates improvements
...
- router logic splitted into two more logical functions
- locked amount validation improved
- hop and swap processors cached data kept per from/to chain and from/to token
- Clear function which clears the local cache is added
- process of evaluating `amountToSend` if more than a single network is locked is improved
- optimized params for require approval function
2024-06-26 11:02:13 +01:00
Sale Djenic
d1f8064437
chore_: typo in `disabledToChaindIDs` parameter name resolved
2024-06-26 11:02:13 +01:00
Sale Djenic
e272a0d465
chore_: unnecessary preferred chains input router parameters removed
2024-06-26 11:02:13 +01:00
Mykhailo Prakhov
2cabec66cc
fix(premissions)_: convert balance from GetCachedBalancesByChain ( #5415 )
2024-06-25 10:14:40 +02:00
Mikhail Rogachev
1362d10620
feat_: implement connector service ( #5375 ) ( #5403 )
2024-06-24 07:29:40 -07:00