Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: ignore sequencer tests for deprecation #512

Merged
merged 1 commit into from
Dec 5, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading