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

fix name 'signup_cpp_obj' is not defined #737 #738

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

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

manju956 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

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

Add Signed-off field and author info to your commit.