Skip to content

Commit 6656a01

Browse files
committed
fix: lint
1 parent 26f8d0a commit 6656a01

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

packages/evolution/src/sdk/builders/TransactionBuilder.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,14 +38,11 @@ import type * as Mint from "../../core/Mint.js"
3838
import type * as Network from "../../core/Network.js"
3939
import type * as RewardAccount from "../../core/RewardAccount.js"
4040
import type * as CoreScript from "../../core/Script.js"
41-
import * as Script from "../../core/Script.js"
4241
import * as Time from "../../core/Time/index.js"
4342
import * as Transaction from "../../core/Transaction.js"
44-
import * as TransactionHash from "../../core/TransactionHash.js"
4543
import type * as TxOut from "../../core/TxOut.js"
46-
import * as CoreUTxO from "../../core/UTxO.js"
44+
import type * as CoreUTxO from "../../core/UTxO.js"
4745
import { runEffectPromise } from "../../utils/effect-runtime.js"
48-
import { hashTransaction } from "../../utils/Hash.js"
4946
import type { EvalRedeemer } from "../EvalRedeemer.js"
5047
import type * as ProtocolParametersSDK from "../ProtocolParameters.js"
5148
import type * as Provider from "../provider/Provider.js"

packages/evolution/src/sdk/provider/internal/KupmiosEffects.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,8 @@ const getScriptEffect =
134134
const doubleCborHex = Script.applyDoubleCborEncoding(script)
135135
return new PlutusV3.PlutusV3({ bytes: Bytes.fromHex(doubleCborHex) })
136136
}
137+
default:
138+
throw new Error(`Unknown script language: ${language}`)
137139
}
138140
}),
139141
Effect.catchAll((cause) => new ProviderError({ cause, message: "Failed to get script" }))

0 commit comments

Comments
 (0)