Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sync v0.9.0 dev into digibyte #94

Merged
merged 36 commits into from
Jan 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
cf93eca
GetOrderbook mmrpc 2.0
naezith Oct 5, 2023
122aa92
orderbook response data is in result field
naezith Oct 5, 2023
0812b5c
rename num_asks, num_bids, net_id fields
naezith Oct 5, 2023
e2d94e3
orderbook v2 price and price_fraction
naezith Oct 5, 2023
4959e32
orderbook v2 volume fields
naezith Oct 5, 2023
cd34974
orderbook v2 address field
naezith Oct 5, 2023
b1198b5
Bug - Improve coin updater error handling
CharlVS Nov 20, 2023
cb71bd5
Refactor `share` to `share_plus` and add home page log export
CharlVS Nov 21, 2023
6379ee6
Sync iOS dependencies with Dart packages
CharlVS Dec 5, 2023
1fd20e8
Show a snackbar if there are no logs to download
takenagain Dec 7, 2023
be1f64a
Change log download file extension to `.gz`
takenagain Dec 7, 2023
c4e6e38
Update coin icons
CharlVS Dec 17, 2023
2c49e01
Update bundled coin config json
CharlVS Dec 17, 2023
78221f8
Update net ID
CharlVS Dec 17, 2023
60113f4
Bump app version
CharlVS Dec 17, 2023
0770e0a
Merge branch 'dev' into orderbook-v2
CharlVS Dec 17, 2023
eaf7a3b
Fix - upgrade min android SDK for failed builds
CharlVS Dec 17, 2023
7fe0b94
Fix order book incorrect amounts
CharlVS Dec 17, 2023
8dcbbcb
Merge pull request #86 from KomodoPlatform/fix-file-sharing-export
ca333 Dec 18, 2023
a9fa266
Merge pull request #88 from KomodoPlatform/update-netid-and-coins
ca333 Dec 18, 2023
93c4041
Merge pull request #89 from KomodoPlatform/orderbook-v2
ca333 Dec 18, 2023
b4d69d1
Update coin config (#90)
CharlVS Dec 19, 2023
8d83c31
BTC -> BTC-segwit
smk762 Dec 25, 2023
7ce53e7
add wallet only coins to app_config.dart
smk762 Dec 27, 2023
5653967
move workflow inline python into files
smk762 Dec 27, 2023
36c6afd
Merge pull request #92 from KomodoPlatform/update-default-coins
smk762 Dec 27, 2023
88d80f6
Merge branch 'dev' into white-label/dev/digibyte
takenagain Jan 15, 2024
4c6d081
Rebrand log filename
takenagain Jan 16, 2024
e6548bd
Sync coin config JSONs
CharlVS Jan 18, 2024
ce02918
Sync coin icons
CharlVS Jan 18, 2024
7969f05
Set coins CI to correct hash
CharlVS Jan 18, 2024
b5abb82
rm non-segwit variants from wallet_only config
smk762 Jan 18, 2024
402bef1
add back the ones that are actually wallet only
smk762 Jan 18, 2024
8a989c7
update coins hash
smk762 Jan 18, 2024
3a835dc
Merge pull request #96 from KomodoPlatform/sync-coins
ca333 Jan 19, 2024
bc48e7f
Merge pull request #97 from KomodoPlatform/dev
ca333 Jan 19, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 2 additions & 30 deletions .github/workflows/validate_coins.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,36 +46,8 @@ jobs:
run: json-diff assets/coins_config.json coins_config.json

- name: Check wallet-only coins
run: |
python3 -c "
import json, re
with open('assets/coins_config.json', 'r') as f:
coins_json = json.load(f)
wallet_only_coins = [coin['coin'] for coin in coins_json.values() if coin['wallet_only']]
with open('lib/app_config/app_config.dart', 'r') as f:
dart_file = f.read()
coins_dart = re.findall(r'walletOnlyCoins => \[\s*([^]]+?)\s*\]', dart_file)
coins_dart = [coin.strip().strip('\'') for coin in coins_dart[0].split(',') if coin]
missing_coins = set(wallet_only_coins) - set(coins_dart)
assert len(missing_coins) == 0, f'Missing coins: {missing_coins}'
"
run: python3 utils/check_wallet_only.py

- name: Check URLs in app_config.dart
run: |
python3 -c "
import re, requests
with open('lib/app_config/app_config.dart', 'r') as f:
dart_file = f.read()
urls = re.findall(r'http[s]?://(?:[a-zA-Z]|[0-9]|[$-_@.&+]|/|[!*\\(\\),]|(?:%[0-9a-fA-F][0-9a-fA-F]))+', dart_file)
for url in urls:
try:
if 'discord' in url or 'github.com' in url or url.endswith('?') or '/api/' in url:
continue
cleaned_url = url.rstrip('.,;\'"')
response = requests.head(cleaned_url, allow_redirects = True)
if response.status_code >= 400 and response.status_code != 405:
raise AssertionError(f'{cleaned_url} is unreachable (HTTP {response.status_code})')
except requests.ConnectionError:
raise AssertionError(f'{cleaned_url} is unreachable (Connection Error)')
"
run: python3 utils/check_urls.py

2 changes: 1 addition & 1 deletion android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ android {

defaultConfig {
applicationId "io.digibyte.dex"
minSdkVersion 27
minSdkVersion 28
targetSdkVersion 31
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
Expand Down
2 changes: 1 addition & 1 deletion android/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ allprojects {

rootProject.buildDir = '../build'
subprojects {
project.buildDir = "${rootProject.buildDir}/${project.name}"
project.buildDir = "${rootProject.buildDir}/${project.name}"
}
subprojects {
project.evaluationDependsOn(':app')
Expand Down
Binary file added assets/coin-icons/blocx.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/coin-icons/borg.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/coin-icons/bsty.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/coin-icons/cds.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/coin-icons/clp.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/coin-icons/cst.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/coin-icons/diac.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/coin-icons/eure.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/coin-icons/glc.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/coin-icons/kiiro.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/coin-icons/nyc.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/coin-icons/sum.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Loading