Closed varunsrin closed 1 year ago
Coverage after merging varunsrin/bundler-test-coverage into main will be
98.77% |
---|
File | Stmts | Branches | Funcs | Lines | Uncovered Lines |
---|---|---|---|---|---|
src | |||||
Bundler.sol | 94.12% | 83.33% | 100% | 100% | 124, 126 |
FnameResolver.sol | 96.30% | 75% | 100% | 100% | 121 |
IdRegistry.sol | 97.30% | 100% | 92.31% | 97.44% | 315 |
StorageRent.sol | 98.82% | 98.39% | 100% | 98.88% | 463, 465 |
Motivation
Improves coverage for core Bundler functionality
Change Summary
Merge Checklist
Choose all relevant options below by adding an
x
now or at any time before submitting for reviewPR-Codex overview
Focus of this PR:
This PR focuses on adding ownership transfer functionality to the
Bundler
contract.Detailed summary:
OwnershipTransferred
event.Rent
event.testFuzzTrustedBatchRegister
function to take the number of registrations as a parameter.testFuzzTrustedBatchRegister
function to use a loop for batch registration.testFuzzTransferOwnership
function to test ownership transfer functionality.testFuzzCannotTransferOwnershipUnlessOwner
function to test restriction on ownership transfer.testFuzzAcceptOwnership
function to test ownership acceptance functionality.testFuzzCannotAcceptOwnershipUnlessPendingOwner
function to test restriction on ownership acceptance.