Update Phala testnet (PoC2 => PoC3) (#4148)

* Update Phala testnet (PoC2 => PoC3)

* Update Phala logo and color

* Fix type

* Fix import order

* Fix logo
This commit is contained in:
LusWar 2020-12-03 17:50:20 +08:00 committed by GitHub
parent bceacb19f9
commit ad2e4813e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
10 changed files with 89 additions and 15 deletions

View File

@ -7,5 +7,5 @@ import Phala from './phala';
// alphabetical, based on the actual displayed name
export default {
Beresheet,
'Phala PoC-2': Phala
'Phala PoC-3': Phala
};

View File

@ -5,7 +5,30 @@
/* eslint-disable sort-keys */
export default {
SequenceType: 'u32',
// substrate
RefCount: 'u8'
EcdsaSignature: '[u8; 65]',
EthereumAddress: 'H160',
EthereumTxHash: 'H256',
MiningInfo: {
isMining: 'bool',
startBlock: 'Option<BlockNumber>'
},
PayoutPrefs: {
commission: 'u32',
target: 'AccountId'
},
Score: {
features: 'Vec<u32>',
overallScore: 'u32'
},
StashInfo: {
controller: 'AccountId',
payoutPrefs: 'PayoutPrefs'
},
WorkerInfo: {
machineId: 'Vec<u8>',
pubkey: 'Vec<u8>',
lastUpdated: 'u64',
score: 'Option<Score>',
status: 'i32'
}
};

View File

@ -21,6 +21,7 @@ import kulupu from './kulupu';
import moonbeam from './moonbeam';
import nodeTemplate from './node-template';
import nodle from './nodle';
import phala from './phala';
import plasm from './plasm';
import robonomics from './robonomics';
import stablePoc from './stable-poc';
@ -53,6 +54,7 @@ export default {
'node-moonbeam': moonbeam,
'node-template': nodeTemplate,
'nodle-chain': nodle,
'phala-node': phala,
plasm,
robonomics,
'stable-poc': stablePoc,

View File

@ -0,0 +1,34 @@
// Copyright 2017-2020 @polkadot/apps-config authors & contributors
// SPDX-License-Identifier: Apache-2.0
// structs need to be in order
/* eslint-disable sort-keys */
export default {
EcdsaSignature: '[u8; 65]',
EthereumAddress: 'H160',
EthereumTxHash: 'H256',
MiningInfo: {
isMining: 'bool',
startBlock: 'Option<BlockNumber>'
},
PayoutPrefs: {
commission: 'u32',
target: 'AccountId'
},
Score: {
features: 'Vec<u32>',
overallScore: 'u32'
},
StashInfo: {
controller: 'AccountId',
payoutPrefs: 'PayoutPrefs'
},
WorkerInfo: {
machineId: 'Vec<u8>',
pubkey: 'Vec<u8>',
lastUpdated: 'u64',
score: 'Option<Score>',
status: 'i32'
}
};

View File

@ -345,9 +345,9 @@ function createTestNetworks (t: TFunction): LinkOption[] {
},
{
info: 'phala',
text: t('rpc.phala', 'Phala PoC-2', { ns: 'apps-config' }),
text: t('rpc.phala', 'Phala PoC-3', { ns: 'apps-config' }),
textBy: t('rpc.hosted.by', 'hosted by {{host}}', { ns: 'apps-config', replace: { host: 'Phala Network' } }),
value: 'wss://poc2.phala.network/ws'
value: 'wss://poc3.phala.network/ws'
},
{
info: 'laminar',

View File

@ -14,7 +14,7 @@ const chainCrust = '#ff8812';
const chainDarwinia = 'linear-gradient(-45deg, #FE3876 0%, #7C30DD 71%, #3A30DD 100%)';
const chainHanonycash = '#0099CC';
const chainKulupu = '#003366';
const chainPhala = '#4dc56a';
const chainPhala = '#a7e300';
const chainPlasm = '#2096F3';
const chainPolkadot = '#e6007a';
const chainKusama = '#000000';
@ -59,7 +59,7 @@ export const chainColors: Record<string, any> = [
['Kusama CC3', chainKusama],
['laminar turbulence pc1', chainRococoLaminar],
['Moonbase Alpha', nodeMoonbeam],
['phala poc 2', chainPhala],
['Phala poc 3', chainPhala],
['Plasm', chainPlasm],
['Polkadot', chainPolkadot],
['Polkadot CC1', chainPolkadot],

View File

@ -1,3 +1,18 @@
<svg width="1737" height="1737" viewBox="0 0 1737 1737" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M868.5 1737C1348.16 1737 1737 1348.16 1737 868.5C1737 388.841 1348.16 0 868.5 0C388.841 0 0 388.841 0 868.5C0 1348.16 388.841 1737 868.5 1737ZM868.652 1340.96C877.712 1340.96 877.712 1340.96 883.941 1335.29C886.958 1332.55 888.513 1331.14 889.316 1329.38C890.17 1327.51 890.17 1325.24 890.17 1320.57V1068.01C890.17 1061.69 890.17 1059.29 891.251 1057.56C891.913 1056.51 892.98 1055.71 894.701 1054.42C896.185 1053.31 897.183 1052.56 898.292 1052.05C900.569 1051.02 903.313 1051.02 911.689 1051.02H1031.74C1065.94 1051.02 1082.93 1051.02 1098.73 1046.69C1114.32 1042.42 1128.76 1033.92 1157.45 1017.04C1215.22 983.068 1215.22 983.068 1249.19 925.307L1249.19 925.306C1266.07 896.615 1274.56 882.176 1278.84 866.58C1283.17 850.779 1283.17 833.792 1283.17 799.593C1283.17 765.51 1283.17 748.522 1278.88 732.695C1274.62 716.967 1266.13 702.385 1249.19 673.313C1215.22 614.986 1215.22 614.986 1157.45 581.009C1128.76 564.132 1114.32 555.638 1098.73 551.363C1082.93 547.032 1065.94 547.032 1031.74 547.032H781.445C773.517 547.032 773.517 547.032 767.288 553.261C764.211 556.338 762.654 557.895 761.866 559.774C761.059 561.7 761.059 563.965 761.059 568.551V672.747C761.059 677.332 761.059 679.597 761.866 681.523C762.654 683.403 764.211 684.96 767.288 688.036C773.517 694.265 773.517 694.265 781.445 694.265H1031.74C1074.78 694.265 1074.78 694.265 1105.92 724.844C1121.42 740.055 1129.2 747.699 1133.11 756.977C1137.07 766.352 1137.07 777.394 1137.07 799.593C1137.07 820.98 1137.07 831.739 1133.25 840.904C1129.38 850.182 1121.59 857.826 1105.92 873.209L1105.92 873.21C1074.78 903.789 1074.78 903.789 1031.74 903.789H781.445C773.517 903.789 773.517 903.789 767.288 910.018C764.211 913.094 762.654 914.651 761.866 916.531C761.059 918.457 761.059 920.722 761.059 925.307V1320.57C761.059 1324.35 761.059 1326.33 761.735 1328.04C762.476 1329.92 764.03 1331.47 767.288 1334.73C773.517 1340.96 773.517 1340.96 781.445 1340.96H868.652ZM562.387 560.728C562.387 553.146 556.241 547 548.659 547H466.341C458.759 547 452.613 553.146 452.613 560.728L452.612 621.612L391.728 621.613C384.146 621.613 378 627.759 378 635.341V717.659C378 725.241 384.146 731.387 391.728 731.387L452.612 731.387L452.613 792.272C452.613 799.854 458.759 806 466.341 806H548.659C556.241 806 562.387 799.854 562.387 792.272L562.387 731.387L623.272 731.387C630.854 731.387 637 725.241 637 717.659V635.341C637 627.759 630.854 621.613 623.272 621.613L562.387 621.612L562.387 560.728Z" fill="black"/>
<svg id="layer_1" data-name="layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 500 500">
<defs>
<style>
.cls-1 {
fill: #d1ff52;
}
</style>
</defs>
<title>board 14</title>
<circle cx="250" cy="250" r="250" />
<rect class="cls-1" x="180" y="259.85" width="171.5" height="57.17" />
<rect class="cls-1" x="351.51" y="174.1" width="57.17" height="85.76" />
<polygon class="cls-1"
points="180 317.03 122.82 317.03 122.82 331.32 122.82 345.62 122.82 402.78 179.99 402.78 179.99 345.62 180 345.62 180 317.03" />
<polygon class="cls-1"
points="351.51 116.93 180 116.93 171.78 116.93 122.82 116.93 122.82 231.27 122.82 249.52 122.82 259.86 180 259.86 180 249.52 180 231.27 180 174.1 351.51 174.1 351.51 116.93" />
<rect class="cls-1" x="180" y="259.85" width="171.5" height="57.17" />
</svg>

Before

Width:  |  Height:  |  Size: 2.5 KiB

After

Width:  |  Height:  |  Size: 855 B

View File

@ -37,7 +37,7 @@
"rpc.moonbeam": "Moonbase Alpha",
"rpc.nodle-arcadia": "Arcadia",
"rpc.nodle-main": "Nodle Main",
"rpc.phala": "Phala PoC-2",
"rpc.phala": "Phala PoC-3",
"rpc.plasm": "Plasm",
"rpc.polkadot.onfinality": "Polkadot",
"rpc.polkadot.parity": "Polkadot",

View File

@ -1317,7 +1317,7 @@
"rpc.mandala": "Mandala (Testnet Acala, hébergé par Acala)",
"rpc.nodle-arcadia": "Arcadia (Testnet Nodle, hébergé par Nodle)",
"rpc.nodle-main": "Nodle Main",
"rpc.phala": "Phala PoC-2",
"rpc.phala": "Phala PoC-3",
"rpc.plasm": "Plasm",
"rpc.polkadot.parity": "Polkadot",
"rpc.polkadot.w3f": "Polkadot",
@ -1519,4 +1519,4 @@
"{{threshold}}, not passing": "{{seuil} }, ne dépassant pas",
"{{threshold}}, passing": "{{seuil}}, passant",
"{{value}}x voting balance, locked for {{lock}}x enactment ({{period}} days)": "{{value}} x solde de vote, verrouillé pendant {{lock}} x décret ({{period}} jours)"
}
}

View File

@ -1281,7 +1281,7 @@
"rpc.mandala": "만달라(Acala 테스트넷, Acala가 운영함)",
"rpc.nodle-arcadia": "Arcadia (Nodle 테스트넷, Nodle이 운영함)",
"rpc.nodle-main": "노들 메인",
"rpc.phala": "팔라 PoC-2",
"rpc.phala": "팔라 PoC-3",
"rpc.plasm": "플라즈마",
"rpc.polkadot.parity": "폴카닷",
"rpc.polkadot.w3f": "폴카닷",
@ -1479,4 +1479,4 @@
"{{threshold}}, not passing": "{{threshold}}, 통과되지 않았습니다",
"{{threshold}}, passing": "{{threshold}}, 통과되었습니다",
"{{value}}x voting balance, locked for {{lock}}x enactment ({{period}} days)": "{{value}}x 투표 발란스, 잠금 {{lock}}x제정 ({{period}} days)"
}
}