Skip to main content

Questions tagged [debug]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
0 answers
12 views

How to debug/test POS, log out the authorityId?

I am trying to customize the POS. But I don't know how to evaluate my algorithm. I want to print out the authority ID (BABE) and block producer ID. How do I do that? Please give me some leads. Thank ...
MinhK's user avatar
  • 125
1 vote
0 answers
12 views

How to check type info in substrate?

I want to debug and check if the variable has my expected type or not. So how do I debug and print out the type?
MinhK's user avatar
  • 125
0 votes
0 answers
22 views

Couldn't setMetdata on nft using Asset Hub

This is Polkadot Punks #2 : https://kodadot.xyz/ahp/gallery/7-2 Accidentally i set Nft config of this nft to 6 { settings: 6 } which in result dosen't allow me to setMetdata on it how can i change ...
Ashutosh singh's user avatar
3 votes
2 answers
104 views

How can I add logs to the runtime for debugging since `--execution native` has been removed?

The node always uses on-chain wasm for execution. How can I add new logs to debug the production chain?
AurevoirXavier's user avatar
  • 10.4k