Alexander Theißen
d98a3c7942
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
2021-03-24 08:09:19 +00:00
Alexander Theißen
1f911ddb61
Expose block number in seal_random ( #8329 )
...
* Allow contract callable functions to specify the module
* Add new version of `seal_random`
* Fix overlong lines
* Fix benchmarking code
* Update README.md
* Replace Module by Pallet
2021-03-23 13:48:36 +00:00
Alexander Theißen
a4e8875897
contracts: Expose rent parameter to contracts ( #8231 )
...
* contracts: Expose rent parameter to contracts
* cargo run --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_contracts --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/contracts/src/weights.rs --template=./.maintain/frame-weight-template.hbs
* Fix typos
* Improve comments
* Add rent parameter weights
* Allow deploying a new schedule with the same version
* Add storage migration for new schedule
* Only decode the schedule version in storage migration
* Remove confusing docs
* Replace original_code_len() by aggregate_code_len()
Co-authored-by: Parity Benchmarking Bot <admin@parity.io >
2021-03-12 11:21:08 +00:00
Alexander Theißen
4bf0387237
contracts: Release as v3.0.0 and add reserved field to ContractInfoOf ( #8175 )
...
* contracts: Update README
* contracts: Add CHANGELOG.md
* contracts: Bump version to v3.0.0 and allow publish
* Typos
Co-authored-by: Andrew Jones <ascjones@gmail.com >
* Improve wording in the changelog
* contracts: Add reserved field to ContractInfoOf for future proofing
* also bump frame-benchmarking
* update lockfile
Co-authored-by: Andrew Jones <ascjones@gmail.com >
Co-authored-by: Benjamin Kampmann <ben@parity.io >
2021-02-25 17:04:48 +01:00