Skip to content

Commit

Permalink
Merge branch 'main' into vk/remove-replay-override-entrycompat
Browse files Browse the repository at this point in the history
  • Loading branch information
vineethk authored Nov 22, 2024
2 parents c686731 + 3985353 commit 2ce340b
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions aptos-move/aptos-release-builder/src/simulate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -667,12 +667,19 @@ pub async fn simulate_multistep_proposal(
};
// TODO: ensure all scripts trigger reconfiguration.

println!(
"{}",
format!("Fee statement: {:#?}", vm_output.fee_statement())
.lines()
.map(|line| format!(" {}", line))
.collect::<Vec<_>>()
.join("\n")
);

let txn_output = vm_output
.try_materialize_into_transaction_output(&resolver)
.context("failed to materialize transaction output")?;

println!(" Gas used: {}", txn_output.gas_used());

let txn_status = txn_output.status();
match txn_status {
TransactionStatus::Keep(ExecutionStatus::Success) => {
Expand Down

0 comments on commit 2ce340b

Please sign in to comment.