Files
smom-dbis-138/docs/channels/GAS_REPORT.md
2026-03-02 12:14:09 -08:00

10 lines
507 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Gas Report (Channels)
From: `forge test --match-path 'test/channels/*.t.sol' --gas-report`
PaymentChannelManager: Deployment ~1.26M. openChannel ~132173k, fundChannel ~57k, closeChannelCooperative ~67k, submitClose ~139k, challengeClose ~3365k, finalizeClose ~3158k.
GenericStateChannelManager: Deployment ~1.28M. openChannel ~176k, fundChannel ~57k, closeChannelCooperative ~68k, submitClose ~162k.
Re-run the command above for current numbers. E2E tests add full-flow gas; see test output.