Skip to content

Commit

Permalink
build: add changeset
Browse files Browse the repository at this point in the history
  • Loading branch information
hadelive committed Oct 12, 2024
1 parent 647ddcf commit 0559104
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 10 deletions.
5 changes: 5 additions & 0 deletions .changeset/fluffy-cougars-fold.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@lucid-evolution/lucid": patch
---

update script cert
2 changes: 0 additions & 2 deletions packages/lucid/src/tx-builder/internal/TxUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,6 @@ export const processCertificate = (
);
};

console.log("script.type :>> ", script.type);
switch (script.type) {
case "PlutusV1":
addPlutusCertificate(toV1(script.script));
Expand All @@ -155,7 +154,6 @@ export const processCertificate = (
addPlutusCertificate(toV2(script.script));
break;
case "PlutusV3":
console.log("PlutusV3 :>> ");
addPlutusCertificate(toV3(script.script));
break;

Expand Down
3 changes: 0 additions & 3 deletions packages/lucid/test/onchain-preprod.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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");
});

Expand All @@ -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");
});

Expand Down Expand Up @@ -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");
});

Expand Down
3 changes: 0 additions & 3 deletions packages/lucid/test/onchain-preview.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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");
});

Expand All @@ -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");
});

Expand Down Expand Up @@ -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");
});

Expand Down
2 changes: 0 additions & 2 deletions packages/lucid/test/specs/governance.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand All @@ -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(
Expand Down

0 comments on commit 0559104

Please sign in to comment.