Skip to content

Commit

Permalink
chore: improve centrifuge config mocks (#723)
Browse files Browse the repository at this point in the history
* chore: improve centrifuge config

* fix: add missing feeder address
  • Loading branch information
wischli authored Apr 3, 2024
1 parent 79d697d commit ce89f91
Showing 1 changed file with 90 additions and 6 deletions.
96 changes: 90 additions & 6 deletions configs/centrifuge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,27 +2,42 @@ endpoint: wss://centrifuge-parachain.api.onfinality.io/public-ws/
mock-signature-host: true
block: ${env.CENTRIFUGE_BLOCK_NUMBER}
db: ./db.sqlite
# wasm-override: centrifuge-1023.wasm
runtime-log-level: 5
# wasm-override: cfg-1028.wasm

import-storage:
# Sudo:
# Key: 5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY # Alice

System:
# Fund addresses with native currency
Account:
-
-
- "5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY"
- "5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY" # Alice
- providers: 1
data:
free: "1000000000000000000000000"
-
-
- "4eZq6YogeXHKvjLhHjNKoTzv6MLESn7MkBEQSvctxAnAT82t" # Bob
- providers: 1
data:
free: "1000000000000000000000000"
-
-
- "4eZq6YogeXHKvjLhHjNKoTzv6MLESn7MkBEQSvctxAnAT82t" # Charlie
- providers: 1
data:
free: "1000000000000000000000000"
Council:
# Set Alice as single council member
Members: [5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY]
Elections:
Members:
- who: 5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY
stake: "10000000000000000000000"
deposit: "10000000000000000000000"
OrmlTokens:
# Fund addresses with foreign currencies
Accounts:
-
-
Expand All @@ -34,17 +49,86 @@ import-storage:
- 5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY
- ForeignAsset: 4
- free: "1000000000000000000000"
-
-
- 5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY
- ForeignAsset: 100001
- free: "1000000000000000000000"
-
-
- 5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY
- ForeignAsset: 100002
- free: "1000000000000000000000"
-
-
- 5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY
- ForeignAsset: 100003
- free: "1000000000000000000000"
-
-
- 5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY
- ForeignAsset: 100004
- free: "1000000000000000000000"
-
-
- 5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY
- ForeignAsset: 100005
- free: "1000000000000000000000"
-
-
- 5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY
- ForeignAsset: 100006
- free: "1000000000000000000000"
-
-
- 5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY
- LocalAsset: 1
- free: "10000000000000"
Proxy:
# Example to set proxy
Proxies:
-
-
- 4dTeMxuPJCK7zQGhFcgCivSJqBs9Wo2SuMSQeYCCuVJ9xrE2
- 4gJcbk2V9JLmYkMPDeeYZ2Kmtf6J6GqYfdNw4qdzzSzBppDW # The address which sets a proxy
-
-
- delegate: "5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY" # The proxy account address
- proxyType: "Any"
- delay: 0
- "350000000000000000"
-
-
- 4eEqmbQMbFfNUg6bQnqi9zgUvQvSpNbUgstEM64Xq9FW58Xv
-
-
- delegate: "5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY"
- proxyType: "Any"
- delay: 0
- "350000000000000000"

Permissions:
# Example to set permissions
Permission:
-
-
- 5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY
- Pool: 4139607887
-
poolAdmin:
bits: 59
currencyAdmin:
bits: 0
permissionedAssetHolder:
info: null
trancheInvestor:
info: []
OraclePriceCollection:
# Example to set oracle feeder
CollectionInfo:
-
-
- 4139607887
- feeders:
- system:
signed: 5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY


0 comments on commit ce89f91

Please sign in to comment.