Merge pull request #896 from dusk-network/mocello/error-core-ungate