Commit Graph

32 Commits

Author SHA1 Message Date
Sale Djenic 07cf6cd52d chore_: `Bridge` interface renamed to `PathProcessor` interface and necessary changes applied due to that change 2024-06-07 15:50:38 +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 
2024-05-16 16:18:15 +02:00
Igor Sirotin 295685c1fe
fix_: skip tests using infura () 2024-04-24 16:41:42 +02:00
Sale Djenic 5e6768a42a feat(ens-usernames)_: preparing release transaction data 2023-11-29 15:34:44 +01:00
Stefan 524c21834b fix(wallet) propagate multi-transactions IDs to transfers
Mainly refactor API to have control on pending_transactions operations.
Use the new API to migrate the multi-transaction ID from to transfers
in one SQL transaction.
The refactoring was done to better mirror the purpose of pending_transactions

Also:
- Externalize TransactionManager from WalletService to be used by
  other services
- Extract walletEvent as a dependency for all services that need to
  propagate events
- Batch chain requests
- Remove unused APIs
- Add auto delete option for clients that fire and forget transactions

Updates status-desktop 
2023-08-22 18:39:42 +02:00
Ivan Belyakov 2df9df10ab fix(tests): moved test db setup to a common place 't/helpers', created
interface for initializing db, which is implemented for appdatabase and
walletdatabase. TBD for multiaccounts DB.
Unified DB initializion for all tests using helpers and new interface.
Reduced sqlcipher kdf iterations for all tests to 1.
2023-08-18 09:00:56 +02:00
Ivan Belyakov 09dff82db5 feat(wallet): Move pending transactions to `transactions` module.
Handle creation and deletion of pending transactions automatically
on status-go side.
2023-07-11 16:07:42 +02:00
Eng Zer Jun 83ad76637a
test: use `T.TempDir` to create temporary test directory ()
This commit replaces `os.MkdirTemp` with `t.TempDir` in tests. The
directory created by `t.TempDir` is automatically removed when the test
and all its subtests complete.

Prior to this commit, temporary directory created using `os.MkdirTemp`
needs to be removed manually by calling `os.RemoveAll`, which is omitted
in some tests. The error handling boilerplate e.g.
	defer func() {
		if err := os.RemoveAll(dir); err != nil {
			t.Fatal(err)
		}
	}
is also tedious, but `t.TempDir` handles this for us nicely.

Reference: https://pkg.go.dev/testing#T.TempDir

Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2023-04-26 21:39:51 +01:00
frank a2ed1b78dd
feat:support backup/sync ens name () 2023-04-26 23:37:18 +08:00
Michal Iskierko 8acc46f758 feat(collectibles): Mint collectibles (ERC-721):
Add testing smart contract and go api.
Add collectibles service.

Issue 
2023-02-13 12:59:55 +01:00
Icaro Motta e40cbfc28f
feat: Support fetching accepted Activity Center notifications by multiple types ()
Summary
=======

- [x] Changes endpoint ActivityCenterNotificationsBy to support fetching
  multiple types of notification in a single query.
- [x] Adds endpoint UnreadAndAcceptedActivityCenterNotificationsCount to
  allow the mobile client to fetch the count of unread & accepted
  notifications.
- [x] Add `golangci-lint` to Nix shell. This was possible since PR
  https://github.com/status-im/status-go/pull/3087 was merged.

Notes
=====

- If you'd like to understand why these changes are needed, please see
  the mobile PR https://github.com/status-im/status-mobile/pull/14785,
  or issue https://github.com/status-im/status-mobile/issues/14712
- All changes should be completely backwards compatible, and there
  should be no impact for the desktop app.
- The mobile client has been already tested using this branch.
2023-01-20 09:45:32 -03:00
Igor Sirotin f9faac4293
feat: ens_usernames database () 2023-01-20 13:34:30 +03:00
frank 5a4ca88631
use random udp port rather than fixed value 9000 () 2023-01-17 12:03:19 +08:00
Jakub Sokołowski cceba787fa
replace deprecated ioutil.TempDir with os.MkdirTemp
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2023-01-03 15:40:11 +01:00
Anthony Laibe 2f83fb05cf fix: app crash when owner return err 2022-11-24 10:02:26 +01:00
Anthony Laibe b11643e66d feat: hop integration 2022-10-26 09:39:30 +02:00
Anthony Laibe a69a59c601
feat: add reverse lookup for ens () 2022-10-24 12:07:44 +02:00
Richard Ramos bf9abfc350
feat: make kdf iterations configurable when creating a multiaccount () 2022-09-27 16:27:20 -04:00
Roman Volosovskyi 0ecbb5e8d7
[] Fix contact request decision status on Sync All 2022-09-08 17:42:21 +02:00
Richard Ramos 86054875a4
fix: add mode build param and change ipfs gateway accordingly
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-08-26 18:57:55 +02:00
Richard Ramos 92a622d6fb
feat: obtain ENSUsername address from registry () 2022-08-23 08:29:30 -04:00
Richard Ramos 2edcf0e360
fix: ens release username hash ()
* fix: ens release username hash
* fix: IN parameters when obtaining multiple pending trxs
2022-08-08 14:25:53 -04:00
Richard Ramos 30f8bd6dfb
feat: add service for checking if there are new versions available () 2022-06-08 08:38:26 -04:00
Anthony Laibe 4d39547b81
Feat/expose registrar address ()
* feat: expose registrar address

* fix code gen
2022-04-04 12:54:44 -04:00
Andrea Maria Piana 8a5f77dc37 Address linter issues 2022-03-28 13:14:12 +01:00
Richard Ramos 5552f4e4c2 fix: minor issues and adding method to retrieve the stickermarket contract address 2022-03-02 17:46:16 -04:00
Richard Ramos e89f8bbc50 fix: use infura to avoid cloudflare IPFS rate limit 2022-03-02 17:46:16 -04:00
Richard Ramos 0a758b0f7d feat: stickerpacks service 2022-03-02 17:46:16 -04:00
andrey 3cc683587d prepare txs for ens register 2022-02-23 11:28:50 +01:00
Anthony Laibe 22bb09a94f
feat: ens register api () 2022-01-14 12:17:31 +01:00
Anthony Laibe 5512e19d83
feat: ens API use hex return () 2022-01-03 10:07:33 +01:00
Anthony Laibe 12c727df25
feat: Add ens service () 2021-12-21 16:05:09 +01:00