We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
MemoryGrow
1 parent e0bd98a commit c19ce2cCopy full SHA for c19ce2c
frame/contracts/src/wasm/runtime.rs
@@ -409,6 +409,8 @@ where
409
// Any other kind of a trap should result in a failure.
410
Err(sp_sandbox::Error::Execution) | Err(sp_sandbox::Error::OutOfBounds) =>
411
Err(Error::<E::T>::ContractTrapped)?,
412
+ Err(sp_sandbox::Error::MemoryGrow) =>
413
+ unreachable!("MemoryGrow returnes by the sandboxed runtime"),
414
}
415
416
0 commit comments