Skip to content
Snippets Groups Projects
  1. Jul 21, 2021
  2. Jul 19, 2021
  3. Jul 11, 2021
    • Benjamin Kampmann's avatar
      Attempting to fix publishing (#9140) · c78c2892
      Benjamin Kampmann authored
      
      * mark template and utils as non-publish
      
      * switch to development version for testing
      
      * activate unleash check
      
      * maybe if I disable all rules...
      
      * Fix isolated compilation of `max-encoded-len-derive` with `syn`
      
      error[E0369]: binary operation `==` cannot be applied to type `syn::Path`
        --> src/lib.rs:88:29
         |
      88 |             .filter(|attr| attr.path == parse_quote!(max_encoded_len_crate))
         |                            --------- ^^ ----------------------------------- _
         |                            |
         |                            syn::Path
      
      error: aborting due to previous error
      
      For more information about this error, try `rustc --explain E0369`.
      Error: could not compile `max-encoded-len-derive`
      
      * WIP: bump changes crates since v3 tag to next breaking
      
      cargo unleash version bump-breaking --changed-since v3.0.0
      cargo unleash version set-pre dev --changed-since v3.0.0
      
      FIXME: Don't modify crates that are not yet released, e.g.
      `max-encoded-len-derive`
      
      * Update lockfile
      
      * WIP: Bump sp-transaction-pool as well
      
      * WIP: Bump sp-offchain as well
      
      * WIP: Bump frame-system-rpc-runtime-api as well
      
      * WIP: Bump sp-authority-discovery as well
      
      * Manually deactivate dev-deps before `cargo unleash check`
      
      Otherwise we run into `Cycle detected` error.
      
      * Bump sp-consensus-slots
      
      * Add missing Cargo.lock change
      
      * Bump sp-consensus-vrf as well
      
      * Bump sp-keyring as well
      
      * Bump sp-consensus-pow as well
      
      * Try to speed up the `unleash-check` job
      
      Previously, the job took 106 minutes - let's see if explicitly
      specifying a `CARGO_TARGET_DIR` will help
      
      * fixup: Ensure the temp target dir exists for unleash check
      
      * Bump pallet-transaction-payment-rpc-runtime-api as well
      
      Needed for Polkadot
      
      * Bump pallet-transaction-payment-rpc as well
      
      Needed for Polkadot
      
      * Try updating crates after patching in the Polkadot CI job
      
      * Use another approach to update patched Substrate crates
      
      * Try to update all sp-core versions in Polkadot CI job
      
      * Simplify sp-core version checking
      
      * Apply another shellcheck lint
      
      * Just do the simplest thing I guess
      
      * Welp don't do --offline then
      
      * Clean up `unleash-check` job triggers
      
      Co-authored-by: default avatarDenis Pisarev <denis.pisarev@parity.io>
      
      * Fix a note in unleash-check cache step
      
      * Add a note about temporary optimization in cargo-unleash
      
      * Pin a newer version of cargo-unleash
      
      Co-authored-by: default avatarIgor Matuszewski <xanewok@gmail.com>
      Co-authored-by: default avatarDenis Pisarev <denis.pisarev@parity.io>
      c78c2892
  4. 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
  5. Jun 23, 2021
  6. Jun 22, 2021
  7. 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
  8. May 28, 2021
  9. May 27, 2021
  10. May 25, 2021
  11. May 20, 2021
  12. May 06, 2021
  13. Apr 23, 2021
  14. 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
  15. Apr 12, 2021
  16. Apr 08, 2021
  17. Apr 07, 2021
  18. Mar 29, 2021
  19. Mar 26, 2021
  20. Mar 23, 2021
  21. Mar 17, 2021
  22. Mar 16, 2021
  23. Mar 05, 2021
  24. Feb 23, 2021
  25. 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
  26. Feb 15, 2021
  27. Feb 11, 2021
  28. 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
  29. Feb 01, 2021
  30. Jan 29, 2021
  31. 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
  32. Jan 19, 2021
  33. Jan 16, 2021
  34. Jan 14, 2021
  35. Jan 12, 2021