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

Fix inscribe_with_no_limit test #3403

Merged
merged 4 commits into from
Mar 29, 2024
Merged
Changes from 1 commit
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
9 changes: 5 additions & 4 deletions tests/wallet/inscribe.rs
Original file line number Diff line number Diff line change
Expand Up @@ -537,11 +537,12 @@ fn inscribe_with_no_limit() {

bitcoin_rpc_server.mine_blocks(1);

let four_megger = std::iter::repeat(0).take(4_000_000).collect::<Vec<u8>>();
CommandBuilder::new("wallet inscribe --no-limit degenerate.png --fee-rate 1")
.write("degenerate.png", four_megger)
let one_megger = std::iter::repeat(0).take(1_000_000).collect::<Vec<u8>>();
CommandBuilder::new("wallet inscribe --no-limit --file degenerate.png --fee-rate 1")
.write("degenerate.png", one_megger)
.bitcoin_rpc_server(&bitcoin_rpc_server)
.ord_rpc_server(&ord_rpc_server);
.ord_rpc_server(&ord_rpc_server)
.run_and_deserialize_output::<Inscribe>();
}

#[test]
Expand Down
Loading