Skip to content

Commit

Permalink
test: ignore sequencer tests for deprecation
Browse files Browse the repository at this point in the history
  • Loading branch information
xJonathanLEI committed Dec 5, 2023
1 parent 64ebc36 commit efc4308
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions starknet-accounts/tests/single_owner_account.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ fn create_jsonrpc_client() -> JsonRpcClient<HttpTransport> {
}

#[tokio::test]
#[ignore = "endpoint deprecated since Starknet v0.12.3"]
async fn can_get_nonce_with_sequencer() {
can_get_nonce_inner(
create_sequencer_client(),
Expand All @@ -47,6 +48,7 @@ async fn can_get_nonce_with_jsonrpc() {
}

#[tokio::test]
#[ignore = "endpoint deprecated since Starknet v0.12.3"]
async fn can_estimate_fee_with_sequencer() {
can_estimate_fee_inner(
create_sequencer_client(),
Expand All @@ -68,6 +70,7 @@ async fn can_estimate_fee_with_jsonrpc() {
// TODO: add `simulate` test cases back once transaction simulation in supported

#[tokio::test]
#[ignore = "endpoint deprecated since Starknet v0.12.3"]
async fn can_execute_tst_mint_with_sequencer() {
can_execute_tst_mint_inner(
create_sequencer_client(),
Expand All @@ -86,6 +89,7 @@ async fn can_execute_tst_mint_with_jsonrpc() {
}

#[tokio::test]
#[ignore = "endpoint deprecated since Starknet v0.12.3"]
async fn can_declare_cairo1_contract_with_sequencer() {
can_declare_cairo1_contract_inner(
create_sequencer_client(),
Expand All @@ -104,6 +108,7 @@ async fn can_declare_cairo1_contract_with_jsonrpc() {
}

#[tokio::test]
#[ignore = "endpoint deprecated since Starknet v0.12.3"]
async fn can_declare_cairo0_contract_with_sequencer() {
can_declare_cairo0_contract_inner(
create_sequencer_client(),
Expand Down
4 changes: 4 additions & 0 deletions starknet-providers/tests/sequencer_goerli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ fn felt_dec(dec: &str) -> FieldElement {
}

#[tokio::test]
#[ignore = "endpoint deprecated since Starknet v0.12.3"]
async fn sequencer_goerli_can_estimate_message_fee() {
let client = create_sequencer_client();

Expand Down Expand Up @@ -63,6 +64,7 @@ async fn sequencer_goerli_can_estimate_message_fee() {
}

#[tokio::test]
#[ignore = "endpoint deprecated since Starknet v0.12.3"]
async fn sequencer_goerli_can_simulate_transaction() {
let client = create_sequencer_client();

Expand Down Expand Up @@ -149,6 +151,7 @@ async fn sequencer_goerli_can_simulate_transaction() {
}

#[tokio::test]
#[ignore = "endpoint deprecated since Starknet v0.12.3"]
async fn sequencer_goerli_can_get_nonce() {
let client = create_sequencer_client();

Expand All @@ -167,6 +170,7 @@ async fn sequencer_goerli_can_get_nonce() {
}

#[tokio::test]
#[ignore = "endpoint deprecated since Starknet v0.12.3"]
async fn sequencer_goerli_can_bulk_estimate_fee() {
let client = create_sequencer_client();

Expand Down

0 comments on commit efc4308

Please sign in to comment.