Skip to content
This repository has been archived by the owner on Aug 2, 2024. It is now read-only.

Commit

Permalink
reduce the number of pending tx for CI to work
Browse files Browse the repository at this point in the history
  • Loading branch information
tdelabro committed Oct 12, 2023
1 parent 4d82f07 commit cabc56a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions starknet-rpc-test/pending_transactions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ async fn works_with_one_pending_transaction(madara: &ThreadSafeMadaraClient) ->

#[rstest]
#[tokio::test]
async fn works_with_500_pending_transactions(madara: &ThreadSafeMadaraClient) -> Result<(), anyhow::Error> {
async fn works_with_50_pending_transactions(madara: &ThreadSafeMadaraClient) -> Result<(), anyhow::Error> {
let rpc = madara.get_starknet_client().await;

let mut madara_write_lock = madara.write().await;
Expand All @@ -43,7 +43,7 @@ async fn works_with_500_pending_transactions(madara: &ThreadSafeMadaraClient) ->
let nonce: u64 = nonce[31] as u64;

// loop from 0 to 500
for nonce_idx in 0..500 {
for nonce_idx in 0..50 {
let _ = account
.transfer_tokens(
FieldElement::from_hex_be("0x123").unwrap(),
Expand Down

0 comments on commit cabc56a

Please sign in to comment.