Skip to content

v0.1.7

Choose a tag to compare

@PowVT PowVT released this 11 Sep 18:15
2745cc3

This is a temporary patch to the v0.1.6 release to fix the external btc http client request calls.

➜ sova-reth git:(btc-external-client-fix) git diff v0.1.6
diff --git a/crates/sova-evm/src/precompiles/btc_client.rs b/crates/sova-evm/src/precompiles/btc_client.rs
index fde1b5e..48c9f2f 100644
--- a/crates/sova-evm/src/precompiles/btc_client.rs
+++ b/crates/sova-evm/src/precompiles/btc_client.rs
@@ -184,8 +184,8 @@ impl ExternalRpcClient {
.client
.post(&self.url)
.json(&json!({

  •            "jsonrpc": "1.0",
    
  •            "id": id.to_string(),
    
  •            "jsonrpc": "2.0",
    
  •            "id": id,
               "method": method,
               "params": params
           }))