Skip to content

Commit 7b9ca35

Browse files
committed
Updated the XRC WASM and the cycles charged.
1 parent ffd7f60 commit 7b9ca35

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/xrc_demo/main.mo

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ actor {
2727
timestamp = null;
2828
};
2929

30-
// Every XRC call needs 10B cycles.
31-
Cycles.add(10_000_000_000);
30+
// Every XRC call needs 1B cycles.
31+
Cycles.add(1_000_000_000);
3232
let response = await XRC.get_exchange_rate(request);
3333
// Print out the response to get a detailed view.
3434
Dbg.print(debug_show(response));

xrc/xrc.wasm.gz

-84 KB
Binary file not shown.

0 commit comments

Comments
 (0)