Update opportunity types (#5574)

* Update key for specs

* Update opportunity.ts

* Update opportunity.ts

* Set opportunity Unreachable for now 

opportunity needs to be checked for outdated types

* Update packages/apps-config/src/endpoints/testing.ts

Co-authored-by: Jaco <jacogr@gmail.com>
This commit is contained in:
Hyungsuk Kang 2021-06-13 16:26:08 +09:00 committed by GitHub
parent e3990f1fef
commit 79e934025c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 2 deletions

View File

@ -170,7 +170,7 @@ const spec: Record<string, OverrideBundleDefinition> = {
'node-polkadex': polkadex,
'nodle-chain': nodle,
'oak-testnet': oakTestnet,
'opportunity-node': opportunity,
opportunity,
'origintrail-parachain': origintrail,
parami,
'phala-collator': phalaParachain,

View File

@ -38,7 +38,15 @@ const definitions: OverrideBundleDefinition = {
]
},
AmountOf: 'Amount',
Amount: 'i128'
Amount: 'i128',
DataVersion: 'u64',
RequestIdentifier: 'u64',
SpecIndex: 'Vec<u8>',
CDP: {
liquidation_fee: ('Balance'),
max_collateraization_rate: ('U256'),
stability_fee: ('Balance')
}
}
}
]