Skip to content

test(zone): expand ZoneFactory coverage#541

Open
grandizzy wants to merge 1 commit into
mainfrom
test/zonefactory-coverage
Open

test(zone): expand ZoneFactory coverage#541
grandizzy wants to merge 1 commit into
mainfrom
test/zonefactory-coverage

Conversation

@grandizzy

Copy link
Copy Markdown
Contributor

Adds unit + fuzz tests for ZoneFactory covering previously untested paths: InsufficientGas / ZoneIdOverflow reverts, full portal param propagation, messenger registration, sequencer-snapshot-after-rotation, and CREATE-address RLP nonce boundaries.

Coverage delta for src/zone/ZoneFactory.sol:

Metric before after
Lines 76.92% (40/52) 96.15% (50/52)
Statements 77.36% (41/53) 98.11% (52/53)
Branches 27.78% (5/18) 88.89% (16/18)
Functions 77.78% (7/9) 88.89% (8/9)

Raises ZoneFactory.sol coverage: lines 77->96%, branches 28->89%.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants