Skip to content

Commit 2d9438c

Browse files
author
jagdeep sidhu
committed
rm max_blob_size()
1 parent 09360f1 commit 2d9438c

File tree

3 files changed

+3
-21
lines changed

3 files changed

+3
-21
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "bitcoin_da_client"
3-
version = "0.1.2"
3+
version = "0.1.3"
44
edition = "2021"
55
authors = ["SYS LABS [email protected]"]
66
description = "Tools for interacting with BitcoinDA by SYS LABS"

tests/lib_test.rs

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ mod tests {
33
use mockito::Server;
44
use serde_json::json;
55
use tokio;
6-
use bitcoin_da_client::{SyscoinClient, MAX_BLOB_SIZE};
6+
use bitcoin_da_client::SyscoinClient;
77
use hex;
88

99

@@ -290,23 +290,5 @@ mod tests {
290290
assert_eq!(result.unwrap(), expected_data);
291291
}
292292

293-
#[tokio::test]
294-
async fn test_max_blob_size() {
295-
// Create a client
296-
let client = SyscoinClient::new(
297-
"http://dummy-url.com",
298-
"user",
299-
"password",
300-
"http://dummy-poda.com",
301-
None
302-
).unwrap();
303-
304-
// Verify it returns the correct size constant
305-
assert_eq!(client.max_blob_size(), MAX_BLOB_SIZE);
306-
307-
// Verify it's reasonable (2 MiB)
308-
assert_eq!(client.max_blob_size(), 2 * 1024 * 1024);
309-
}
310-
311293
}
312294

0 commit comments

Comments
 (0)