mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-27 02:17:58 +00:00
Contracts: expose charge_storage to chain_extension (#14712)
* Contracts: expose charge_storage to chain_extension * fix typo * export Diff
This commit is contained in:
@@ -701,6 +701,7 @@ mod tests {
|
||||
fn gas_meter_mut(&mut self) -> &mut GasMeter<Self::T> {
|
||||
&mut self.gas_meter
|
||||
}
|
||||
fn charge_storage(&mut self, _diff: &crate::storage::meter::Diff) {}
|
||||
fn append_debug_buffer(&mut self, msg: &str) -> bool {
|
||||
self.debug_buffer.extend(msg.as_bytes());
|
||||
true
|
||||
|
||||
Reference in New Issue
Block a user