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

[ASSET-38] Update Kaia network #43

Merged
merged 5 commits into from
Dec 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Related issue: [ASSET-000](https://pi-lab.atlassian.net/browse/ASSET-000)

## Checklist

- [ ] Did you pass the tests? (Did you execute `pytest -l` in your PC and get a green light?)
- [ ] Did you pass the tests? (Did you execute `pytest -l -all` in your PC and get a green light?)
- [ ] Did you run the pre-process?
- [ ] Have you added and run tests to validate the changes?
- [ ] Have you updated the documentation?
Expand Down
20 changes: 8 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,25 +10,21 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Checkout code
uses: actions/checkout@v2
with:
fetch-depth: 0

- name: Fetch all tags
run: git fetch --tags

- name: Set up Python 3.12
uses: actions/setup-python@v2
with:
python-version: "3.12"

- name: Set up requirements for simple test
if: github.event_name == 'pull_request'
run: pip install -e ".[test_simple]"

- name: Test without rpc using test
if: github.event_name == 'pull_request'
run: pytest -l --skip-rpc-using-test --skip-image-test --ignore=tests/additional/test_file.py

- name: Set up requirements
if: github.event_name == 'push'
run: pip install -e ".[test]"

- name: Test with rpc using test
if: github.event_name == 'push'
- name: Test
run: pytest -l
Binary file added assets/kaia-0/image-128.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/kaia-0/image-256.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/kaia-0/image-32.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/kaia-0/image-64.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
44 changes: 44 additions & 0 deletions assets/kaia-0/image.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 9 additions & 9 deletions assets/klay-0/info.json → assets/kaia-0/info.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
{
"address": "0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE",
"decimals": 18,
"name": "KLAY",
"name": "KAIA",
"network": "evm-1001",
"symbol": "KLAY",
"symbol": "KAIA",
"tags": [
"native-coin",
"testnet"
Expand All @@ -14,36 +14,36 @@
{
"address": "0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE",
"decimals": 18,
"name": "KLAY",
"name": "KAIA",
"network": "evm-8217",
"symbol": "KLAY",
"symbol": "KAIA",
"tags": [
"mainnet",
"native-coin"
]
}
],
"id": "klay-0",
"id": "kaia-0",
"images": {
"png128": true,
"png256": true,
"png32": true,
"png64": true,
"svg": true
},
"name": "KLAY",
"name": "KAIA",
"references": [
{
"id": "coingecko",
"url": "https://www.coingecko.com/en/coins/klaytn"
"url": "https://www.coingecko.com/en/coins/kaia"
},
{
"id": "coinmarketcap",
"url": "https://coinmarketcap.com/currencies/klaytn/"
"url": "https://coinmarketcap.com/currencies/kaia/"
}
],
"tags": [
"klaytn",
"kaia",
"native-coin"
]
}
Binary file removed assets/klay-0/image-128.png
Binary file not shown.
Binary file removed assets/klay-0/image-256.png
Binary file not shown.
Binary file removed assets/klay-0/image-32.png
Binary file not shown.
Binary file removed assets/klay-0/image-64.png
Binary file not shown.
20 changes: 0 additions & 20 deletions assets/klay-0/image.svg

This file was deleted.

Binary file added assets/unknown-kaia/image-128.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/unknown-kaia/image-256.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/unknown-kaia/image-32.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/unknown-kaia/image-64.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 18 additions & 0 deletions assets/unknown-kaia/image.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
{
"address": "0xFFfFfFffFFfffFFfFFfFFFFFffFFFffffFfFFFfF",
"decimals": 0,
"name": "Unknown Klaytn Asset",
"name": "Unknown Kaia Asset",
"network": "evm-1001",
"symbol": "UNKNOWN",
"tags": [
Expand All @@ -13,25 +13,25 @@
{
"address": "0xFFfFfFffFFfffFFfFFfFFFFFffFFFffffFfFFFfF",
"decimals": 0,
"name": "Unknown Klaytn Asset",
"name": "Unknown Kaia Asset",
"network": "evm-8217",
"symbol": "UNKNOWN",
"tags": [
"mainnet"
]
}
],
"id": "unknown-klaytn",
"id": "unknown-kaia",
"images": {
"png128": true,
"png256": true,
"png32": true,
"png64": true,
"svg": true
},
"name": "Unknown Klaytn Asset",
"name": "Unknown Kaia Asset",
"references": [],
"tags": [
"klaytn"
"kaia"
]
}
Binary file removed assets/unknown-klaytn/image-128.png
Binary file not shown.
Binary file removed assets/unknown-klaytn/image-256.png
Binary file not shown.
Binary file removed assets/unknown-klaytn/image-32.png
Binary file not shown.
Binary file removed assets/unknown-klaytn/image-64.png
Binary file not shown.
5 changes: 0 additions & 5 deletions assets/unknown-klaytn/image.svg

This file was deleted.

Binary file removed assets/wklay-0/image-128.png
Binary file not shown.
Binary file removed assets/wklay-0/image-256.png
Binary file not shown.
Binary file removed assets/wklay-0/image-32.png
Binary file not shown.
Binary file removed assets/wklay-0/image-64.png
Binary file not shown.
20 changes: 0 additions & 20 deletions assets/wklay-0/image.svg

This file was deleted.

38 changes: 0 additions & 38 deletions assets/wklay-0/info.json

This file was deleted.

16 changes: 6 additions & 10 deletions enums/ids/asset.json
Original file line number Diff line number Diff line change
Expand Up @@ -695,6 +695,10 @@
"description": "JUST",
"value": "jst-1"
},
{
"description": "KAIA",
"value": "kaia-0"
},
{
"description": "KarratCoin",
"value": "karrat-0"
Expand All @@ -711,10 +715,6 @@
"description": "Kendu Inu",
"value": "kendu-0"
},
{
"description": "KLAY",
"value": "klay-0"
},
{
"description": "Kusama",
"value": "ksm-1"
Expand Down Expand Up @@ -1268,8 +1268,8 @@
"value": "unknown-ethereum"
},
{
"description": "Unknown Klaytn Asset",
"value": "unknown-klaytn"
"description": "Unknown Kaia Asset",
"value": "unknown-kaia"
},
{
"description": "Unknown Optimism Asset",
Expand Down Expand Up @@ -1379,10 +1379,6 @@
"description": "Witch Token",
"value": "witch-0"
},
{
"description": "Wrapped Klay",
"value": "wklay-0"
},
{
"description": "Worldcoin",
"value": "wld-0"
Expand Down
8 changes: 6 additions & 2 deletions enums/ids/network.explorer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,12 @@
"description": "Explorer powered by Etherscan"
},
{
"value": "klaytnscope",
"description": "Explorer for Klaytn network"
"value": "kaiascan",
"description": "Explorer powered by BISONAI"
},
{
"value": "kaiascope",
"description": "Explorer powered by Ozys"
},
{
"value": "otterscan",
Expand Down
4 changes: 2 additions & 2 deletions enums/ids/network.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"value": "evm-10"
},
{
"description": "Klaytn Testnet Baobab",
"description": "Kaia Testnet Kairos",
"value": "evm-1001"
},
{
Expand Down Expand Up @@ -88,7 +88,7 @@
"value": "evm-80002"
},
{
"description": "Klaytn Mainnet Cypress",
"description": "Kaia Mainnet",
"value": "evm-8217"
},
{
Expand Down
4 changes: 2 additions & 2 deletions enums/tags/asset.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@
"description": "Main network of asset is Ethereum"
},
{
"value": "klaytn",
"description": "Main network of asset is Klaytn"
"value": "kaia",
"description": "Main network of asset is Kaia"
},
{
"value": "native-coin",
Expand Down
4 changes: 2 additions & 2 deletions enums/tags/network.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@
"description": "Goerli testnet"
},
{
"value": "klaytn",
"description": "Klaytn networks"
"value": "kaia",
"description": "Kaia networks"
},
{
"value": "l2-ethereum",
Expand Down
Binary file modified networks/evm-1001/image-128.png
Binary file modified networks/evm-1001/image-256.png
Binary file modified networks/evm-1001/image-32.png
Binary file modified networks/evm-1001/image-64.png
Loading
Loading