diff --git a/assembly/src/library/mod.rs b/assembly/src/library/mod.rs index 283f89044..8ae3415bd 100644 --- a/assembly/src/library/mod.rs +++ b/assembly/src/library/mod.rs @@ -371,6 +371,11 @@ impl AsRef for KernelLibrary { } impl KernelLibrary { + /// Returns the [Kernel] for this kernel library. + pub fn kernel(&self) -> &Kernel { + &self.kernel + } + /// Returns the inner [`MastForest`]. pub fn mast_forest(&self) -> &MastForest { self.library.mast_forest()