File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
packages/evolution/src/sdk Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -38,14 +38,11 @@ import type * as Mint from "../../core/Mint.js"
3838import type * as Network from "../../core/Network.js"
3939import type * as RewardAccount from "../../core/RewardAccount.js"
4040import type * as CoreScript from "../../core/Script.js"
41- import * as Script from "../../core/Script.js"
4241import * as Time from "../../core/Time/index.js"
4342import * as Transaction from "../../core/Transaction.js"
44- import * as TransactionHash from "../../core/TransactionHash.js"
4543import type * as TxOut from "../../core/TxOut.js"
46- import * as CoreUTxO from "../../core/UTxO.js"
44+ import type * as CoreUTxO from "../../core/UTxO.js"
4745import { runEffectPromise } from "../../utils/effect-runtime.js"
48- import { hashTransaction } from "../../utils/Hash.js"
4946import type { EvalRedeemer } from "../EvalRedeemer.js"
5047import type * as ProtocolParametersSDK from "../ProtocolParameters.js"
5148import type * as Provider from "../provider/Provider.js"
Original file line number Diff line number Diff 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" } ) )
You can’t perform that action at this time.
0 commit comments