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ßenandAndrew Jones authored and GitHub committed 2021-05-29 09:58:26 +00:00
1 parent b3fabde4e3
commit 2fa35d705a
2 files changed
+49 -27

No files matched your search

+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},