Skip to content

Commit

Permalink
fully remove callRaw
Browse files Browse the repository at this point in the history
  • Loading branch information
bdemann committed Jul 9, 2024
1 parent d5b60b5 commit 3b2a048
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/stable/ic_apis/chunk.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { callRaw } from './call_raw';
import { call } from './call';
import { candidEncode } from './candid_encode';
import { id } from './id';

Expand All @@ -7,5 +7,5 @@ export async function chunk(): Promise<void> {
return undefined as any;
}

await callRaw(id(), '_azle_chunk', candidEncode('()'), 0n);
await call(id(), '_azle_chunk', { raw: candidEncode('()'), payment: 0n });
}

0 comments on commit 3b2a048

Please sign in to comment.