• Alexander Theißen's avatar
    contracts: Consider contract size in weights (#8086) · 84071d6d
    Alexander Theißen authored
    
    
    * contracts: Consider contract size in weights
    
    * Bump spec version
    
    * Whitespace fix
    
    Co-authored-by: default avatarGuillaume Thiolliere <[email protected]>
    
    * Correct pre-charged code weight even in the error case
    
    * Use the instrumented code size in weight calculation
    
    * Charge the cost of re-instrumentation from the gas meter
    
    * Fix benchmark
    
    * 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
    
    * Better documentation of return types
    
    Co-authored-by: default avatarGuillaume Thiolliere <[email protected]>
    Co-authored-by: default avatarParity Benchmarking Bot <[email protected]>
    84071d6d