While developing with substrate when we make changes in pallets and want to quickly test the changes have explicitly stop existing running node and build the node template (which obviously takes time) and again start the node which takes a lot of time due bootstrap, GRANDPA and all other rituals.

Do we have some existing solution which I'm not aware of just like other development framework provide HOT RELOAD capability so the developer experience is not hampered and these repetitive task which are avoidable can omitted.

Please let help me with if there are any existing solutions.

If not will raise a feature request and check for the feasibility.

1 Answer 1


There doesn't exists such a feature. However, given the upgradability of the runtime you could just rebuild your runtime and send a runtime upgrade. Be aware that you would also need to bump your spec_version. You could automate some of the work through some simple script.

You don't need to open a feature request for this, as this can be done through a script which can live completely separate to substrate.

  • How could I miss that. smart!!!!!
    – Arjun
    Mar 27, 2022 at 9:21
  • 2
    I am guessing the Substrate devs also make extensive use of tests with cargo test -p pallet_name - that is faster than spinning up a node Mar 27, 2022 at 9:33
  • @RosaryBeads let me check and get back to you
    – Arjun
    Mar 27, 2022 at 13:31
  • Yes, but these are only unit tests. I mean for basic functionality you can write unit tests :)
    – bkchr
    Mar 27, 2022 at 18:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.