Skip to content

Commit 45d42fa

Browse files
committed
test: fix
1 parent 0332b69 commit 45d42fa

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

packages/evolution-devnet/test/TxBuilder.Scripts.test.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -199,9 +199,8 @@ describe("TxBuilder Script Handling", () => {
199199
expect(redeemer.exUnits.mem).toBeGreaterThan(0n) // mem > 0
200200
expect(redeemer.exUnits.steps).toBeGreaterThan(0n) // steps > 0
201201

202-
// Verify datum is included
203-
expect(tx.witnessSet.plutusData).toBeDefined()
204-
expect(tx.witnessSet.plutusData!.length).toBeGreaterThan(0)
202+
// Note: Inline datums don't require plutusData in witness set
203+
// The datum is already stored on-chain in the UTxO
205204
})
206205
it("should handle collateral inputs with multiassets and return excess to user as collateral return", async () => {
207206
const alwaysSucceedsScript = makePlutusV2Script(ALWAYS_SUCCEED_SCRIPT_CBOR)

0 commit comments

Comments
 (0)