contracts: Move Schedule from Storage to Config (#8773)

* Move `Schedule` from Storage to Config

* Updated CHANGELOG

* Fix nits from review

* Fix migration

* Print the debug buffer as tracing message

* Use `debug` instead of `trace` and update README

* Add additional assert to test

* Rename `schedule_version` to `instruction_weights_version`

* Fixed typo

* Added more comments to wat fixtures

* Add clarification for the `debug_message` field
This commit is contained in:
Alexander Theißen
2021-05-13 21:56:11 +02:00
committed by GitHub
parent 3c0270fe57
commit 1ac95b6ba6
23 changed files with 1465 additions and 1056 deletions
+4
View File
@@ -20,7 +20,11 @@ In other words: Upgrading this pallet will not break pre-existing contracts.
### Added
- Replaced `seal_println` with `seal_debug_message` which allows output to an RPC client.
[1](https://github.com/paritytech/substrate/pull/8773)
- Add new `instantiate` RPC that allows clients to dry-run contract instantiation.
[1](https://github.com/paritytech/substrate/pull/8451)
- Make storage and fields of `Schedule` private to the crate.
[1](https://github.com/paritytech/substrate/pull/8359)