Skip to content

Commit

Permalink
test(fixtures): remove wallet adjust for fee
Browse files Browse the repository at this point in the history
  • Loading branch information
rymnc committed Dec 3, 2024
1 parent 904b454 commit 0f1aef2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion fuel-zkvm-primitives-test-fixtures/src/opcodes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ async fn send_script_transaction(
}

wallet.add_witnesses(&mut builder)?;
wallet.adjust_for_fee(&mut builder, 0).await?;
// wallet.adjust_for_fee(&mut builder, 0).await?;
let provider = wallet.provider().expect("No provider");
let tx = builder.build(provider).await?;

Expand Down
4 changes: 3 additions & 1 deletion fuel-zkvm-primitives-utils/src/vm/contract.rs
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,9 @@ static MINT_METADATA: OnceLock<ContractInstructionMetadata> = OnceLock::new();

fn mint_metadata() -> &'static ContractInstructionMetadata {
MINT_METADATA.get_or_init(|| {
ContractInstructionMetadata::default_with_bytecode(vec![op::mint(RegId::ONE, 10)])
ContractInstructionMetadata::default_with_bytecode(u256_iterator_loop(|iterator| {
op::mint(RegId::ONE, iterator)
}))
})
}

Expand Down

0 comments on commit 0f1aef2

Please sign in to comment.