diff --git a/scripts/init/queries.ts b/scripts/init/queries.ts index 0b30a634..9bd44df3 100644 --- a/scripts/init/queries.ts +++ b/scripts/init/queries.ts @@ -17,7 +17,8 @@ export const queryRegistryTable = async ( }, }); - if (table.data?.content?.dataType !== 'moveObject') throw new Error('Invalid data'); + if (table.data?.content?.dataType !== 'moveObject') + throw new Error(`Invalid data ${suinsPackageId}`); const data = table.data?.content.fields as Record; return data.value.fields.registry.fields.id.id; diff --git a/sdk/test/setup.ts b/sdk/test/setup.ts index c3212d14..b5aaa3aa 100644 --- a/sdk/test/setup.ts +++ b/sdk/test/setup.ts @@ -28,7 +28,8 @@ export async function publishAndSetupSuinsContracts(toolbox: TestToolbox): Promi // we need to set this to a temp file, so that the client uses the correct config. CLIENT_CONFIG_FILE: toolbox.configPath, }, - // stdio: 'inherit', + // keep logs. + stdio: 'inherit', encoding: 'utf8', });