Skip to content
  1. Jul 07, 2021
    • Shawn Tabrizi's avatar
      Include `StorageInfo` in Benchmarking Pipeline (#9090) · b42b8fc5
      Shawn Tabrizi authored
      
      
      * extend storageinfo
      
      * extend_storage_info
      
      * use vec
      
      * add storage info to pipeline
      
      * get read and written keys
      
      * undo storageinfo move
      
      * refactor keytracker
      
      * return read / write count
      
      * playing with key matching
      
      * add basic `StorageInfo` constructor
      
      * add whitelisted to returned info
      
      * fix some test stuff
      
      * pipe comments into benchmark data
      
      * add_storage_comments
      
      * add comments to template
      
      * track only storage prefix
      
      * Update frame/benchmarking/src/lib.rs
      
      * cargo run --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_balances --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/balances/src/weights.rs --template=./.maintain/frame-weight-template.hbs
      
      * fix test
      
      * cargo run --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_balances --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/balances/src/weights.rs --template=./.maintain/frame-weight-template.hbs
      
      * remove test logs
      
      * add temp benchmark script
      
      * Apply suggestions from code review
      
      Co-authored-by: default avatarGuillaume Thiolliere <[email protected]>
      
      * remove keytracker and use trackedstoragekey
      
      * add comment for unknown keys
      
      * cargo run --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_timestamp --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/timestamp/src/weights.rs --template=./.maintain/frame-weight-template.hbs
      
      * remove duplicate comments with unknown keys
      
      * cargo run --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_timestamp --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/timestamp/src/weights.rs --template=./.maintain/frame-weight-template.hbs
      
      * cargo run --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_balances --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/balances/src/weights.rs --template=./.maintain/frame-weight-template.hbs
      
      * refactor bench tracker, and fix results
      
      * cargo run --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_balances --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/balances/src/weights.rs --template=./.maintain/frame-weight-template.hbs
      
      * fix child tries in new tracker
      
      * extra newline
      
      * fix unused warning
      
      * cargo run --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=pallet_timestamp --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/timestamp/src/weights.rs --template=./.maintain/frame-weight-template.hbs
      
      * fix master merge
      
      * storage info usage refactor
      
      * remove now unused
      
      * fix refactor
      
      * use a vec for prefix
      
      * fix tests
      
      * also update writer to use vec
      
      * disable read and written keys for now
      
      * cargo run --release --features=runtime-benchmarks --manifest-path=bin/node/cli/Cargo.toml -- benchmark --chain=dev --steps=50 --repeat=20 --pallet=frame_system --extrinsic=* --execution=wasm --wasm-execution=compiled --heap-pages=4096 --output=./frame/system/src/weights.rs --template=./.maintain/frame-weight-template.hbs
      
      * Update frame/system/src/weights.rs
      
      * fix test
      
      * Delete weights.rs
      
      * reset weights
      
      Co-authored-by: default avatarParity Bot <[email protected]>
      Co-authored-by: default avatarGuillaume Thiolliere <[email protected]>
      b42b8fc5
    • Benjamin Kampmann's avatar
      Update stale.yml (#9305) · e0ad91ed
      Benjamin Kampmann authored
      e0ad91ed
    • Benjamin Kampmann's avatar
      Activate stale bot (#9272) · d154b477
      Benjamin Kampmann authored
      d154b477
    • Bastian Köcher's avatar
      Keep current block randomness in state (#9294) · 86ab838b
      Bastian Köcher authored
      * Keep current block randomness in state
      
      Instead of killing it at the end of the block, it stays in the block for
      inspection. This is required by parachains to get access to this
      randomness of the relay chain.
      
      * Fix tests
      86ab838b
    • Bastian Köcher's avatar
      Clean up sc-allocator (#9295) · 7bbf9492
      Bastian Köcher authored
      7bbf9492
    • Sergey Pepyakin's avatar
      PVF: NaN canonicalization & deteriministic stack (#9069) · f388b66a
      Sergey Pepyakin authored
      
      
      * NaN canonicalization
      
      * Introduce a simple stack depth metering
      
      * Be explicit about the wasm features we enable
      
      * Pull the latest latast fix for the pwasm-utils crate
      
      * Disable `wasm_threads` as well.
      
      * Factor out deterministic stack params
      
      * Add more docs
      
      * Remove redundant dep
      
      * Refine comments
      
      * Typo
      
      Co-authored-by: default avatarAndronik Ordian <[email protected]>
      
      Co-authored-by: default avatarAndronik Ordian <[email protected]>
      f388b66a
    • cheme's avatar
      Paged keys rpc for child storage. (#9100) · d80e1bc9
      cheme authored
      
      
      * childstate_getKeysPaged rpc
      
      * Rename `v` to `iter`.
      
      * Update client/api/src/backend.rs
      
      Co-authored-by: default avatarAlexander Popiak <[email protected]>
      
      * Update client/api/src/backend.rs
      
      Co-authored-by: default avatarAlexander Popiak <[email protected]>
      
      Co-authored-by: default avatarAlexander Popiak <[email protected]>
      d80e1bc9
    • Xiliang Chen's avatar
      move BlockNumberProvider (#9209) · fc1199b6
      Xiliang Chen authored
      
      
      * move BlockNumberProvider
      
      * Update primitives/runtime/src/traits.rs
      
      * Update primitives/runtime/src/traits.rs
      
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      fc1199b6
    • Kian Paimani's avatar
      Allow the allocator to track the heap changes. (#9291) · 9cd04f35
      Kian Paimani authored
      
      
      * Allow the allocator to track the heap changes.
      
      * fix build
      
      * review comments
      
      * Update client/allocator/Cargo.toml
      
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      
      * Update client/allocator/Cargo.toml
      
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      
      Co-authored-by: default avatarBastian Köcher <[email protected]>
      9cd04f35
    • Kian Paimani's avatar
  2. Jul 06, 2021
  3. Jul 05, 2021
  4. Jul 02, 2021
    • George Angelopoulos's avatar
      fix prometheus log message terminology (#9256) · 3c701ae1
      George Angelopoulos authored
      A prometheus "server" typically refers to the prometheus process running
      on a central server which connects to various prometheus "exporters" and
      collects metrics. What is implemented here in substrate is a prometheus
      exporter.
      
      This patch fixes the associated log message to avoid confusion for new
      users.
      3c701ae1
    • Radu Popa's avatar
      add simnet tests (#9222) · 113ffcae
      Radu Popa authored
      * add simnet tests
      
      * add link to bracap presentation of simnet
      
      * add link to bracap presentation of simnet
      
      * rm not needed file
      113ffcae
  5. Jul 01, 2021
  6. Jun 30, 2021
  7. Jun 29, 2021