Skip to content

Commit

Permalink
chore(evm-unittests): increased coverage to 80%
Browse files Browse the repository at this point in the history
Signed-off-by: Kaan Caglan <[email protected]>
  • Loading branch information
Caglankaan committed Nov 28, 2024
1 parent bed9629 commit 31d2c0b
Show file tree
Hide file tree
Showing 3 changed files with 1,178 additions and 2 deletions.
6 changes: 4 additions & 2 deletions evm/evm.nix
Original file line number Diff line number Diff line change
Expand Up @@ -466,9 +466,11 @@ _: {
'contracts/Multicall.sol' \
'contracts/clients/Verifier.sol' \
'contracts/apps/ucs/00-pingpong/*' \
'contracts/lib/*' \
'contracts/core/OwnableIBCHandler.sol' \
'contracts/core/24-host/IBCCommitment.sol' \
'contracts/core/25-handler/IBCHandler.sol' \
'contracts/clients/ICS23MembershipVerifier.sol' \
'tests/*'
genhtml lcov.info.pruned -o $out --branch-coverage
mv lcov.info.pruned $out/lcov.info
Expand Down Expand Up @@ -519,7 +521,7 @@ _: {
runtimeInputs = [ self'.packages.forge ];
text = ''
${ensureAtRepositoryRoot}
FOUNDRY_LIBS=["${evmLibs}"] FOUNDRY_PROFILE="test" FOUNDRY_TEST="evm/tests/src" forge test -vvvv --match-path evm/tests/src/05-app/Relay.t.sol --gas-report "$@"
FOUNDRY_LIBS=["${evmLibs}"] FOUNDRY_PROFILE="test" FOUNDRY_TEST="evm/tests/src" forge test -vvvv --match-path evm/tests/src/02-client/CosmosInCosmosClient.t.sol --gas-report "$@"
'';
};

Expand Down Expand Up @@ -630,4 +632,4 @@ _: {
}) networks
);
};
}
}
Loading

0 comments on commit 31d2c0b

Please sign in to comment.