Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
remove dbg
  • Loading branch information
liamaharon committed Nov 21, 2023
commit 4b8e40a89eba899af254480f592e408124da652e
2 changes: 0 additions & 2 deletions core/src/state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -306,8 +306,6 @@ impl State {
new_code_hash
);

dbg!(&runtime_checks);

if runtime_checks.name_matches && new_version.spec_name != old_version.spec_name {
return Err(
"Spec names must match. Use `--disable-spec-name-check` to disable this check."
Expand Down
4 changes: 0 additions & 4 deletions core/tests/on_runtime_upgrade.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,8 @@ mod on_runtime_upgrade {
"{}/tests/runtimes/bridge_hub_rococo_runtime_ok.compact.compressed.wasm",
project_root
);
dbg!(&runtime_path, &snap_path);
let child = on_runtime_upgrade(snap_path.as_str(), runtime_path.as_str(), &[], &[]);
let out = child.wait_with_output().await.unwrap();
dbg!(&out);
assert!(out.status.success());
})
.await;
Expand Down Expand Up @@ -209,7 +207,6 @@ mod on_runtime_upgrade {
&[],
);
let out = child.wait_with_output().await.unwrap();
dbg!(&out);
assert!(out.status.success());
})
.await;
Expand Down Expand Up @@ -248,7 +245,6 @@ mod on_runtime_upgrade {
&["--disable-spec-version-check"],
);
let out = child.wait_with_output().await.unwrap();
dbg!(&out);
assert!(out.status.success());
})
.await;
Expand Down