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

Unable to run a testnet archive node using Docker #946

Open
YuWT-CN opened this issue Nov 8, 2024 · 3 comments
Open

Unable to run a testnet archive node using Docker #946

YuWT-CN opened this issue Nov 8, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@YuWT-CN
Copy link

YuWT-CN commented Nov 8, 2024

Describe the bug

when I use docker to run testnet archive node, it doesn't work.
docker comand line : ./scripts/run/subtensor.sh -e docker --network testnet --node-type archive

2024-11-08 02:10:41 Subtensor Node    
2024-11-08 02:10:41 ✌️  version 4.0.0-dev-e6683abcdc4    
2024-11-08 02:10:41 ❤️  by Substrate DevHub <https://github.com/substrate-developer-hub>, 2017-2024    
2024-11-08 02:10:41 📋 Chain specification: Bittensor    
2024-11-08 02:10:41 🏷  Node name: chilly-flowers-8128    
2024-11-08 02:10:41 👤 Role: FULL    
2024-11-08 02:10:41 💾 Database: RocksDb at /tmp/blockchain/chains/bittensor/db/full    
Error: Service(Client(VersionInvalid("Other error happened while constructing the runtime: runtime requires function imports which are not present on the host: 'env:ext_benchmarking_proof_size_version_1', 'env:ext_benchmarking_wipe_db_version_1', 'env:ext_benchmarking_get_read_and_written_keys_version_1', 'env:ext_benchmarking_commit_db_version_1', 'env:ext_benchmarking_read_write_count_version_1', 'env:ext_benchmarking_set_whitelist_version_1', 'env:ext_benchmarking_current_time_version_1', 'env:ext_benchmarking_reset_read_write_count_version_1', 'env:ext_benchmarking_add_to_whitelist_version_1'")))
2024-11-08 02:10:42 Cannot create a runtime error=Other("runtime requires function imports which are not present on the host: 'env:ext_benchmarking_proof_size_version_1', 'env:ext_benchmarking_wipe_db_version_1', 'env:ext_benchmarking_get_read_and_written_keys_version_1', 'env:ext_benchmarking_commit_db_version_1', 'env:ext_benchmarking_read_write_count_version_1', 'env:ext_benchmarking_set_whitelist_version_1', 'env:ext_benchmarking_current_time_version_1', 'env:ext_benchmarking_reset_read_write_count_version_1', 'env:ext_benchmarking_add_to_whitelist_version_1'")

To Reproduce

flow this guide: https://docs.bittensor.com/subtensor-nodes/using-docker

Expected behavior

work normally

Screenshots

No response

Environment

Ubuntu

Additional context

No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 22.04.5 LTS
Release: 22.04
Codename: jammy

@YuWT-CN YuWT-CN added the bug Something isn't working label Nov 8, 2024
@zhedgehog
Copy link

Not just testnet, mainnet as well.


2024-11-08 02:17:47 Subtensor Node
2024-11-08 02:17:47 ✌️  version 4.0.0-dev-e6683abcdc4
2024-11-08 02:17:47 ❤️  by Substrate DevHub <https://github.com/substrate-developer-hub>, 2017-2024
2024-11-08 02:17:47 📋 Chain specification: Bittensor
2024-11-08 02:17:47 🏷  Node name: depressed-sky-8892
2024-11-08 02:17:47 👤 Role: FULL
2024-11-08 02:17:47 💾 Database: RocksDb at /tmp/blockchain/chains/bittensor/db/full
Error: Service(Client(VersionInvalid("Other error happened while constructing the runtime: runtime requires function imports which are not present on the host: 'env:ext_benchmarking_current_time_version_1', 'env:ext_benchmarking_commit_db_version_1', 'env:ext_benchmarking_read_write_count_version_1', 'env:ext_benchmarking_reset_read_write_count_version_1', 'env:ext_benchmarking_wipe_db_version_1', 'env:ext_benchmarking_set_whitelist_version_1', 'env:ext_benchmarking_get_read_and_written_keys_version_1', 'env:ext_benchmarking_proof_size_version_1', 'env:ext_benchmarking_add_to_whitelist_version_1'")))
2024-11-08 02:17:48 Cannot create a runtime error=Other("runtime requires function imports which are not present on the host: 'env:ext_benchmarking_current_time_version_1', 'env:ext_benchmarking_commit_db_version_1', 'env:ext_benchmarking_read_write_count_version_1', 'env:ext_benchmarking_reset_read_write_count_version_1', 'env:ext_benchmarking_wipe_db_version_1', 'env:ext_benchmarking_set_whitelist_version_1', 'env:ext_benchmarking_get_read_and_written_keys_version_1', 'env:ext_benchmarking_proof_size_version_1', 'env:ext_benchmarking_add_to_whitelist_version_1'")

@nfekunprdtiunnkge
Copy link

nfekunprdtiunnkge commented Nov 8, 2024

Same for existing archive nodes (updated to 1.1.17) when you try to fetch block 0.

@zhedgehog
Copy link

This has been resolved in https://github.com/opentensor/subtensor/releases/tag/v1.1.8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants