This is a continuation of PR #6058 and fixes Chiado genesis state root by supporting genesis constructors (deployment code).