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
Copy file name to clipboardExpand all lines: crates/runner/src/lib.rs
+8Lines changed: 8 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -106,6 +106,14 @@ impl Runner {
106
106
);
107
107
let provider:Arc<_> = JsonRpcClient::new(transport).into();
108
108
109
+
// Check provider spec version. We only support v0.8.
110
+
let spec_version = provider.spec_version().await?;
111
+
if !spec_version.starts_with("0.8"){
112
+
returnErr(anyhow::anyhow!(
113
+
"Provider spec version is not supported. Please use a provider that supports v0.8. Got: {spec_version}. You might need to add a `rpc/v0_8` to the end of the URL."
0 commit comments