frank
735a422230
chore_: create v2 endpoints for status.go to solve EndpointsUnsupported in endpoints.go ( #5943 )
...
* chore_: create v2 endpoints for status.go to use status-backend server
* feat_: support using http for media server (#6060 )
2024-11-19 09:31:29 +00:00
Igor Sirotin
7ee45bab1c
chore_: cleanup unused cmd ( #6045 )
...
* chore!: remove cmd/node-canary
* chore!: remove unused root files
* chore!: remove cmd/bootnode and cmd/statusd-prune
* chore!: remove waku _examples
* chore!: remove cmd/spiff-workflow and cmd/topics
2024-11-11 17:17:41 +07:00
Igor Sirotin
e938635d04
chore_: get version with go generate ( #6014 )
...
* chore_: get version with go generate
* fix_: test-functional
* fix_: trip space in version and gitcommit
* fix_: TestUserAgent
2024-11-03 00:47:15 +00:00
Vedran
6ee62061bc
chore_: enable windows and macos CI build ( #5840 )
...
- Added support for Windows and macOS in CI pipelines
- Added missing dependencies for Windows and x86-64-darwin
- Resolved macOS SDK version compatibility for darwin-x86_64
The `mkShell` override was necessary to ensure compatibility with the newer
macOS SDK (version 11.0) for x86_64. The default SDK (10.12) was causing build failures
because of the missing libs and frameworks. OverrideSDK creates a mapping from
the default SDK in all package categories to the requested SDK (11.0).
2024-10-25 09:40:47 +02:00
Igor Sirotin
679391999f
feat_: `LogOnPanic` linter ( #5969 )
...
* feat_: LogOnPanic linter
* fix_: add missing defer LogOnPanic
* chore_: make vendor
* fix_: tests, address pr comments
* fix_: address pr comments
2024-10-23 21:33:05 +01:00
Igor Sirotin
8dc70e91ea
fix_: functional tests ( #5979 )
...
* fix_: generate on test-functional
* chore(test)_: fix functional test assertion
---------
Co-authored-by: Siddarth Kumar <siddarthkay@gmail.com>
2024-10-23 12:35:07 +01:00
dlipicar
6baf1f78aa
fix(wallet)_: limit max parameter length in cryptocompare price fetches ( #5957 )
...
* fix(wallet)_: limit max parameter length in cryptocompare price fetches
* chore(wallet)_: separate package for network-dependant unit tests
2024-10-21 08:57:28 -03:00
Igor Sirotin
7971fd3bcb
chore(Makefile)_: generate before run status backend ( #5954 )
2024-10-16 21:43:51 +03: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
Igor Sirotin
664b6ea6d4
fix(Makefile)_: generate before vendor ( #5913 )
2024-10-04 14:59:45 +01: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
Igor Sirotin
ae2ec8f369
chore_: rename integration tests to functional tests ( #5908 )
2024-10-03 14:51:51 +01: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
Igor Sirotin
031b5342f1
chore_: move/rename files messing generation ( #5897 )
...
* refactor_: rename migrations file
* refactor_: move generate_handlers to cmd
* fix_: makefile generate_handlers path
2024-09-30 19:19:36 +01:00
Igor Sirotin
fc36a7e980
feat(cmd)_: `status-backend` ( #5847 )
...
* feat_: server supports for mobile api
fix(statusd)_: manually serve
* feat_: generate endpoints list from status/mobile.go
* chore_: mark public endpoint OpenAccounts as deprecated
* chore_: added status-backend makefile targets
* feat_: expose deprecated endpoints, with special header field
* docs(status-backend)_: added README
2024-09-27 16:02:18 +01:00
Igor Sirotin
d794e43347
feat_: functional tests coverage ( #5805 )
...
* feat_: functional tests coverage
* fix_: codecov yaml
2024-09-24 16:33:26 +01:00
dlipicar
dd994587a3
chore_: initial steps to decouple rpc chain modules ( #5856 )
...
* chore_: moved chain rpclimiter and tagger to separate packages
* chore_: initial steps to decouple rpc chain modules
2024-09-24 14:07:26 +01:00
Siddarth Kumar
c1ce30ad20
chore(android)_: specify android api version
2024-09-22 18:29:17 +05:30
dlipicar
f165103f66
chore_: migrate to uber's mock fork ( #5858 )
...
* chore_: migrate to uber's mock fork
* chore_: make vendor
2024-09-20 10:08:11 +01:00
Igor Sirotin
ff7de68845
fix_: run git hooks in simple shell ( #5841 )
2024-09-18 10:17:08 +01:00
Igor Sirotin
ea290d97ef
feat_: Integrate Codecov ( #5796 )
...
* feat_: added `codecov-cli` nix derivation
* feat_: added simple codecov configuration
* feat_: add UNIT_TEST_REPORT_CODECOV ci flag
* feat_: upload logs and reports to codecov
2024-09-05 10:11:16 +01:00
Igor Sirotin
7623f68679
fix_: nightly test runs ( #5791 )
...
* fix_: run nightly protocol tests as separate processes
* fix_: calculate timeout
* fix_: TEST_WITH_COVERAGE_REPORTS_DIR
* fix_: proper filter protocol package
* chore_: log run_unit_tests stages
* fix_: coverage reports merging
* chore_: more logs
* chore_: fix typo
* chore_: increase test timeouts
* fix_: properly filter packages
* feat_: UNIT_TEST_DRY_RUN flag for tests run
* fix_: UNIT_TEST_PACKAGES_FILTERED calculation
* fix_: remove the force-run waku test first
* fix_: delete unused file
2024-09-03 12:50:09 +01:00
Igor Sirotin
8491e76a34
fix_: separate commit message check ( #5773 )
...
* chore_: add github action conventional commits
* chore_: remove commit check from tests run
* fix_: continue checking commits when breaking change found
* fix_: don't run check on pr edit
2024-08-27 22:42:06 +01:00
Igor Sirotin
cc722359b5
chore_: run tests concurrently ( #5731 )
...
* chore_: fake flaky tests
* chore_: run tests in parallel (wip)
* chore_: test-with-coverage-old
* chore_: lint-fix fake flaky tests
* chore_: cleanup
* chore_:
* chore_: lint-fix fake flaky tests
* chore_: enable running some tests sequentially
* chore_: enable back all tests
* chore_: no sequential packages
* chore_: cleanup
* chore_: remove fake flaky packages
* chore_: cleanup
* chore_: attempt UNIT_TEST_COUNT as test count
* chore_: spawn multiple processes
* fix_: don't spawn multiple processes
* chore_: revert redirect_stdout changes
* fix_: update Jenkinsfile
* fix_: use env variables
* fix_: typo
2024-08-26 10:03:26 +01:00
Igor Sirotin
ef85895f65
fix_: pass proper version to params ( #5735 )
...
* fix_: pass proper version to params
* fix_: use --dirty flag
* fix_: delete version_test
* fix_: pass proper version to artifacts
2024-08-19 16:47:11 +01:00
Andrea Maria Piana
0954a4ad13
feat!: drive proxy stage name from the client
2024-08-14 18:50:01 +00:00
dlipicar
b9d083c6d5
feat(wallet): add split onramp url endpoint ( #5656 )
...
* feat(wallet)_: add split onramp url endpoint & fix onrmap url
2024-08-12 12:53:32 +00:00
dlipicar
d7fcbd3444
feat(wallet)_: handle paraswap price impact error ( #5622 )
2024-08-07 23:33:44 +01:00
Ivan Belyakov
b74d9e6b4e
feat(wallet)_: add status proxy RPC urls for blockchain providers
...
Replace the status proxy URL for cryptocompare.
2024-08-01 08:19:20 +02:00
IvanBelyakoff
bf6c0c4cc6
fix(wallet)_: fix provider down event happening too often ( #5595 )
...
* fix(wallet)_: fix provider down event happening too often
- handle context cancelled error
- do not count expected errors when calling tokenURI as providers
errors
- use archival not for optimism (was silently added by Grove makeing the
old URL non-archival)
Closes #5555
* test(wallet)_: add test for collectibles manager to verify that main
circuit is not tripped calling by tokenURI method
2024-07-29 18:07:43 +01:00
Anton Iakimov
38192e3fb7
fix(ci)_: fix rpc tests file permissions
2024-07-10 17:22:45 +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
Jakub Sokołowski
0d82dbe240
feat(ci)_: add Jenkinsfile, Dockerfile for RPC tests
...
Also add curl to Docker image.
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-07-04 16:14:02 +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
Igor Sirotin
ad96e557bf
fix_: bring back waku tests ( #5437 )
2024-06-28 10:02:41 +02:00
kaichao
1d1d6e3276
chore_: set lower max delivery attempts ( #5382 )
...
* chore_: update message delivery max attemts.
* chore_: regenerate appdatabase bindata
2024-06-21 23:20:54 +08:00
Ivan Belyakov
bd816f1e29
chore(wallet)_: tests for wallet.Reader fetching balances
...
chore(wallet)_: split getWalletTokenBalances into multiple functions
Removed some unused balances methods from wallet API
chore(wallet)_: refactored FetchOrGetWalletTokenBalances
- getWalletTokenBalances only returns cached ones
- update of balances is done in a separate method
chore(wallet)_: fix isVisible in getWalletTokenBalances is overwritten
It is overwritten and in some cases its value is desrespected
chore(wallet)_: simplify getWalletTokenBalance even further
chore(wallet)_: remove accountsDB from wallet.Reader
Call GetTestNetworkEnabled from NetworkManager instead
chore(wallet)_: remove rpc.Client from wallet.Reader.
Added GetActiveNetworks() method for NetworkManager
Removed adding native tokens from networks, as this is done already
in NetworkManager
chore(wallet)_: moved Persistence to token package
As it works with token_balances table, moved Persistence to token package.
Fixed TokenManager's Mark/Get previously owned tokens to use persistence
storage instead of direct SQL calls.
Introduced StorageToken that aggregates Token type, because when
Persistence moved to token package, names clash
test(wallet)_: tests for wallet.Reader.FetchorGetCachedBalances
2024-06-19 16:57:50 +01:00
Anton
b2a184ea78
test(integration)_: separate anvil from tests
2024-06-18 17:17:23 +02:00
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
Samuel Hawksby-Robinson
66cd084084
chore(no-torrent)_: Copy and pasted Andrea's work
...
https://github.com/status-im/status-go/pull/5295
2024-06-07 13:44:12 +01:00
Mikhail Rogachev
27687eb8f4
fix_: replace define statements in makefile with assignment ( #5286 )
...
Replacing define statements with assignments required to build with a
lower version of GNU Make 3.81, which is the default for macOS 14.3.1.
Used by desktop PR:
https://github.com/status-im/status-desktop/pull/15036
2024-06-04 18:57:19 +02:00
Jakub Sokołowski
dfdc1652a2
fix(make)_: use shell to get git commit and author
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-06-04 10:31:19 +02:00
Ivan Belyakov
a135b27980
test(wallet)_: created Transactor interface
...
- Moved some methods from Transactor to users of it to clean interface.
- Mocked Bridge interface and Transactor interface for tests
- Wrote unit tests for SendTransaction
2024-05-31 09:58:06 +02:00
Igor Sirotin
068ae3b67c
chore_: setup ci codeclimate coverage reports ( #5101 )
...
* chore_: nix derivation with cc-test-reporter
2024-05-08 09:25:01 +01:00
Cuteivist
7ba9a00fee
chore_: Fix Windows build ( #5067 )
2024-05-07 14:02:38 +02:00
Igor Sirotin
11dc6976bd
fix(Makefile)_: clear goroot env variable ( #5079 )
2024-04-26 17:26:36 +02:00
Jakub Sokołowski
ba04237972
fix(nix)_: avoid warning about default shell fallback
...
Signed-off-by: Jakub Sokołowski <jakub@status.im>
2024-04-11 16:23:47 +03:00
Andrea Maria Piana
8c7a6aa54d
chore_: Add tag-version command
2024-04-10 11:43:13 +01:00
Alexis Pentori
f9df853e4a
nix: Updating Nix Shell and Makefile to use nix-shell
...
Signed-off-by: Alexis Pentori <alexis@status.im>
2024-04-09 12:49:06 +03:00
Anton Iakimov
2b7306d62d
refactor: move lint args to configuration file
2024-04-09 10:17:59 +02:00