Skip to content

Commit

Permalink
Runtime
Browse files Browse the repository at this point in the history
  • Loading branch information
Cristian Șerb committed Apr 3, 2024
1 parent 14b0344 commit ca3efff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { GenericContractsDeclaration } from "~~/utils/scaffold-eth/contract";
type PageProps = {
params: { address: string };
};

export const runtime = "edge";
async function fetchByteCodeAndAssembly(buildInfoDirectory: string, contractPath: string) {
const buildInfoFiles = fs.readdirSync(buildInfoDirectory);
let bytecode = "";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import { useTargetNetwork } from "~~/hooks/scaffold-eth/useTargetNetwork";
import { decodeTransactionData, getFunctionDetails } from "~~/utils/scaffold-eth";
import { replacer } from "~~/utils/scaffold-eth/common";

export const runtime = "edge";
type PageProps = {
params: { txHash?: Hash };
};
Expand Down

0 comments on commit ca3efff

Please sign in to comment.