Skip to content
Snippets Groups Projects
  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 <gui.thiolliere@gmail.com>
      
      * 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 <admin@parity.io>
      Co-authored-by: default avatarGuillaume Thiolliere <gui.thiolliere@gmail.com>
      b42b8fc5
  2. Jun 23, 2021
  3. Jun 22, 2021
  4. Jun 09, 2021
    • Radu Popa's avatar
      READY Update simnet tests to v5 (#8946) · 43422ba4
      Radu Popa authored
      * Update simnet tests to v4
      
      * enable simnet tests for PRs
      
      * add stage to job "test-linux-stable-int"
      
      * v2.0.0simnet
      
      * alow build-for-simnet option
      
      * Fix passing of IMAGE_TAG to downstream
      
      * forgot to build-for-simnet
      
      * build-for-simnet
      
      * build-for-simnet
      
      * build-for-simnet
      
      * build-for-simnet
      
      * build-for-simnet
      
      * take a shortcut build-for-simnet
      
      * build-for-simnet
      
      * update triggering script to polkadot version
      
      * "revert me"
      
      * "revert me"  build-for-simnet
      
      * add simnet version as arg to script
      
      * revert me build-for-simnet
      
      * build-for-simnet
      
      * remove triggering simnet for PRs for now
      
      * Add suggestions from Vladimir
      
      * Add suggestions from Vladimir
      43422ba4
  5. May 28, 2021
  6. May 27, 2021
  7. May 25, 2021
  8. May 20, 2021
  9. May 06, 2021
  10. Apr 23, 2021
  11. Apr 16, 2021
    • Denis_P's avatar
      CI updates (#8633) · 4dcbac4b
      Denis_P authored
      * CI: opt bench jobs; add bench to triggered job
      
      * CI: no need in manual builds; build=publish
      
      * CI: more logs to the trigger job
      
      * CI: DAGs and louts
      4dcbac4b
  12. Apr 12, 2021
  13. Apr 08, 2021
  14. Apr 07, 2021
  15. Mar 29, 2021
  16. Mar 26, 2021
  17. Mar 23, 2021
  18. Mar 17, 2021
  19. Mar 16, 2021
  20. Mar 05, 2021
  21. Feb 23, 2021
  22. Feb 19, 2021
    • Denis_P's avatar
      CI: test and update ci image, codeowners (#8142) · 82e52b8b
      Denis_P authored
      * CI: prep for the new ff deployment
      
      * CI: variable for CI image
      
      * git: add CI team and remove Max from CODEOWNERS
      
      * CI: diener should be updated in CI image, not here.
      
      * CI: diener should be updated in CI image, not here.
      
      * CI: run cargo deny on changes to manifests and lock; run build jobs on schedules [skip ci]
      
      * CI: remove flaming-fir deployment, it will be handled from s3 updates [skip ci]
      
      * CI: trigger simnet with a certain substrate version
      
      * CI: remove cargo-audit in favor of cargo-deny; prepare for being triggered
      
      * CI: prepare to be triggered
      
      * CI: chore
      82e52b8b
  23. Feb 15, 2021
  24. Feb 11, 2021
  25. Feb 10, 2021
    • Bastian Köcher's avatar
      Switch to use `diener patch` for companion build (#8073) · fd5fbd62
      Bastian Köcher authored
      This switch to the new `diener patch` command to patch all Substrate
      crates in Polkadot. This should remove the requirement to manually merge
      Substrate master to make the companion build, as we now would use the
      already with master merged code from this build job local checkout.
      fd5fbd62
  26. Feb 01, 2021
  27. Jan 29, 2021
  28. Jan 21, 2021
    • Max Inden's avatar
      .maintain: Replace sentry-node with local-docker-test-network (#7943) · 9031c351
      Max Inden authored
      Sentry nodes are deprecated. Thus there is no need for
      `.maintain/sentry-node` to spin up a sentry node test environment.
      Instead this commit rewrites the setup to contain two full-connected
      validators and one light client.
      
      With the steps below one can now spin up a local test network with
      two validators, one light-client, Prometheus and Grafana.
      
      - cargo build --release
      - sudo docker-compose -f .maintain/local-docker-test-network/docker-compose.yml up
      9031c351
  29. Jan 19, 2021
  30. Jan 16, 2021
  31. Jan 14, 2021
  32. Jan 12, 2021
  33. Jan 05, 2021
    • Max Inden's avatar
      client/network: Use request response for block requests (#7478) · 3f629f74
      Max Inden authored
      
      * client/network: Add scaffolding for finality req to use req resp
      	#sc
      
      * client/network/src/finality_requests: Remove
      
      * client/network/src/behaviour: Pass request id down to sync
      
      * client/network: Use request response for block requests
      
      * client/network: Move handler logic into *_*_handler.rs
      
      * client/network: Track ongoing finality requests in protocol.rs
      
      * client/network: Remove commented out finalization initialization
      
      * client/network: Add docs for request handlers
      
      * client/network/finality_request_handler: Log errors
      
      * client/network/block_request_handler: Log errors
      
      * client/network: Format
      
      * client/network: Handle block request failure
      
      * protocols/network: Fix tests
      
      * client/network/src/behaviour: Handle request sending errors
      
      * client/network: Move response handling into custom method
      
      * client/network/protocol: Handle block response errors
      
      * client/network/protocol: Remove tracking of obsolete requests
      
      * client/network/protocol: Remove block request start time tracking
      
      This will be handled generically via request-responses.
      
      * client/network/protocol: Refactor on_*_request_started
      
      * client/network: Pass protocol config instead of protocol name
      
      * client/network: Pass protocol config in tests
      
      * client/network/config: Document request response configs
      
      * client/network/src/_request_handler: Document protocol config gen
      
      * client/network/src/protocol: Document Peer request values
      
      * client/network: Rework request response to always use oneshot
      
      * client/network: Unified metric reporting for all request protocols
      
      * client/network: Move protobuf parsing into protocol.rs
      
      * client/network/src/protocol: Return pending events after poll
      
      * client/network: Improve error handling and documentation
      
      * client/network/behaviour: Remove outdated error types
      
      * Update client/network/src/block_request_handler.rs
      
      Co-authored-by: default avatarAshley <ashley.ruglys@gmail.com>
      
      * Update client/network/src/finality_request_handler.rs
      
      Co-authored-by: default avatarAshley <ashley.ruglys@gmail.com>
      
      * client/network/protocol: Reduce reputation on timeout
      
      * client/network/protocol: Refine reputation changes
      
      * client/network/block_request_handler: Set and explain queue length
      
      * client/service: Deny block requests when light client
      
      * client/service: Fix role matching
      
      * client: Enforce line width
      
      * client/network/request_responses: Fix unit tests
      
      * client/network: Expose time to build response via metrics
      
      * client/network/request_responses: Fix early connection closed error
      
      * client/network/protocol: Fix line length
      
      * client/network/protocol: Disconnect on most request failures
      
      * client/network/protocol: Disconnect peer when oneshot is canceled
      
      * client/network/protocol: Disconnect peer even when connection closed
      
      * client/network/protocol: Remove debugging log line
      
      * client/network/request_response: Use Clone::clone for error
      
      * client/network/request_response: Remove outdated comment
      
      With libp2p v0.33.0 libp2p-request-response properly sends inbound
      failures on connections being closed.
      
      Co-authored-by: default avatarAddie Wagenknecht <addie@nortd.com>
      Co-authored-by: default avatarAshley <ashley.ruglys@gmail.com>
      3f629f74
  34. Jan 04, 2021
    • Bastian Köcher's avatar
      Happy new year (#7814) · e3e651f7
      Bastian Köcher authored
      * Happy new year
      
      Updates the copyright years and fixes wrong license headers.
      
      * Fix the template
      
      * Split HEADER into HEADER-APACHE & HEADER-GPL
      e3e651f7
  35. Dec 19, 2020