muse254 / harness

This framework allows for an ICP canister to be piggybacked on IoT devices.
Apache License 2.0
1 stars 0 forks source link

Provide cycles based on expected response size and other params #20

Open muse254 opened 3 months ago

muse254 commented 3 months ago

https://github.com/muse254/harness/blob/3aa5d7eb1cf108133289b3cde0f52b690dd2a702/harness-macros/src/http_outcall.rs#L92-L95

The value provided is a placeholder.

muse254 commented 1 month ago

Use this as a starting point: https://forum.dfinity.org/t/http-request-cycle-costs/16849