Skip to content

Commit 64ebc36

Browse files
authored
feat(jsonrpc): switch to spec 0.5.1 (#505)
1 parent 72cd272 commit 64ebc36

File tree

14 files changed

+1180
-486
lines changed

14 files changed

+1180
-486
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
**Complete Starknet library in Rust[](https://www.reddit.com/r/rust/comments/12e7tdb/rust_trademark_policy_feedback_form/)**
77

88
![starknet-version-v0.12.1](https://img.shields.io/badge/Starknet_Version-v0.12.1-2ea44f?logo=ethereum)
9-
[![jsonrpc-spec-v0.4.0](https://img.shields.io/badge/JSON--RPC-v0.4.0-2ea44f?logo=ethereum)](https://github.com/starkware-libs/starknet-specs/tree/v0.3.0)
9+
[![jsonrpc-spec-v0.5.1](https://img.shields.io/badge/JSON--RPC-v0.5.1-2ea44f?logo=ethereum)](https://github.com/starkware-libs/starknet-specs/tree/v0.5.1)
1010
[![linting-badge](https://github.com/xJonathanLEI/starknet-rs/actions/workflows/lint.yaml/badge.svg?branch=master)](https://github.com/xJonathanLEI/starknet-rs/actions/workflows/lint.yaml)
1111
[![crates-badge](https://img.shields.io/crates/v/starknet.svg)](https://crates.io/crates/starknet)
1212

starknet-accounts/tests/single_owner_account.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ fn create_sequencer_client() -> SequencerGatewayProvider {
2424

2525
fn create_jsonrpc_client() -> JsonRpcClient<HttpTransport> {
2626
let rpc_url =
27-
std::env::var("STARKNET_RPC").unwrap_or("https://rpc-goerli-1.starknet.rs/rpc/v0.4".into());
27+
std::env::var("STARKNET_RPC").unwrap_or("https://rpc-goerli-1.starknet.rs/rpc/v0.5".into());
2828
JsonRpcClient::new(HttpTransport::new(url::Url::parse(&rpc_url).unwrap()))
2929
}
3030

starknet-contract/tests/contract_deployment.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ use url::Url;
1212
#[tokio::test]
1313
async fn can_deploy_contract_to_alpha_goerli() {
1414
let rpc_url =
15-
std::env::var("STARKNET_RPC").unwrap_or("https://rpc-goerli-1.starknet.rs/rpc/v0.4".into());
15+
std::env::var("STARKNET_RPC").unwrap_or("https://rpc-goerli-1.starknet.rs/rpc/v0.5".into());
1616
let provider = JsonRpcClient::new(HttpTransport::new(Url::parse(&rpc_url).unwrap()));
1717
let signer = LocalWallet::from(SigningKey::from_secret_scalar(
1818
FieldElement::from_hex_be(

0 commit comments

Comments
 (0)