From 0559104213a3eee991b555356c50f6b010e1e77e Mon Sep 17 00:00:00 2001 From: hade Date: Sat, 12 Oct 2024 13:31:40 +0700 Subject: [PATCH] build: add changeset --- .changeset/fluffy-cougars-fold.md | 5 +++++ packages/lucid/src/tx-builder/internal/TxUtils.ts | 2 -- packages/lucid/test/onchain-preprod.test.ts | 3 --- packages/lucid/test/onchain-preview.test.ts | 3 --- packages/lucid/test/specs/governance.ts | 2 -- 5 files changed, 5 insertions(+), 10 deletions(-) create mode 100644 .changeset/fluffy-cougars-fold.md diff --git a/.changeset/fluffy-cougars-fold.md b/.changeset/fluffy-cougars-fold.md new file mode 100644 index 00000000..4320ec91 --- /dev/null +++ b/.changeset/fluffy-cougars-fold.md @@ -0,0 +1,5 @@ +--- +"@lucid-evolution/lucid": patch +--- + +update script cert diff --git a/packages/lucid/src/tx-builder/internal/TxUtils.ts b/packages/lucid/src/tx-builder/internal/TxUtils.ts index e78b66d7..d61d15f7 100644 --- a/packages/lucid/src/tx-builder/internal/TxUtils.ts +++ b/packages/lucid/src/tx-builder/internal/TxUtils.ts @@ -145,7 +145,6 @@ export const processCertificate = ( ); }; - console.log("script.type :>> ", script.type); switch (script.type) { case "PlutusV1": addPlutusCertificate(toV1(script.script)); @@ -155,7 +154,6 @@ export const processCertificate = ( addPlutusCertificate(toV2(script.script)); break; case "PlutusV3": - console.log("PlutusV3 :>> "); addPlutusCertificate(toV3(script.script)); break; diff --git a/packages/lucid/test/onchain-preprod.test.ts b/packages/lucid/test/onchain-preprod.test.ts index 6415e5d6..5bef4d3f 100644 --- a/packages/lucid/test/onchain-preprod.test.ts +++ b/packages/lucid/test/onchain-preprod.test.ts @@ -53,7 +53,6 @@ describe.sequential("Onchain testing", () => { Effect.provide(NetworkConfig.layerPreprod), ); const exit = await Effect.runPromiseExit(program); - console.log("exit :>> ", exit); expect(exit._tag).toBe("Success"); }); @@ -76,7 +75,6 @@ describe.sequential("Onchain testing", () => { Effect.provide(NetworkConfig.layerPreprod), ); const exit = await Effect.runPromiseExit(program); - console.log("exit :>> ", exit); expect(exit._tag).toBe("Success"); }); @@ -135,7 +133,6 @@ describe.sequential("Onchain testing", () => { Effect.provide(NetworkConfig.layerPreprod), ); const exit = await Effect.runPromiseExit(program); - console.log("exit :>> ", exit); expect(exit._tag).toBe("Success"); }); diff --git a/packages/lucid/test/onchain-preview.test.ts b/packages/lucid/test/onchain-preview.test.ts index 9e72070b..c2fa5443 100644 --- a/packages/lucid/test/onchain-preview.test.ts +++ b/packages/lucid/test/onchain-preview.test.ts @@ -50,7 +50,6 @@ describe.sequential("Onchain testing", () => { Effect.provide(NetworkConfig.layerPreview), ); const exit = await Effect.runPromiseExit(program); - console.log("exit :>> ", exit); expect(exit._tag).toBe("Success"); }); @@ -73,7 +72,6 @@ describe.sequential("Onchain testing", () => { Effect.provide(NetworkConfig.layerPreview), ); const exit = await Effect.runPromiseExit(program); - console.log("exit :>> ", exit); expect(exit._tag).toBe("Success"); }); @@ -132,7 +130,6 @@ describe.sequential("Onchain testing", () => { Effect.provide(NetworkConfig.layerPreview), ); const exit = await Effect.runPromiseExit(program); - console.log("exit :>> ", exit); expect(exit._tag).toBe("Success"); }); diff --git a/packages/lucid/test/specs/governance.ts b/packages/lucid/test/specs/governance.ts index c8ee75fd..e5562eb2 100644 --- a/packages/lucid/test/specs/governance.ts +++ b/packages/lucid/test/specs/governance.ts @@ -165,7 +165,6 @@ export const registerScriptDRep = Effect.gen(function* ($) { .newTx() .register.DRep(rewardAddress, undefined, Data.void()) .attach.Script(script) - .setMinFee(200_000n) .completeProgram(); return signBuilder; }).pipe( @@ -182,7 +181,6 @@ export const deregisterScriptDRep = Effect.gen(function* ($) { .newTx() .deregister.DRep(rewardAddress, Data.void()) .attach.Script(script) - .setMinFee(200_000n) .completeProgram(); return signBuilder; }).pipe(