Skip to content

Commit

Permalink
Merge pull request #350 from starknetdev/feat/calldata-parsing
Browse files Browse the repository at this point in the history
DojoProvider calldata parsing
  • Loading branch information
MartianGreed authored Dec 9, 2024
2 parents 0766873 + 33fd742 commit 0bbfd66
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/core/src/utils/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Call, TypedData } from "starknet";
import { Call, CallData, TypedData } from "starknet";

import { DojoCall } from "../types";

Expand Down Expand Up @@ -42,7 +42,7 @@ export const parseDojoCall = (

return {
contractAddress: contract.address,
calldata: call.calldata,
calldata: CallData.compile(call.calldata),
entrypoint: call.entrypoint,
};
} else {
Expand Down

0 comments on commit 0bbfd66

Please sign in to comment.