Skip to content

[Docker build error] External miner fails to call runtime export #192

@exunico

Description

@exunico

Hey, I'm having some problems with starting a testnet miner.

Im getting External miner fails to call runtime export: “Exported method QPoWApi_verify_nonce_* not found” (or equivalent WASM export-not-found error).

Node target: tag v0.1.6 (runtime spec_version: 108).
Runtime API in v0.1.6:
primitives/consensus/qpow/src/lib.rs trait QPoWApi exposes:
verify_nonce_on_import_block([u8; 32], [u8; 64]) -> bool
verify_nonce_local_mining([u8; 32], [u8; 64]) -> bool
runtime/src/apis.rs implements both (plus verify_historical_block(...)).

Is this because the miner compiled for an older API/runtime (e.g., pre-108), expecting different method names/signatures, so it can’t find the QPoWApi_verify_nonce_* exports in the v0.1.6 runtime?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions