farcasterxyz / contracts

Implementation of the Farcaster contracts
https://www.farcaster.xyz/
MIT License
340 stars 122 forks source link

test(Bundler): add coverage for Ownable2Step, better fuzzing for trustedBatchRegister #243

Closed varunsrin closed 1 year ago

varunsrin commented 1 year ago

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 review


PR-Codex overview

Focus of this PR:

This PR focuses on adding ownership transfer functionality to the Bundler contract.

Detailed summary:

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

github-actions[bot] commented 1 year ago

Coverage after merging varunsrin/bundler-test-coverage into main will be

98.77%

Coverage Report
FileStmtsBranchesFuncsLinesUncovered Lines
src
   Bundler.sol94.12%83.33%100%100%124, 126
   FnameResolver.sol96.30%75%100%100%121
   IdRegistry.sol97.30%100%92.31%97.44%315
   StorageRent.sol98.82%98.39%100%98.88%463, 465