infu
infu
@domwoe Some real world use cases: - A developer adds immutable modules in their canisters. Perhaps starts with a ledger, makes it immutable and then adds other functionality, but can't...
@rossberg Yes. Either way will work for these use cases - support on-chain linking or have a Motoko compiler on-chain (canister maybe). "But of course, such hashes are not reliable...
That will be very helpful yes.
``` describe('deterministic', () => { test('results in the same module_hash', () => { const path = 'test__check__.mo'; mo.write(path, actor); expect(mo.check(path)).toStrictEqual([]); const compile = (code : any) => { let f...
It will also be great if we have the version names instead of "latest" and older version never change. This will allow us to verify canister module_hash. Something like this...
I got it running on my end, but it's slow, buggy and ugly hack :)