You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
metadataVersion=versions.reduce((largest,current)=>current.gt(largest) ? current : largest);
415
+
// For unstable versions of the metadata the last value is set to u32 MAX in the runtime. This ensures only supported stable versions are used.
416
+
metadataVersion=versions.filter((ver)=>SUPPORTED_METADATA_VERSIONS.includes(ver.toNumber())).reduce((largest,current)=>current.gt(largest) ? current : largest);
416
417
}catch(e){
417
418
l.debug((easError).message);
418
419
l.warn('error with state_call::Metadata_metadata_versions, rpc::state::get_metadata will be used');
0 commit comments