Commit Graph

5130 Commits

Author SHA1 Message Date
Anton Iakimov b260c1ff87
dummy 2024-10-09 14:12:06 +02:00
Anton Iakimov 9b36edaee1
dummy 2024-10-09 13:59:13 +02:00
Anton Iakimov 8c9180c177
dummy 2024-10-09 12:34:23 +02:00
Anton Iakimov 2cb3ccc138
dummy 2024-10-09 12:25:37 +02:00
Anton Iakimov a6301e35e5
dummy 2024-10-09 12:13:46 +02:00
Anton Iakimov 72a978372a
dummy 2024-10-09 11:57:51 +02:00
Anton Iakimov 630c23a4a7
dummy 2024-10-09 11:54:23 +02:00
Anton Iakimov da17fe8e2e
dummy 2024-10-09 11:45:42 +02:00
Anton Iakimov 115f9b1a48
dummy 2024-10-09 11:43:39 +02:00
Anton Iakimov 5927529fbd
dummy 2024-10-09 11:42:20 +02:00
Anton Iakimov 8b5e542e11
dummy 2024-10-09 11:37:52 +02:00
Anton Iakimov cdd62c30a4
dummy 2024-10-09 11:26:18 +02:00
Anton Iakimov f6ff23ad74
dummy 2024-10-09 11:25:14 +02:00
Anton Iakimov 055528fd4b
dummy 2024-10-09 11:23:30 +02:00
Anton Iakimov 5d0c4b4993
dummy 2024-10-09 11:18:02 +02:00
Anton Iakimov c25550c221
dummy 2024-10-08 16:34:39 +02:00
Anton Iakimov 63a82a252d
dummy 2024-10-08 16:29:44 +02:00
Anton Iakimov a7b4358e67
dummy 2024-10-08 16:21:53 +02:00
Anton Iakimov 9598c90834
dummy 2024-10-08 15:38:13 +02:00
Anton Iakimov d54e22b76a
dummy 2024-10-08 15:22:01 +02:00
Anton Iakimov fdf2535204
dummy 2024-10-08 14:41:39 +02:00
Anton Iakimov 32b691cdcd
dummy commit 2024-10-08 14:24:00 +02:00
Sale Djenic 55bad8fd7b fix_: zero value update to be a value, not a function pointer 2024-10-07 17:24:00 +02:00
frank a08319f615
fix(sync)_: sync fallback notification (#5888)
* fix(sync)_: Improve EnableInstallationAndSync and add EnableInstallationV2

- Refactor EnableInstallationAndSync for better error handling and response merging
- Add new EnableInstallationV2 method returning the installation
- Update tests to check for installation in response
- Deprecate old EnableInstallation method

* chore_: remove EnableInstallationV2

* fix(sync)_: create/delete AC notification only when targetInstallationID match

- Add targetInstallationID parameter to SendPairInstallation function
- Update protobuf SyncPairInstallation struct with TargetInstallationId field
- Modify method calls across multiple test files to include new parameter
- Update pairing.proto and pairing.pb.go with new field for local pairing

* chore_: rename stubEnableInstallationAndPair

chore_: move InstallationIDProvider

chore_: revert endpoints.go

test_: check AC with resp

chore_: rename ModifiedInstallationsTargetedToThisDevice

test_: add InstallationIDProvider

chore_: revert endpoints.go

chore_: remove comment

test_: add TestNewInstallationCreatedIsNotDeleted
2024-10-07 22:05:37 +08:00
richΛrd 94ff99d727
fix_: retry dnsdisc on failure (#5785) 2024-10-07 08:33:08 -04:00
Dario Gabriel Lipicar ccc3e62ce6 fix(statusd)_: proper db initialization for imported accounts 2024-10-07 14:31:34 +02:00
Igor Sirotin 0791112404
fix_: delete endpoints file (#5922) 2024-10-07 13:07:33 +01:00
Jakub Sokołowski ba37c32c07
fix(make)_: avoid calling version script unnecessarily
If we use `:=` we always call it, but it's not necessary for most
targetrs. It requires `git` which is not available in Nix build sandbox.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-10-05 10:07:16 +02:00
richΛrd d527c4e619
fix_: don't ignore generated files in vendor/ (#5914) 2024-10-04 10:27:27 -04:00
Igor Sirotin 664b6ea6d4
fix(Makefile)_: generate before vendor (#5913) 2024-10-04 14:59:45 +01:00
Igor Sirotin 5fc8a974d9
chore_: move rename server (#5906)
* chore_: move and rename server files

* fix_: linter
2024-10-04 14:24:36 +01:00
dlipicar e8bd4d5685
chore_: implement eth service for use in integration tests (#5903) 2024-10-04 09:55:28 -03:00
Igor Sirotin c1dd9397f7
refactor_: remove generated files from source control (#5878)
* fix_: gitignore generated files

* chore_: delete generated files

* fix_: update go generate instructions

* feat(Makefile)_: clean-generated-files target

* feat(Makefile)_: `generate` target

* fix(Makefile)_: dependent generate target

* ci_: run generate, update docker file deps

* fix(Makefile)_: remove `clean-generated-files` target

* fix(Makefile)_: simpler GO_GENERATE_CMD arg

* fix_: temp workspace GO_GENERATE_FAST_DIR
2024-10-03 20:59:44 +01:00
Sale Djenic e8e6ef352b fix_: suggested path calculation updated when adding previously deleted key pair
When adding an account via seed phrase, for a key pair that was previously deleted,
suggested path should start from index 0. It was not like that before, this commit fixes that.
2024-10-03 21:30:51 +02:00
Patryk Osmaczko 5a0e06f1ea fix(communities)!: stop syncing community on `LastOpenedAt` update
Syncing the entire community for potentially frequent actions like
`LastOpenedAt` updates is highly inefficient when using Waku as the
transport layer, as it can result in significant bandwidth overhead.
2024-10-03 16:11:29 +02:00
Igor Sirotin ae2ec8f369
chore_: rename integration tests to functional tests (#5908) 2024-10-03 14:51:51 +01:00
Sale Djenic 04784d18a0 fix_: canceling route generation before the route gets generated doesn't allow subscribing for events 2024-10-02 17:33:00 +02:00
richΛrd 7a737433d3
fix_: bandwidthCounter should be reset each time it is retrieved otherwise it behaves like an accumulator (#5898) 2024-10-02 14:26:58 +01:00
Andrey Bocharnikov 66ee53175e chore_: add a status proxy to the nodefleet rpc as a primary service provider
fixes #5901
2024-10-02 18:41:29 +07:00
Igor Sirotin 5c41e8211a
feat_: status-backend standard requests (#5868)
* feat_: added some standard requests

* fix_: address pr comments
2024-10-02 12:28:23 +01:00
Patryk Osmaczko 2c0178c9c5 fix(tests)_: prevent crash when creating wakuv2 from multiple goroutines
Creating wakuv2 from multiple goroutines results in a race condition
where multiple in-memory databases with the same name are attempted to
be opened.
2024-10-01 20:17:28 +02:00
Jonathan Rainville 1460589a0b
fix(manager)_: make sure to re-add revealed accounts in the response (#5867)
We remove the shared accounts to send normal admins to not leak the addresses, however, that was a destructive action that also removed them from the `requestToJoin` param, which is reused later in the code, so it created an unwanted side effect. The side effect is now erased.
2024-10-01 10:35:56 -04:00
Anton 107e2cb8da test_: added transaction from route test 2024-10-01 14:30:33 +02:00
Sale Djenic 28506bcd17 chore_: improvements of the sending route generated by the router process
This commit simplifies the sending process of the best route suggested by the router.
It also makes the sending process the same for accounts (key pairs) migrated to a keycard
and those stored locally in local keystore files.

Deprecated endpoints:
- `CreateMultiTransaction`
- `ProceedWithTransactionsSignatures`

Deprecated signal:
- `wallet.sign.transactions`

New endpoints:
- `BuildTransactionsFromRoute`
- `SendRouterTransactionsWithSignatures`

The flow for sending the best router suggested by the router:
- call `BuildTransactionsFromRoute`
- wait for the `wallet.router.sign-transactions` signal
- sign received hashes using `SignMessage` call or sign on keycard
- call `SendRouterTransactionsWithSignatures` with the signatures of signed hashes from the previous step
- `wallet.router.transactions-sent` signal will be sent after transactions are sent or if an error occurs

New signals:
- `wallet.router.sending-transactions-started` // notifies client that the sending transactions process started
- `wallet.router.sign-transactions` // notifies client about the list of transactions that need to be signed
- `wallet.router.transactions-sent` // notifies client about transactions that are sent
- `wallet.transaction.status-changed` // notifies about status of sent transactions
2024-10-01 14:30:33 +02:00
Sale Djenic 1128598b03 chore_: build transaction v2 function added to processors 2024-10-01 14:30:33 +02:00
Sale Djenic 07f26aed20 feat_: send tx args type extended with new properties
Added props:
- `Version` used to differ old and new usage
- `ValueOut`
- `FromChainID`
- `ToChainID`
- `FromTokenID`
- `ToTokenID`
- `ToContractAddress`
- `SlippagePercentage`
2024-10-01 14:30:33 +02:00
Sale Djenic 741f5d51af chore_: move pack approval and get token id functions to wallet common helper 2024-10-01 14:30:33 +02:00
Sale Djenic 4a7031b455 chore_: move path constants to wallet common location 2024-10-01 14:30:33 +02:00
Anton f76cff7e3f test_: added local docker-compose with port binds 2024-10-01 13:28:41 +02:00
Igor Sirotin 3e69092ae5
chore_: move uniswap token downloading to makefile target (#5891)
* chore_: move uniswap token downloading to makefile target

* fix_: uniswap url and output path

* feat_: upgrade uniswap tokens
2024-10-01 10:20:03 +01:00