Unverified Commit 57570403 authored by emostov's avatar emostov
Browse files

Improve version mismatch log

parent 3e7b8330
Pipeline #155616 failed with stages
in 8 minutes and 17 seconds
...@@ -499,7 +499,8 @@ pub(crate) async fn check_versions<T: frame_system::Config + EPM::Config>( ...@@ -499,7 +499,8 @@ pub(crate) async fn check_versions<T: frame_system::Config + EPM::Config>(
if linked_version != on_chain_version { if linked_version != on_chain_version {
log::error!( log::error!(
target: LOG_TARGET, target: LOG_TARGET,
"VERSION MISMATCH: any transaction will fail with bad-proof" "VERSION MISMATCH: any transaction will fail with bad-proof. (linked_version = {}, on_chain_version = {}).",
linked_version, on_chain_version
); );
Err(Error::VersionMismatch) Err(Error::VersionMismatch)
} else { } else {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment