Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: small fixes #3369

Merged
merged 1 commit into from
Dec 12, 2024

feat: small fixes

7efa097
Select commit
Loading
Failed to load commit list.
Merged

feat: small fixes #3369

feat: small fixes
7efa097
Select commit
Loading
Failed to load commit list.
Garnix CI / package solidity-coverage [x86_64-linux] succeeded Dec 12, 2024 in 1m 37s

Run results

Build succeeded

Details

Last 100 lines of logs:

[PASS] test_batchSend_packetNotSent(uint64,uint64,uint8) (runs: 256, μ: 114175, ~: 71518)
[PASS] test_recvIntentPacket_commitmentSaved(uint32,bytes,uint8) (runs: 256, μ: 5653313, ~: 3808243)
[PASS] test_recvIntentPacket_ok(uint32,bytes,uint8) (runs: 256, μ: 4577794, ~: 3088928)
[PASS] test_recvIntentPacket_ok_1(uint32,bytes) (runs: 256, μ: 79507, ~: 79462)
[PASS] test_recvIntentPacket_ok_10(uint32,bytes) (runs: 256, μ: 546052, ~: 545602)
[PASS] test_recvIntentPacket_ok_15(uint32,bytes) (runs: 256, μ: 805420, ~: 804743)
[PASS] test_recvIntentPacket_ok_20(uint32,bytes) (runs: 256, μ: 1063489, ~: 1062583)
[PASS] test_recvIntentPacket_ok_25(uint32,bytes) (runs: 256, μ: 1324007, ~: 1322872)
[PASS] test_recvIntentPacket_ok_30(uint32,bytes) (runs: 256, μ: 1583454, ~: 1582089)
[PASS] test_recvIntentPacket_ok_5(uint32,bytes) (runs: 256, μ: 286602, ~: 286378)
[PASS] test_recvIntentPacket_timeoutHeight(uint64,uint32,bytes,uint8) (runs: 256, μ: 440711, ~: 240213)
[PASS] test_recvIntentPacket_timeoutTimestamp(uint32,uint32,bytes,uint8) (runs: 256, μ: 513236, ~: 309488)
[PASS] test_recvPacket_ackCommitmentSaved(uint32,bytes,uint8) (runs: 256, μ: 5825925, ~: 3926167)
[PASS] test_recvPacket_invalidChannelState(uint32,uint32,bytes,uint8) (runs: 256, μ: 504075, ~: 306440)
[PASS] test_recvPacket_invalidProof(uint32,bytes,uint8) (runs: 256, μ: 672341, ~: 456055)
[PASS] test_recvPacket_noAck_receiptCommitmentSaved(uint32,bytes,uint8) (runs: 256, μ: 4954572, ~: 3345362)
[PASS] test_recvPacket_ok(uint32,bytes,uint8) (runs: 256, μ: 4719899, ~: 3176340)
[PASS] test_recvPacket_ok_1(uint32,bytes) (runs: 256, μ: 70985, ~: 70940)
[PASS] test_recvPacket_ok_10(uint32,bytes) (runs: 256, μ: 551340, ~: 550879)
[PASS] test_recvPacket_ok_15(uint32,bytes) (runs: 256, μ: 818752, ~: 818058)
[PASS] test_recvPacket_ok_20(uint32,bytes) (runs: 256, μ: 1088037, ~: 1087108)
[PASS] test_recvPacket_ok_25(uint32,bytes) (runs: 256, μ: 1353930, ~: 1352764)
[PASS] test_recvPacket_ok_30(uint32,bytes) (runs: 256, μ: 1623099, ~: 1621694)
[PASS] test_recvPacket_ok_5(uint32,bytes) (runs: 256, μ: 284328, ~: 284099)
[PASS] test_recvPacket_timeoutHeight(uint64,uint32,bytes,uint8) (runs: 256, μ: 599726, ~: 332520)
[PASS] test_recvPacket_timeoutTimestamp(uint32,uint32,bytes,uint8) (runs: 256, μ: 698566, ~: 428249)
[PASS] test_sendPacket_channelDoesntExist(uint32,uint64,uint64,bytes) (runs: 256, μ: 26212, ~: 26200)
[PASS] test_sendPacket_commitmentSaved(uint64,uint64,bytes) (runs: 256, μ: 66093, ~: 65625)
[PASS] test_sendPacket_missingTimeout(bytes) (runs: 256, μ: 20854, ~: 20853)
[PASS] test_sendPacket_moduleIsntChannelOwner(uint64,uint64,bytes,address) (runs: 256, μ: 24570, ~: 24557)
[PASS] test_sendPacket_ok(uint64,uint64,bytes) (runs: 256, μ: 53113, ~: 52711)
[PASS] test_timeoutPacket_height_commitmentRemoved(uint32,bytes,uint32,uint32) (runs: 256, μ: 37511, ~: 37407)
[PASS] test_timeoutPacket_height_invalidProof(uint32,bytes,uint32,uint32) (runs: 256, μ: 125215, ~: 125096)
[PASS] test_timeoutPacket_height_notReached(uint32,bytes,uint32,uint32) (runs: 256, μ: 122019, ~: 122015)
[PASS] test_timeoutPacket_height_ok(uint32,bytes,uint32,uint32) (runs: 256, μ: 38074, ~: 37969)
[PASS] test_timeoutPacket_timestamp_commitmentRemoved(uint32,bytes,uint32,uint32) (runs: 256, μ: 38190, ~: 38085)
[PASS] test_timeoutPacket_timestamp_invalidProof(uint32,bytes,uint32,uint32) (runs: 256, μ: 105543, ~: 105424)
[PASS] test_timeoutPacket_timestamp_notReached(uint32,bytes,uint32,uint32) (runs: 256, μ: 105576, ~: 105572)
[PASS] test_timeoutPacket_timestamp_ok(uint32,bytes,uint32,uint32) (runs: 256, μ: 37869, ~: 37764)
[PASS] test_writeAcknowledgement_alreadyExists(uint32,bytes,uint8) (runs: 256, μ: 5198417, ~: 3498741)
[PASS] test_writeAcknowledgement_commitmentSaved(uint32,bytes,uint8) (runs: 256, μ: 5198187, ~: 3498511)
[PASS] test_writeAcknowledgement_moduleIsntChannelOwner(uint32,bytes,uint8,address) (runs: 256, μ: 5236606, ~: 3660858)
[PASS] test_writeAcknowledgement_ok(uint32,bytes,uint8) (runs: 256, μ: 5197818, ~: 3498142)
[PASS] test_writeAcknowledgement_ok_1(uint32,bytes) (runs: 256, μ: 40426, ~: 40357)
[PASS] test_writeAcknowledgement_packetNotReceived(uint32,bytes,uint8) (runs: 256, μ: 1907687, ~: 1302696)
Suite result: ok. 78 passed; 0 failed; 0 skipped; finished in 31.15s (630.63s CPU time)

