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

Add testcases #44

Merged
merged 3 commits into from
Mar 6, 2024
Merged

Add testcases #44

merged 3 commits into from
Mar 6, 2024

Conversation

joii2020
Copy link
Collaborator

@joii2020 joii2020 commented Mar 5, 2024

  • Fix incorrect shrinking: basic.mol
  • Testcase: The witnesses is none
  • Testcase: The output data is big enough(700k)
  • Testcase: Add a 700k witness
  • Testcase: Args is big enough (700k)

joii2020 added 2 commits March 4, 2024 18:09
* The witnesses is none
* The output data is big enough(16M)
* Add a 16M witness
* Args is big enough (16M)
.set_chain_config(Box::new(BitcoinConfig { sign_vtype: BITCOIN_V_TYPE_P2PKHUNCOMPRESSED, pubkey_err: false }));

let tx = gen_tx(&mut data_loader, &mut config);
let tx = tx.as_advanced_builder().set_outputs_data(vec![[0u8; 1024 * 1024 * 16].pack()]).build();
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

700 K is enough. 4M is too large and the cycles will be large too.

@joii2020 joii2020 requested a review from XuJiandong March 5, 2024 08:47
@XuJiandong XuJiandong merged commit 45ef4e5 into XuJiandong:cobuild Mar 6, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants