Skip to content

Commit

Permalink
Fix UI build
Browse files Browse the repository at this point in the history
  • Loading branch information
j-mueller committed Jan 25, 2025
1 parent 78329d8 commit 42f55a6
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions frontend/src/app/[username]/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ export default function Profile() {
quantity: sendTokenAmount,
recipient: sendRecipientAddress,
sender: accountInfo.address,
submit_failing_tx: false
};
try {
const response = await axios.post(
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/app/mint-authority/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import React, { useEffect, useState } from 'react';
import axios from 'axios';

//Lucid imports
import { CML, makeTxSignBuilder, paymentCredentialOf } from '@lucid-evolution/lucid';
import { paymentCredentialOf } from '@lucid-evolution/lucid';
import type { Credential as LucidCredential } from "@lucid-evolution/core-types";

//Mui imports
Expand Down
1 change: 0 additions & 1 deletion frontend/src/app/utils/walletUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,6 @@ export async function signAndSentTx(lucid: LucidEvolution, tx: TxSignBuilder): P
const expectedScriptDataHash : CML.ScriptDataHash | undefined = CML.calc_script_data_hash(witnessSet.redeemers()!, CML.PlutusDataList.new(), lucid.config().costModels!, witnessSet.languages());
// console.log('Calculated Script Data Hash:', expectedScriptDataHash?.to_hex());
const cmlTxBodyClone = CML.TransactionBody.from_cbor_hex(cmlTx!.body().to_cbor_hex());
const txIDinAlert = await cmlTxBodyClone.to_json();
// console.log('Preclone script hash:', cmlTxBodyClone.script_data_hash()?.to_hex());
cmlTxBodyClone.set_script_data_hash(expectedScriptDataHash!);
// console.log('Postclone script hash:', cmlTxBodyClone.script_data_hash()?.to_hex());
Expand Down
3 changes: 3 additions & 0 deletions generated/openapi/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,9 @@
},
"sender": {
"$ref": "#/components/schemas/Address"
},
"submit_failing_tx": {
"type": "boolean"
}
},
"required": [
Expand Down
1 change: 0 additions & 1 deletion src/wst-poc.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,6 @@ library
, blockfrost-client-core
, cardano-api
, cardano-ledger-api
, cardano-ledger-binary
, cardano-ledger-shelley
, containers
, convex-base
Expand Down

0 comments on commit 42f55a6

Please sign in to comment.