Ran 11 test suites in 31.15s (186.96s CPU time): 186 tests passed, 0 failed, 0 skipped (186 total tests)
Wrote LCOV report.
Reading tracefile ./lcov.info
Removing contracts/Multicall.sol
Removing contracts/apps/ucs/00-pingpong/PingPong.sol
Removing contracts/clients/ICS23MembershipVerifier.sol
Removing contracts/clients/Verifier.sol
Removing contracts/core/24-host/IBCCommitment.sol
Removing contracts/core/25-handler/IBCHandler.sol
Removing contracts/core/OwnableIBCHandler.sol
Removing contracts/lib/Hex.sol
Removing contracts/lib/ICS23.sol
Removing contracts/lib/UnionICS23.sol
Removing tests/src/02-client/CometblsClient.t.sol
Removing tests/src/02-client/CosmosInCosmosClient.t.sol
Removing tests/src/05-app/NFT.t.sol
Removing tests/src/05-app/Relay.t.sol
Removing tests/src/Verifier.t.sol
Removing tests/src/core/ERC20Denom.sol
Removing tests/src/core/IBCHandler.sol
Removing tests/src/core/LightClient.sol
Removing tests/src/core/Module.sol
Removing tests/src/core/Relay.sol
Removing tests/src/lib/ICS23.t.sol
Deleted 21 files
Writing data to ./lcov.info.pruned
Summary coverage rate:
  lines......: 82.5% (655 of 794 lines)
  functions..: 86.5% (167 of 193 functions)
  branches...: no data found
Reading data file lcov.info.pruned
Resolved relative source file path "contracts/apps/Base.sol" with CWD to "/build/contracts/apps/Base.sol".
Found 12 entries.
Found common filename prefix "/build/contracts"
Writing .css and .png files.
Generating output.
Processing file apps/Base.sol
Processing file apps/ucs/01-relay/Relay.sol
Processing file apps/ucs/01-relay/ERC20Denom.sol
Processing file apps/ucs/02-nft/NFT.sol
Processing file apps/ucs/02-nft/ERC721Denom.sol
Processing file clients/CometblsClient.sol
Processing file clients/CosmosInCosmosClient.sol
Processing file core/02-client/IBCClient.sol
Processing file core/03-connection/IBCConnection.sol
Processing file core/04-channel/IBCChannel.sol
Processing file core/04-channel/IBCPacket.sol
Processing file core/24-host/IBCStore.sol
Writing directory view page.
Overall coverage rate:
  lines......: 82.5% (655 of 794 lines)
  functions..: 86.5% (167 of 193 functions)
  branches...: no data found