Nevertheless, browser JavaScript executing the relevant frontend code claims that I added 0 cycles:
Uncaught (in promise) Error: Call was rejected:
Request ID: 1136fd3d2682e6ecc2c48fce76475970cdba83c6fc75e666dbcadbdafb10329d
Reject code: 4
Reject text: Creating a canister requires a fee of 7_692_307_692 that is deducted from the canister's initial balance but only 0 cycles were received with the create_canister request.
at pollForResponse (index.js:2042:19)
at async caller (index.js:210:35)
at async HTMLFormElement.<anonymous> (index.js:17744:20)
I want to be helpful and ill pass these to the right team.
In the meantime:
just to be clear:
a. The message says 7.692 billion cycles are required
b. The message also says “only 0 cycles were received”
Are you saying a) does not work. Have you tried adding more cycles? (maybe the error message is wrong so 300MM cycles were added but it was not enough).
I want to understand if the method does not work or if the error message is misleading (which itself is a bug of course)
I think this should work, but also noticed that your dfx.json only declares 1B cycles for the index canister. I didn’t know you could do this with dfx.json, but perhaps that is the source of the problem?