mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-11-04 09:51:07 +00:00
srml-contracts: Apply contract removals immediately (#3417)
* Add ability to destroy a contract in the overlay. * Don't allow contracts to be destroyed in recursive execution. * Tests for contract self-destruction. * Don't allow constructor to exit with insufficient balance. * Remove dead code. * Bump node runtime spec version.
This commit is contained in:
1 parent
895c872a09
commit
974b341b14
5 files changed
+616
-38
No files matched your search
@@ -70,10 +70,6 @@ impl<'a, E: Ext + 'a> Runtime<'a, E> {
|
||||
special_trap: None,
|
||||
}
|
||||
}
|
||||
|
||||
fn memory(&self) -> &sandbox::Memory {
|
||||
&self.memory
|
||||
}
|
||||
}
|
||||
|
||||
pub(crate) fn to_execution_result<E: Ext>(
|
||||
|
||||
Reference in new issue
Block a user