Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
chenyan-dfinity committed Nov 16, 2024
1 parent 4e20217 commit 8a4c022
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion service/pool/Types.mo
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ module {
throw Error.reject("Canister pool: Cycles limit exceeded when calling " # method # ". Already used " # Int.toText(curr) # " cycles. Deploy with your own wallet to avoid cycle limit.");
};
cycles.put(cid, new);
Cycles.add<system>(Int.abs(new));
Cycles.add<system>(settings.max_cycles_per_call);
};
case (#refund) {
let refund = Cycles.refunded();
Expand Down
3 changes: 3 additions & 0 deletions src/config/canister-set.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,4 +139,7 @@ service ic : {
"ryjl3-tyaaa-aaaaa-aaaba-cai": {
name: "ledger",
},
"7hfb6-caaaa-aaaar-qadga-cai": {
name: "EVM RPC",
},
};

0 comments on commit 8a4c022

Please sign in to comment.