Closed zhaixuepan closed 3 years ago
there is
there is
Where and how to use signup_cpp_obj.GenerateNonce(32) in the source file wpe_enclave_manager.py?
Please check the sign-off. Discrepancy in the email id mentioned. https://github.com/hyperledger/avalon/pull/739/checks?check_run_id=1746292550
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