hyperledger-archives / avalon

Hyperledger Avalon enables privacy in blockchain transactions, moving intensive processing from a main blockchain to improve scalability and latency, and to support attested Oracles
https://wiki.hyperledger.org/display/avalon/Hyperledger+Avalon
Apache License 2.0
136 stars 93 forks source link

Pushing the fix for the issue #737 name 'signup_cpp_obj' is not defined。 #739

Closed zhaixuepan closed 3 years ago

zhaixuepan commented 3 years ago

sudo docker-compose -f docker-compose.yaml -f docker/compose/avalon-pool.yaml up --build

docker-compose build successful,docker-compose up failed

The error log is as follows: avalon-wpe | [03:34:07 ERROR avalon_enclave_manager.base_enclave_manager] failed to initialize/signup enclave; name 'signup_cpp_obj' is not defined avalon-wpe | Traceback (most recent call last): avalon-wpe | File "/usr/local/lib/python3.6/dist-packages/avalon_enclave_manager/base_enclave_manager.py", line 142, in _setup_enclave avalon-wpe | signup_data = self._create_signup_data() avalon-wpe | File "/usr/local/lib/python3.6/dist-packages/avalon_enclave_manager/wpe/wpe_enclave_manager.py", line 64, in _create_signup_data avalon-wpe | verification_key_nonce = signup_cpp_obj.GenerateNonce(32) avalon-wpe | NameError: name 'signup_cpp_obj' is not defined

The source file wpe_enclave_manager.py does not define signup_cpp_obj, this PR fix variable is undefined #737.

Signed-off-by: zhaixuepan zhaixuepan@gmail.com

Ruk1ng001 commented 3 years ago

there is image

zhaixuepan commented 3 years ago

there is image

Where and how to use signup_cpp_obj.GenerateNonce(32) in the source file wpe_enclave_manager.py?

image

rranjan3 commented 3 years ago

Please check the sign-off. Discrepancy in the email id mentioned. https://github.com/hyperledger/avalon/pull/739/checks?check_run_id=1746292550