|
1 | 1 | import { useEffect, useState } from "react"; |
2 | 2 | import { Input } from "@/components/ui/input"; |
3 | 3 | import { HostCallHandler, HostCallHandlerProps } from "./types"; |
4 | | -import { jam_host_calls, pvm_host_calls, bytes, block } from "@typeberry/lib"; |
| 4 | +import * as jam_host_calls from "@typeberry/lib/jam-host-calls"; |
| 5 | +import * as pvm_host_calls from "@typeberry/lib/pvm-host-calls"; |
| 6 | +import * as bytes from "@typeberry/lib/bytes"; |
| 7 | +import * as block from "@typeberry/lib/block"; |
5 | 8 | import { MockMemory, MockGasCounter, regsToBytes, bytesToRegs } from "./hostCallUtils"; |
6 | 9 | import { HostCallActionButtons } from "./HostCallActionButtons"; |
7 | 10 | import { DEFAULT_GAS, DEFAULT_REGS } from "@/types/pvm"; |
@@ -124,12 +127,8 @@ const FetchHostCallComponent: React.FC<HostCallHandlerProps> = ({ |
124 | 127 | allWorkItems: () => (fetchKind === FetchKind.AllWorkItems ? dataBlob : null), |
125 | 128 | oneWorkItem: () => (fetchKind === FetchKind.OneWorkItem ? dataBlob : null), |
126 | 129 | workItemPayload: () => (fetchKind === FetchKind.WorkItemPayload ? dataBlob : null), |
127 | | - allOperands: () => null, // deprecated |
128 | 130 | allTransfersAndOperands: () => (fetchKind === FetchKind.AllTransfersAndOperands ? dataBlob : null), |
129 | | - oneOperand: () => null, // deprecated |
130 | 131 | oneTransferOrOperand: () => (fetchKind === FetchKind.OneTransferOrOperand ? dataBlob : null), |
131 | | - allTransfers: () => null, // deprecated |
132 | | - oneTransfer: () => null, // deprecated |
133 | 132 | }; |
134 | 133 |
|
135 | 134 | // Create mock memory and registers |
|
0 commit comments