Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FIX: [CLIMATE TOKEN DRIVER] Tokenization error occurs with error message "get_private_key" success: false #111

Open
ccornick opened this issue Oct 6, 2023 · 0 comments

Comments

@ccornick
Copy link
Collaborator

ccornick commented Oct 6, 2023

Log output:
`ubuntu@ip-172-31-13-186:/.chia/mainnet/climate-tokenization-engine$ nano config.yaml
ubuntu@ip-172-31-13-186:
/.chia/mainnet/climate-tokenization-engine$ journalctl -f -u climate-tokenization-engine@ubuntu
Oct 06 16:01:25 ip-172-31-13-186 climate-tokenization-engine[326132]: org_uid: '1059815727e1039761bb664f6251d19b887df8416d3687535fbddc5d30a0c9ba',
Oct 06 16:01:25 ip-172-31-13-186 climate-tokenization-engine[326132]: warehouse_project_id: '9489e39f-5af4-42a6-a807-69181f5c437a',
Oct 06 16:01:25 ip-172-31-13-186 climate-tokenization-engine[326132]: vintage_year: 2021,
Oct 06 16:01:25 ip-172-31-13-186 climate-tokenization-engine[326132]: sequence_num: 0
Oct 06 16:01:25 ip-172-31-13-186 climate-tokenization-engine[326132]: },
Oct 06 16:01:25 ip-172-31-13-186 climate-tokenization-engine[326132]: payment: {
Oct 06 16:01:25 ip-172-31-13-186 climate-tokenization-engine[326132]: amount: 100000000,
Oct 06 16:01:25 ip-172-31-13-186 climate-tokenization-engine[326132]: to_address: 'txch16cvhxswwfldyp0ljnluj3g2xp26ll6cx8vtxcrpm0xrtkc8tthssm6s3f0'
Oct 06 16:01:25 ip-172-31-13-186 climate-tokenization-engine[326132]: }
Oct 06 16:01:25 ip-172-31-13-186 climate-tokenization-engine[326132]: }
^C
ubuntu@ip-172-31-13-186:/.chia/mainnet/climate-tokenization-engine$ journalctl -f -u climate-tokenization-chia@ubuntu
Oct 06 16:01:26 ip-172-31-13-186 climate-tokenization-chia[321079]: File "starlette/routing.py", line 266, in handle
Oct 06 16:01:26 ip-172-31-13-186 climate-tokenization-chia[321079]: File "starlette/routing.py", line 65, in app
Oct 06 16:01:26 ip-172-31-13-186 climate-tokenization-chia[321079]: File "fastapi/routing.py", line 231, in app
Oct 06 16:01:26 ip-172-31-13-186 climate-tokenization-chia[321079]: File "fastapi/routing.py", line 160, in run_endpoint_function
Oct 06 16:01:26 ip-172-31-13-186 climate-tokenization-chia[321079]: File "app/utils.py", line 34, in _f
Oct 06 16:01:26 ip-172-31-13-186 climate-tokenization-chia[321079]: File "app/api/v1/tokens.py", line 35, in create_tokenization_tx
Oct 06 16:01:26 ip-172-31-13-186 climate-tokenization-chia[321079]: File "app/core/utils.py", line 44, in get_climate_secret_key
Oct 06 16:01:26 ip-172-31-13-186 climate-tokenization-chia[321079]: File "chia/rpc/wallet_rpc_client.py", line 61, in get_private_key
Oct 06 16:01:26 ip-172-31-13-186 climate-tokenization-chia[321079]: File "chia/rpc/rpc_client.py", line 61, in fetch
Oct 06 16:01:26 ip-172-31-13-186 climate-tokenization-chia[321079]: ValueError: {'private_key': {'fingerprint': 938983332}, 'success': False}
^C
ubuntu@ip-172-31-13-186:
/.chia/mainnet/climate-tokenization-engine$ chia wallet show
Wallet height: 277048
Sync status: Synced
Balances, fingerprint: 938983332

Chia Wallet:
-Total Balance: 9.983199999996 txch (9983199999996 mojo)
-Pending Total Balance: 9.983199999996 txch (9983199999996 mojo)
-Spendable: 9.983199999996 txch (9983199999996 mojo)
-Type: STANDARD_WALLET
-Wallet ID: 1

DataLayer Wallet:
-Total Balance: 0.0
-Pending Total Balance: 0.0
-Spendable: 0.0
-Type: DATA_LAYER
-Wallet ID: 2

Connections:
Type IP Ports NodeID Last Connect MiB Up|Dwn
FULL_NODE 127.0.0.1 58444/58444 bf628b52... Oct 06 16:02:18 11.2|2697.8
-Height: No Info -Hash: No Info -Trusted: True
ubuntu@ip-172-31-13-186:~/.chia/mainnet/climate-tokenization-engine$`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant