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

fix(docs): apply findings after testing #3261

Merged
merged 2 commits into from
Nov 13, 2024

fix(docs): apply findings after testing

fc473e1
Select commit
Loading
Failed to load commit list.
Merged

fix(docs): apply findings after testing #3261

fix(docs): apply findings after testing
fc473e1
Select commit
Loading
Failed to load commit list.
Garnix CI / package evm-contracts [x86_64-linux] succeeded Nov 13, 2024 in 1m 59s

Run results

Build succeeded

Details

Last 100 lines of logs:

[PASS] test_createClient_commitmentsSaved((string,bytes,bytes,address)) (runs: 256, μ: 211771, ~: 224242)
[PASS] test_createClient_ko((string,bytes,bytes,address)) (runs: 256, μ: 155390, ~: 133501)
[PASS] test_createClient_ok((string,bytes,bytes,address)) (runs: 256, μ: 206933, ~: 219809)
[PASS] test_registerClient_alreadyRegistered(string,address) (runs: 256, μ: 38617, ~: 38371)
[PASS] test_registerClient_ok(string,address) (runs: 256, μ: 33941, ~: 33807)
[PASS] test_updateClient_commitmentsSaved((string,bytes,bytes,address),bytes,address) (runs: 256, μ: 59155, ~: 58997)
[PASS] test_updateClient_ko((string,bytes,bytes,address),bytes,address) (runs: 256, μ: 8830, ~: 8784)
[PASS] test_updateClient_ok((string,bytes,bytes,address),bytes,address) (runs: 256, μ: 54920, ~: 54778)
Suite result: ok. 8 passed; 0 failed; 0 skipped; finished in 2.70s (401.35ms CPU time)

