All Questions
2 questions
5
votes
1
answer
283
views
How to weight `on_initialize`?
Is there any best practice how to count the weights in on_initialize correctly?
I read through the Polkadot and Substrate on_initialize weight calculations and couldn't always figure out: When to ...
2
votes
1
answer
108
views
Database rollback
Is there a command or an easy way to rollback the changes to a node's RocksDb to force the node to go back in its history and start fresh from previous block numbers? For example if the node has seen ...