Problem
It is currently difficult to profile transactions with real mainnet conditions without extensive setup. This is especially important due to the constraints introduced by scheduled transactions.
Suggested Solution
Add a flow transactions profile <tx_id> --network <network> command. Internally it should:
- Fork on the emulator with profiling enabled
- Replay txns up to including this one in the block
- Output the profiling report for the txn
Problem
It is currently difficult to profile transactions with real mainnet conditions without extensive setup. This is especially important due to the constraints introduced by scheduled transactions.
Suggested Solution
Add a
flow transactions profile <tx_id> --network <network>command. Internally it should: