Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Commit

Permalink
Merge remote-tracking branch 'origin/master' into gav-xcm-v3
Browse files Browse the repository at this point in the history
  • Loading branch information
KiChjang committed Feb 2, 2022
2 parents 2ccb1f4 + bd3f56f commit 0dcdf44
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 8 deletions.
4 changes: 0 additions & 4 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,6 @@ build-rustdoc:

.build-push-image: &build-push-image
<<: *kubernetes-env
<<: *vault-secrets
image: quay.io/buildah/stable
variables: &image-variables
GIT_STRATEGY: none
Expand Down Expand Up @@ -601,10 +600,8 @@ zombienet-test-parachains-upgrade-smoke-test:
- job: publish-polkadot-image
- job: publish-malus-image
- job: publish-adder-collator-image

variables:
GH_DIR: 'https://github.com/paritytech/polkadot/tree/${CI_COMMIT_SHORT_SHA}/zombienet_tests/parachains'

before_script:
- echo "ZombieNet Tests Config"
- echo "docker.io/parity/polkadot:latest"
Expand All @@ -614,7 +611,6 @@ zombienet-test-parachains-upgrade-smoke-test:
- export DEBUG=zombie,zombie::network-node
- export ZOMBIENET_INTEGRATION_TEST_IMAGE="docker.io/parity/polkadot:latest" # Use polkadot latest image
- export COL_IMAGE="docker.io/parity/polkadot-collator:latest" # Use cumulus lastest image

script:
- /home/nonroot/zombie-net/scripts/run-test-env-manager.sh
--github-remote-dir="${GH_DIR}"
Expand Down
2 changes: 1 addition & 1 deletion node/core/provisioner/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -655,7 +655,7 @@ async fn select_disputes(
sender: &mut impl SubsystemSender,
metrics: &metrics::Metrics,
) -> Result<MultiDisputeStatementSet, Error> {
const MAX_DISPUTES_FORWARDED_TO_RUNTIME: usize = 10_000;
const MAX_DISPUTES_FORWARDED_TO_RUNTIME: usize = 1_000;

// We use `RecentDisputes` instead of `ActiveDisputes` because redundancy is fine.
// It's heavier than `ActiveDisputes` but ensures that everything from the dispute
Expand Down
18 changes: 15 additions & 3 deletions node/core/pvf/src/metrics.rs
Original file line number Diff line number Diff line change
Expand Up @@ -160,11 +160,11 @@ impl metrics::Metrics for Metrics {
0.1,
0.5,
1.0,
2.0,
3.0,
10.0,
20.0,
30.0,
40.0,
50.0,
60.0,
]),
)?,
Expand All @@ -175,7 +175,19 @@ impl metrics::Metrics for Metrics {
prometheus::HistogramOpts::new(
"polkadot_pvf_execution_time",
"Time spent in executing PVFs",
)
).buckets(vec![
// This is synchronized with `APPROVAL_EXECUTION_TIMEOUT` and
// `BACKING_EXECUTION_TIMEOUT` constants in `node/primitives/src/lib.rs`
0.1,
0.25,
0.5,
1.0,
2.0,
3.0,
4.0,
5.0,
6.0,
]),
)?,
registry,
)?,
Expand Down

0 comments on commit 0dcdf44

Please sign in to comment.