Skip to content

Commit

Permalink
Merge pull request #2186 from vvp/fix/tx_execute_verify_bench
Browse files Browse the repository at this point in the history
Fix the panic in Transaction::execute(transfer_public)- benchmark
  • Loading branch information
howardwu authored Nov 24, 2023
2 parents 052cbd9 + ff9025c commit 12cc5c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ledger/benches/transaction.rs
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ fn execute(c: &mut Criterion) {
// Retrieve the execution ID.
let execution_id = execute_authorization.to_execution_id().unwrap();
// Authorize the fee.
let fee_authorization = vm.authorize_fee_public(&private_key, 100000, 1000, execution_id, rng).unwrap();
let fee_authorization = vm.authorize_fee_public(&private_key, 300000, 1000, execution_id, rng).unwrap();

c.bench_function("Transaction::Execute(transfer_public)", |b| {
b.iter(|| {
Expand Down

0 comments on commit 12cc5c6

Please sign in to comment.