Make Schedule fields public to allow for customization (#8924)

* Make `Schedule` fields public for customization

* Fix doc typo

Co-authored-by: Andrew Jones <ascjones@gmail.com>

Co-authored-by: Andrew Jones <ascjones@gmail.com>
This commit is contained in:
Alexander Theißen
2021-05-29 11:58:26 +02:00
committed by GitHub
parent b3fabde4e3
commit 2fa35d705a
2 changed files with 49 additions and 27 deletions
+5 -1
View File
@@ -96,7 +96,11 @@ pub mod weights;
#[cfg(test)]
mod tests;
pub use crate::{pallet::*, schedule::Schedule, exec::Frame};
pub use crate::{
pallet::*,
schedule::{Schedule, Limits, InstructionWeights, HostFnWeights},
exec::Frame,
};
use crate::{
gas::GasMeter,
exec::{Stack as ExecStack, Executable},