Ran 78 tests for tests/src/04-channel/IBCPacket.t.sol:IBCPacketTests
[PASS] test_acknowledgePacket_commitmentRemoved(uint32,bytes,uint8) (runs: 256, μ: 3181534, ~: 1797027)
[PASS] test_acknowledgePacket_invalidProof(uint32,bytes,uint8) (runs: 256, μ: 2493942, ~: 1478741)
[PASS] test_acknowledgePacket_notSent(uint32,bytes,uint8) (runs: 256, μ: 374981, ~: 289627)
[PASS] test_acknowledgePacket_ok(uint32,bytes,uint8) (runs: 256, μ: 108390, ~: 57493)
[PASS] test_acknowledgePacket_ok_1(uint32,bytes) (runs: 256, μ: 6041, ~: 6037)
[PASS] test_acknowledgePacket_ok_10(uint32,bytes) (runs: 256, μ: 15709, ~: 15671)
[PASS] test_acknowledgePacket_ok_15(uint32,bytes) (runs: 256, μ: 20320, ~: 20212)
[PASS] test_acknowledgePacket_ok_20(uint32,bytes) (runs: 256, μ: 26069, ~: 26002)
[PASS] test_acknowledgePacket_ok_25(uint32,bytes) (runs: 256, μ: 31495, ~: 31430)
[PASS] test_acknowledgePacket_ok_30(uint32,bytes) (runs: 256, μ: 36272, ~: 36082)
[PASS] test_acknowledgePacket_ok_5(uint32,bytes) (runs: 256, μ: 11189, ~: 11187)
[PASS] test_acknowledgePacket_tampered(uint32,bytes,uint8) (runs: 256, μ: 2605457, ~: 1712915)
[PASS] test_batchAcks_afterRecvPacket_asyncAck(uint32,bytes,uint8) (runs: 256, μ: 3336472, ~: 2238048)
[PASS] test_batchAcks_afterRecvPacket_commitmentSaved(uint32,bytes,uint8,bytes) (runs: 256, μ: 4127765, ~: 2436876)
[PASS] test_batchAcks_afterRecvPacket_ok(uint32,bytes,uint8,bytes) (runs: 256, μ: 4169104, ~: 3068843)
[PASS] test_batchAcks_afterRecvPacket_ok_10(uint32,bytes,bytes) (runs: 256, μ: 453671, ~: 448690)
[PASS] test_batchAcks_afterRecvPacket_ok_15(uint32,bytes,bytes) (runs: 256, μ: 675741, ~: 668942)
[PASS] test_batchAcks_afterRecvPacket_ok_2(uint32,bytes,bytes) (runs: 256, μ: 94458, ~: 93637)
[PASS] test_batchAcks_afterRecvPacket_ok_20(uint32,bytes,bytes) (runs: 256, μ: 899339, ~: 889687)
[PASS] test_batchAcks_afterRecvPacket_ok_25(uint32,bytes,bytes) (runs: 256, μ: 1121522, ~: 1110450)
[PASS] test_batchAcks_afterRecvPacket_ok_30(uint32,bytes,bytes) (runs: 256, μ: 1345852, ~: 1332092)
[PASS] test_batchAcks_afterRecvPacket_ok_5(uint32,bytes,bytes) (runs: 256, μ: 228858, ~: 226596)
[PASS] test_batchAcks_afterRecvPacket_tamperedPacket(uint32,bytes,uint8,bytes) (runs: 256, μ: 4107956, ~: 2843664)
[PASS] test_batchAcks_packetNotReceived(uint32,bytes,uint8,bytes) (runs: 256, μ: 373432, ~: 259844)
[PASS] test_batchSend_commitmentSaved(uint64,uint64,uint8) (runs: 256, μ: 371547, ~: 302273)
[PASS] test_batchSend_ok(uint64,uint64,uint8) (runs: 256, μ: 371017, ~: 273455)
[PASS] test_batchSend_ok_10(uint64,uint64) (runs: 256, μ: 64068, ~: 64068)
[PASS] test_batchSend_ok_15(uint64,uint64) (runs: 256, μ: 81792, ~: 81792)
[PASS] test_batchSend_ok_2(uint64,uint64) (runs: 256, μ: 37521, ~: 37521)
[PASS] test_batchSend_ok_20(uint64,uint64) (runs: 256, μ: 98377, ~: 98377)
[PASS] test_batchSend_ok_25(uint64,uint64) (runs: 256, μ: 115232, ~: 115232)
[PASS] test_batchSend_ok_30(uint64,uint64) (runs: 256, μ: 133214, ~: 133214)
[PASS] test_batchSend_ok_5(uint64,uint64) (runs: 256, μ: 46723, ~: 46723)
[PASS] test_batchSend_packetNotSent(uint64,uint64,uint8) (runs: 256, μ: 78748, ~: 47604)
[PASS] test_recvIntentPacket_commitmentSaved(uint32,bytes,uint8) (runs: 256, μ: 3986899, ~: 3069241)
[PASS] test_recvIntentPacket_ok(uint32,bytes,uint8) (runs: 256, μ: 3189916, ~: 2096996)
[PASS] test_recvIntentPacket_ok_1(uint32,bytes) (runs: 256, μ: 61995, ~: 61948)
[PASS] test_recvIntentPacket_ok_10(uint32,bytes) (runs: 256, μ: 420280, ~: 420375)
[PASS] test_recvIntentPacket_ok_15(uint32,bytes) (runs: 256, μ: 620135, ~: 619674)
[PASS] test_recvIntentPacket_ok_20(uint32,bytes) (runs: 256, μ: 817924, ~: 817733)
[PASS] test_recvIntentPacket_ok_25(uint32,bytes) (runs: 256, μ: 1018675, ~: 1018139)
[PASS] test_recvIntentPacket_ok_30(uint32,bytes) (runs: 256, μ: 1218311, ~: 1217524)
[PASS] test_recvIntentPacket_ok_5(uint32,bytes) (runs: 256, μ: 221201, ~: 221001)
[PASS] test_recvIntentPacket_timeoutHeight(uint64,uint32,bytes,uint8) (runs: 256, μ: 237612, ~: 155928)
[PASS] test_recvIntentPacket_timeoutTimestamp(uint32,uint32,bytes,uint8) (runs: 256, μ: 262313, ~: 171129)
[PASS] test_recvPacket_ackCommitmentSaved(uint32,bytes,uint8) (runs: 256, μ: 3862861, ~: 2380115)
[PASS] test_recvPacket_invalidChannelState(uint32,uint32,bytes,uint8) (runs: 256, μ: 249325, ~: 161921)
[PASS] test_recvPacket_invalidProof(uint32,bytes,uint8) (runs: 256, μ: 380330, ~: 313767)
[PASS] test_recvPacket_noAck_receiptCommitmentSaved(uint32,bytes,uint8) (runs: 256, μ: 3117603, ~: 1972448)
[PASS] test_recvPacket_ok(uint32,bytes,uint8) (runs: 256, μ: 2987993, ~: 1713731)
[PASS] test_recvPacket_ok_1(uint32,bytes) (runs: 256, μ: 49411, ~: 49483)
[PASS] test_recvPacket_ok_10(uint32,bytes) (runs: 256, μ: 411996, ~: 411730)
[PASS] test_recvPacket_ok_15(uint32,bytes) (runs: 256, μ: 614827, ~: 614681)
[PASS] test_recvPacket_ok_20(uint32,bytes) (runs: 256, μ: 820887, ~: 819428)
[PASS] test_recvPacket_ok_25(uint32,bytes) (runs: 256, μ: 1021486, ~: 1020935)
[PASS] test_recvPacket_ok_30(uint32,bytes) (runs: 256, μ: 1226465, ~: 1225580)
[PASS] test_recvPacket_ok_5(uint32,bytes) (runs: 256, μ: 209275, ~: 209167)
[PASS] test_recvPacket_timeoutHeight(uint64,uint32,bytes,uint8) (runs: 256, μ: 354088, ~: 251867)
[PASS] test_recvPacket_timeoutTimestamp(uint32,uint32,bytes,uint8) (runs: 256, μ: 337900, ~: 214072)
[PASS] test_sendPacket_channelDoesntExist(uint32,uint64,uint64,bytes) (runs: 256, μ: 20788, ~: 20785)
[PASS] test_sendPacket_commitmentSaved(uint64,uint64,bytes) (runs: 256, μ: 51981, ~: 51612)
[PASS] test_sendPacket_missingTimeout(bytes) (runs: 256, μ: 16374, ~: 16373)
[PASS] test_sendPacket_moduleIsntChannelOwner(uint64,uint64,bytes,address) (runs: 256, μ: 19141, ~: 19138)
[PASS] test_sendPacket_ok(uint64,uint64,bytes) (runs: 256, μ: 44643, ~: 44296)
[PASS] test_timeoutPacket_height_commitmentRemoved(uint32,bytes,uint32,uint32) (runs: 256, μ: 6324, ~: 6284)
[PASS] test_timeoutPacket_height_invalidProof(uint32,bytes,uint32,uint32) (runs: 256, μ: 105649, ~: 105545)
[PASS] test_timeoutPacket_height_notReached(uint32,bytes,uint32,uint32) (runs: 256, μ: 101173, ~: 101175)
[PASS] test_timeoutPacket_height_ok(uint32,bytes,uint32,uint32) (runs: 256, μ: 7034, ~: 6991)
[PASS] test_timeoutPacket_timestamp_commitmentRemoved(uint32,bytes,uint32,uint32) (runs: 256, μ: 7538, ~: 7497)
[PASS] test_timeoutPacket_timestamp_invalidProof(uint32,bytes,uint32,uint32) (runs: 256, μ: 86437, ~: 86321)
[PASS] test_timeoutPacket_timestamp_notReached(uint32,bytes,uint32,uint32) (runs: 256, μ: 85324, ~: 85327)
[PASS] test_timeoutPacket_timestamp_ok(uint32,bytes,uint32,uint32) (runs: 256, μ: 7189, ~: 7148)
[PASS] test_writeAcknowledgement_alreadyExists(uint32,bytes,uint8) (runs: 256, μ: 3369495, ~: 1671278)
[PASS] test_writeAcknowledgement_commitmentSaved(uint32,bytes,uint8) (runs: 256, μ: 3982182, ~: 2589545)
[PASS] test_writeAcknowledgement_moduleIsntChannelOwner(uint32,bytes,uint8,address) (runs: 256, μ: 4033658, ~: 2730050)
[PASS] test_writeAcknowledgement_ok(uint32,bytes,uint8) (runs: 256, μ: 3609751, ~: 2369967)
[PASS] test_writeAcknowledgement_ok_1(uint32,bytes) (runs: 256, μ: 28380, ~: 28384)
[PASS] test_writeAcknowledgement_packetNotReceived(uint32,bytes,uint8) (runs: 256, μ: 1138425, ~: 693964)
Suite result: ok. 78 passed; 0 failed; 0 skipped; finished in 3.10s (66.87s CPU time)

Ran 4 test suites in 3.13s (11.19s CPU time): 112 tests passed, 0 failed, 0 skipped (112 total tests)
checkPhase completed in 35 seconds
@nix {"action":"setPhase","phase":"installPhase"}
installing
@nix {"action":"setPhase","phase":"fixupPhase"}
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/874d40yc3v1avsi5f8fchlxh60p8k1ki-evm-contracts
checking for references to /build/ in /nix/store/874d40yc3v1avsi5f8fchlxh60p8k1ki-evm-contracts...
patching script interpreter paths in /nix/store/874d40yc3v1avsi5f8fchlxh60p8k1ki-evm-contracts