increase coverage of contracts package#2209
increase coverage of contracts package#2209mslipper merged 1 commit intoethereum-optimism:developfrom tonykogias:increase-codecov-contracts-package
Conversation
|
Codecov Report
@@ Coverage Diff @@
## develop #2209 +/- ##
===========================================
+ Coverage 74.57% 77.78% +3.20%
===========================================
Files 86 86
Lines 2962 2962
Branches 511 511
===========================================
+ Hits 2209 2304 +95
+ Misses 753 658 -95
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
|
@smartcontracts I managed to increase the statement coverage from Also, I noticed that you are still using smock's old version. Is migrating from smock v1 to v2 something you are thinking of doing in the future? If so let me know and I can help since I got the hang of it the past few days. |
|
@tonykogias this is amazing work, thank you. I have been on break this past week but I will make sure to review this first thing next week! Upgrading to smock v2 is definitely important for us in the future (smock v1 relies on some old dependencies that I'd like to remove). |
smartcontracts
left a comment
There was a problem hiding this comment.
This is really excellent work, thank you @tonykogias. Left some minor nitpicks, but otherwise looks really good.
| }) | ||
|
|
||
| describe('returnOwnership', () => { | ||
| it('should transfer contractc ownership to finalOwner', async () => { |
|
Let's get this combined into a few clean commits using the conventional commit format (and rebased onto develop) and we should be good to go. I don't think we need a changeset because we're only touching test code here. |
This commit increases the statement and branch coverage of the contracts package. More specificall the contracts that were covered are: - AddressDictator - ChugSplashDictator - L1CrossDomainMessenger - L1StandardBridge - CanonicalTransactionChain - ChainStorageContainer - StateCommitmentChain - L2CrossDomainMessenger - L2StandardBridge - WETH9 - Lib_OVMCode - Lib_RLPWriter - Lib_SecureMerkleTrie - Lib_Buffer - Lib_MerkleTree
Metadata