Skip to content
  1. Jul 08, 2021
    • Seun Lanlege's avatar
      sc-transcation-pool refactor (#9228) · 2ae9d367
      Seun Lanlege authored
      * Use TransactionPool trait
      
      * sc-transaction-pool-primitives
      
      * sc-transaction-pool-api
      
      * TP
      
      * bye sc_transaction_graph
      
      * fix line widths
      
      * fix import errors
      
      * fix import errors
      
      * fix import errors 🤦🏾‍♂️
      
      * fix import errors 🤦🏾‍♂️🤦🏾‍♂️🤦🏾‍♂️
      
      * remove sp-keyring
      2ae9d367
  2. 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
    • 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
    • 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
  3. Jul 06, 2021
  4. Jul 05, 2021
  5. Jul 01, 2021
    • Bastian Köcher's avatar
      Do not call `initialize_block` before any runtime api (#8953) · d489bd70
      Bastian Köcher authored
      * Do not call `initialize_block` before any runtime api
      
      Before this change we always called `initialize_block` before calling
      into the runtime. There was already support with `skip_initialize` to skip
      the initialization. Almost no runtime_api requires that
      `initialize_block` is called before. Actually this only leads to higher
      execution times most of the time, because all runtime modules are
      initialized and this is especially expensive when the block contained a
      runtime upgrade.
      
      TLDR: Do not call `initialize_block` before calling a runtime api.
      
      * Change `validate_transaction` interface
      
      * Fix rpc test
      
      * Fixes and comments
      
      * Some docs
      d489bd70
    • Liu-Cheng Xu's avatar
      Enable colored help in CLI (#9244) · ff4b9c0d
      Liu-Cheng Xu authored
      Since it's already there, why not give it a chance :P
      ff4b9c0d
  6. Jun 30, 2021
    • Squirrel's avatar
      Move client only primitives to another dir (#9220) · d7804c09
      Squirrel authored
      * Move alloc primitive (not used in /pallets)
      
      * Move to alternative location as not shared
      
      * moved crates to different dir
      
      * ren sp_chain_spec to sc_chain_spec_primatives
      
      * merged sc-chain-spec and moved allocation up one.
      
      * no no_std
      
      * nudge
      
      * Bump CI
      d7804c09
  7. Jun 29, 2021
  8. Jun 24, 2021
  9. Jun 23, 2021
  10. Jun 22, 2021
  11. Jun 21, 2021
  12. Jun 20, 2021
  13. Jun 19, 2021
  14. Jun 18, 2021
    • André Silva's avatar
      grandpa: restrict grandpa gossip (#9131) · 90d47870
      André Silva authored
      * grandpa: make gossip more conservative (and fair)
      
      * grandpa: make round commit timer dependent on gossip_duration
      
      * grandpa: add gossip tests
      
      * grandpa: reduce variance in tests
      90d47870
  15. Jun 17, 2021
  16. Jun 16, 2021
  17. Jun 15, 2021
  18. Jun 14, 2021
    • Sergey Pepyakin's avatar
      Decommit instance memory after a runtime call on Linux (#8998) · 3df32a54
      Sergey Pepyakin authored
      * Decommit instance memory after a runtime call on Linux
      
      * Update documentation for the test
      
      * Remove unfinished comment
      
      * Use saturating_sub.
      
      Also update the doc comment.
      
      * Precise RSS tracking in the test
      
      Instead of tracking RSS for the whole process we just look at the particular mapping that is associated with the linear memory of the runtime instance
      
      * Remove unused import
      
      * Fix unused imports
      
      * Fix the unused imports error for good
      
      * Rollback an accidental change to benches
      
      * Fix the test
      
      * Remove now unneeded code
      3df32a54
  19. Jun 13, 2021
  20. Jun 11, 2021
  21. Jun 10, 2021
  22. Jun 09, 2021
  23. Jun 08, 2021
    • David's avatar
      Misc telemetry polish (#8484) · c7b9430b
      David authored
      * Remove TelemetryWorker::with_transport
      Make logging more useful
      
      * Re-instate TelemetryWorker::with_transport
      
      * Fix typo, don't spam
      c7b9430b