contracts: Reduce the API surface (#8359)

* contracts: Remove types and storage from the public interface

* contracts: Remove current_schedule() getter

* contracts: Improve documentation

* Update README.md

* Fix integration test
This commit is contained in:
Alexander Theißen
2021-03-24 09:09:19 +01:00
committed by GitHub
parent d343683ca9
commit d98a3c7942
14 changed files with 256 additions and 238 deletions
@@ -519,7 +519,7 @@ pub mod benchmarking {
#[cfg(test)]
mod tests {
use super::*;
use crate::{exec::Ext, Limits};
use crate::{exec::Ext, schedule::Limits};
use std::fmt;
impl fmt::Debug for PrefabWasmModule<crate::tests::Test> {