Introduce Subspace Gemini 1 to the list test networks (#7646)
This commit is contained in:
parent
9aa73cb999
commit
a76a2bd69c
@ -21,6 +21,7 @@ interface HeaderExtended extends Header {
|
||||
|
||||
interface Solution extends Struct {
|
||||
readonly public_key: AccountId32;
|
||||
readonly reward_address: AccountId32;
|
||||
}
|
||||
|
||||
interface SubPreDigest extends Struct {
|
||||
@ -42,7 +43,7 @@ function extractAuthor (
|
||||
|
||||
const { solution }: SubPreDigest = api.registry.createType('SubPreDigest', preRuntimes[0].asPreRuntime[1]);
|
||||
|
||||
return solution.public_key;
|
||||
return solution.reward_address;
|
||||
}
|
||||
|
||||
function createHeaderExtended (
|
||||
@ -114,7 +115,8 @@ const definitions: OverrideBundleDefinition = {
|
||||
minmax: [0, undefined],
|
||||
types: {
|
||||
Solution: {
|
||||
public_key: 'AccountId32'
|
||||
public_key: 'AccountId32',
|
||||
reward_address: 'AccountId32'
|
||||
},
|
||||
SubPreDigest: {
|
||||
slot: 'u64',
|
||||
|
||||
@ -516,7 +516,16 @@ export const testChains: EndpointOption[] = [
|
||||
info: 'subspace-farmnet',
|
||||
text: 'Subspace Farmnet',
|
||||
providers: {
|
||||
'Subspace Network': 'wss://farm-rpc.subspace.network'
|
||||
'Subspace Network': 'wss://farm-rpc.subspace.network/ws'
|
||||
}
|
||||
},
|
||||
{
|
||||
info: 'subspace-gemini-1',
|
||||
text: 'Subspace Gemini 1',
|
||||
providers: {
|
||||
'North America': 'wss://na.gemini-1a.subspace.network/ws',
|
||||
Europe: 'wss://eu.gemini-1a.subspace.network/ws',
|
||||
Asia: 'wss://apac.gemini-1a.subspace.network/ws'
|
||||
}
|
||||
},
|
||||
{
|
||||
|
||||
@ -826,6 +826,7 @@ export const namedLogos: Record<string, unknown> = {
|
||||
subsocialX: nodeSubsocialX,
|
||||
subspace: nodeSubspace,
|
||||
'subspace-farmnet': nodeSubspace,
|
||||
'subspace-gemini-1': nodeSubspace,
|
||||
substrate: nodeSubstrate,
|
||||
substrateContractsNode: nodeSubstrateContractsNode,
|
||||
swapdex: nodeSwapdex,
|
||||
|
||||
@ -1971,8 +1971,6 @@
|
||||
"rpc.test.sora-substrate-staging": "",
|
||||
"rpc.test.subdao": "",
|
||||
"rpc.test.subgame": "",
|
||||
"rpc.test.subspace": "",
|
||||
"rpc.test.subspace.farmnet": "",
|
||||
"rpc.test.ternoa-testnet": "",
|
||||
"rpc.test.turbulence": "",
|
||||
"rpc.test.uniarts": "",
|
||||
@ -2214,4 +2212,4 @@
|
||||
"{{threshold}}, passing": "{{threshold}}, проходит",
|
||||
"{{type}} copied": "",
|
||||
"{{value}}x voting balance, locked for {{lock}}x enactment ({{period}} days)": "{{value}}x баланс голосования, заблокировано на {{lock}}x ({{period}} дней)"
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user