replace 'config-yaml/configtxOrgs.json' with 'config-yaml/orgs/[peer/orderer]-[orgName].json #17
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "config-yaml-orgs"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
PULL REQUEST
說明 (Description)
network create時會產生config-yaml/configtxOrgs.json,在channel create時會成為org的選項但是
peer create時,新的peer org 不會被加到這個檔案,導致新組織無法再channel create時被選擇此PR的改成在1個org就是一個檔案,在
network create與peer/orderer create時都會產生此檔案。檔案名稱:
舊:
config-yaml/configtxOrgs.json新:
config-yaml/orgs/[peer/orderer]-[orgName].json相關問題 (Linked Issues)
channel create時選擇貢獻種類 (Type of change)
測試環境 (Test Configuration):
*OS: Ubuntu 20.04.3 LTS (GNU/Linux 5.11.0-1020-gcp x86_64)
*NodeJS Version: v16.13.1
*NPM Version: 8.2.0
*Docker Version: 20.10.9
檢查清單 (Checklist):
我已完成以上清單,並且同意遵守 Code of Conduct
I have completed the checklist and agree to abide by the code of conduct.
rename 'orgConfigTx' to 'OrgDefinitionJson'

@ -81,9 +85,14 @@ export default class BdkFile {fs.writeFileSync(`${this.bdkPath}/config-yaml/configtx.yaml`, configtxYaml.getYamlString())