Closed dashameter closed 3 years ago
Do we have any plans to fix this bug? I can't create a name or submit document because of this. Or just let me know if I can do something to help.
I think this caused by dataContract is null:
create(dataContract, ownerId, type, data = {}) { if (!dataContract.isDocumentDefined(type)) { throw new InvalidDocumentTypeError(type, dataContract); }
in dpp/lib/document/DocumentFactory.js:42:23
and the dataContract is null when it's trying to create and prepare documents for the platform dataContract = _b.sent();
This actually happen during times where testnet is reset and therefore contractID hardcoded are not able to fetch contract. The way to fix it is to provide the right apps id to dashJS. Working on improving the error so it better highlight what is going wrong.
@Alex-Werner Just deleted your duplicate comment
retested successfully on v.20 with dashmate, closing issue
Registering a name throws error:
To reproduce: