-
Notifications
You must be signed in to change notification settings - Fork 163
Problem updating endorsingpeers/peerorgs variables #361
Comments
@Dudu3710 I believe that you should use -o to specify an org for the commit command. |
Thanks for your answer. I used -o but the problem is still going on. |
I followed the docs/ExpandYourNetwork.md file to run an example. and when i tried to run the commit function using mysite1 i received the error that i can`t reach majority, i think is because the endorsingpeers/peerorgs variables are not being updated. |
I do not think that is the case. It depends how many approve the action. Probably your site1 has less number of orgs?
…Sent from my iPhone
On Nov 4, 2022, at 12:43 PM, Dudu3710 ***@***.***> wrote:
Thanks for your answer. I used -o but the problem is still going on. I followed the docs/ExpandYourNetwork. md file to run an example. and when i tried to run the commit function using mysite1 i received the error that i can`t reach majority,
ZjQcmQRYFpfptBannerStart
This Message Is From an External Sender
This message came from outside your organization.
ZjQcmQRYFpfptBannerEnd
Thanks for your answer.
I used -o but the problem is still going on.
I followed the docs/ExpandYourNetwork.md file to run an example. and when i tried to run the commit function using mysite1 i received the error that i can`t reach majority, i think is because the endorsingpeers/peerorgs variables are not being updated.
Is normal that only mysite0 can commit?
—
Reply to this email directly, view it on GitHub<#361 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AAO2NSZTGBSD2PIXEQLQNUTWGU4KRANCNFSM6AAAAAARTM5TJI>.
You are receiving this because you commented.Message ID: ***@***.***>
|
Yes, site1 have only 1 org, but they all approved so in this case anyone that approve can commit right? |
That is right.
…Sent from my iPhone
On Nov 4, 2022, at 2:13 PM, Dudu3710 ***@***.***> wrote:
I do not think that is the case. It depends how many approve the action. Probably your site1 has less number of orgs? … Sent from my iPhone On Nov 4, 2022, at 12: 43 PM, Dudu3710 @. > wrote: Thanks for your answer. I used -o but the problem
ZjQcmQRYFpfptBannerStart
This Message Is From an External Sender
This message came from outside your organization.
ZjQcmQRYFpfptBannerEnd
I do not think that is the case. It depends how many approve the action. Probably your site1 has less number of orgs?
…
Sent from my iPhone On Nov 4, 2022, at 12:43 PM, Dudu3710 @.> wrote: Thanks for your answer. I used -o but the problem is still going on. I followed the docs/ExpandYourNetwork. md file to run an example. and when i tried to run the commit function using mysite1 i received the error that i cant reach majority, ZjQcmQRYFpfptBannerStart This Message Is From an External Sender This message came from outside your organization. ZjQcmQRYFpfptBannerEnd Thanks for your answer. I used -o but the problem is still going on. I followed the docs/ExpandYourNetwork.md file to run an example. and when i tried to run the commit function using mysite1 i received the error that i cant reach majority, i think is because the endorsingpeers/peerorgs variables are not being updated. Is normal that only mysite0 can commit? — Reply to this email directly, view it on GitHub<#361 (comment)<#361 (comment)>>, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAO2NSZTGBSD2PIXEQLQNUTWGU4KRANCNFSM6AAAAAARTM5TJI<https://github.com/notifications/unsubscribe-auth/AAO2NSZTGBSD2PIXEQLQNUTWGU4KRANCNFSM6AAAAAARTM5TJI>. You are receiving this because you commented.Message ID: @.>
Yes, site1 have only 1 org, but they all approved so in this case anyone that approve can commit right?
—
Reply to this email directly, view it on GitHub<#361 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AAO2NS3Z3KACR4DBJSTTKTTWGVG4PANCNFSM6AAAAAARTM5TJI>.
You are receiving this because you commented.Message ID: ***@***.***>
|
When commit or instantiate are called, they use endorsingpeers/peerorgs variables in a for loop, to get all the necessary information about the peers. But in the commit command for example it only recognize the orgs and peers that are in the network that called the function. In my case i have a channel with two different networks connected and i cant reach majority using this functions because the command don`t use the other network orgs/peers in the for loop.
Where this variables are? How can i change them?
The text was updated successfully, but these errors were encountered: