diff --git a/packages/chopsticks/package.json b/packages/chopsticks/package.json index 1fe36210..015de479 100644 --- a/packages/chopsticks/package.json +++ b/packages/chopsticks/package.json @@ -71,6 +71,12 @@ "import": "./dist/esm/plugins/*.js", "default": "./dist/esm/plugins/*.js" }, + "./utils/*": { + "types": "./dist/types/utils/*.d.ts", + "require": "./dist/cjs/utils/*.js", + "import": "./dist/esm/utils/*.js", + "default": "./dist/esm/utils/*.js" + }, "./package.json": "./package.json", "./package.cjs.json": "./dist/cjs/package.json" } diff --git a/packages/core/src/blockchain/block-builder.ts b/packages/core/src/blockchain/block-builder.ts index eeefe6a6..ba2b68e5 100644 --- a/packages/core/src/blockchain/block-builder.ts +++ b/packages/core/src/blockchain/block-builder.ts @@ -358,15 +358,12 @@ export const dryRunExtrinsic = async ( mockSignature.set([0xde, 0xad, 0xbe, 0xef]) generic.signature.set(mockSignature) - defaultLogger.info({ call: call.toHuman() }, 'dry_run_call') + logger.debug({ call: call.toHuman() }, 'dry_run_call') return newBlock.call('BlockBuilder_apply_extrinsic', [generic.toHex()]) } - defaultLogger.info( - { call: registry.createType('GenericExtrinsic', hexToU8a(extrinsic)).toHuman() }, - 'dry_run_extrinsic', - ) + logger.debug({ call: registry.createType('GenericExtrinsic', hexToU8a(extrinsic)).toHuman() }, 'dry_run_extrinsic') return newBlock.call('BlockBuilder_apply_extrinsic', [extrinsic]) }