Skip to content
  • Alexander Theißen's avatar
    contracts: Refactor the exec module (#8604) · 9e894ce1
    Alexander Theißen authored
    
    
    * contracts: Add default implementation for Executable::occupied_storage()
    
    * contracts: Refactor the exec module
    
    * Let runtime specify the backing type of the call stack
    
    This removes the need for a runtime check of the specified
    `MaxDepth`. We can now garantuee that we don't need to
    allocate when a new call frame is pushed.
    
    * Fix doc typo
    
    Co-authored-by: default avatarGuillaume Thiolliere <[email protected]>
    
    * 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
    
    * Review nits
    
    * Fix defect in contract info caching behaviour
    
    * Add more docs
    
    * Fix wording and typos
    
    Co-authored-by: default avatarGuillaume Thiolliere <[email protected]>
    Co-authored-by: default avatarParity Benchmarking Bot <[email protected]>
    9e894ce1