Pin code to the wasm VM cache #4087
Labels
08-wasm
audit
Feedback from implementation audit
type: refactor
Architecture, code or CI improvements that may or may not tackle technical debt.
Milestone
Surfaced from Confio's review of 08-wasm at hash https://github.com/strangelove-ventures/ibc-go/commit/96e9930ab87a171a3ae6ac9717ee25bfda77212b
See item 6.5 of report (TODO: add link when report is available in ibc-go).
k.wasmVM.Pin(codeHash)
to pin the code..ErrPinContractFailed
with error messagepinning contract failed
and returnerrorsmod.Wrap(types.ErrPinContractFailed, err.Error())
in case the pin operation fails.The text was updated successfully, but these errors were encountered: