pub trait CellContext {
// Required methods
fn finalize_cell(&mut self, cell: CellParts<'_>) -> Result<Cell, Error>;
fn load_cell(&mut self, cell: Cell, mode: LoadMode) -> Result<Cell, Error>;
fn load_dyn_cell<'a>(
&mut self,
cell: &'a DynCell,
mode: LoadMode,
) -> Result<&'a DynCell, Error>;
}
Expand description
Gas accounting and resolcing exotic cells.
Required Methods§
Sourcefn finalize_cell(&mut self, cell: CellParts<'_>) -> Result<Cell, Error>
fn finalize_cell(&mut self, cell: CellParts<'_>) -> Result<Cell, Error>
Builds a new cell from cell parts.