chore(voyager): clean up code a bit #3489
+51
−180
Merged
Garnix CI / package evm-contracts [x86_64-linux]
succeeded
Jan 12, 2025 in 1m 13s
Run results
Build succeeded
Details
Last 100 lines of logs:
[PASS] test_misbehaviour_freezesClient_ErrInvalidZKP() (gas: 254687)
[PASS] test_misbehaviour_freezesClient_ErrMaxClockDriftExceeded() (gas: 271909)
[PASS] test_misbehaviour_freezesClient_ErrUntrustedHeightLTETrustedHeight() (gas: 271187)
[PASS] test_misbehaviour_freezesClient_ErrUntrustedTimestampLTETrustedTimestamp() (gas: 271242)
[PASS] test_misbehaviour_freezesClient_fraud() (gas: 275297)
[PASS] test_misbehaviour_freezesClient_fraud_different_hash() (gas: 276835)
[PASS] test_misbehaviour_freezesClient_headers_seq() (gas: 269680)
[PASS] test_updateClient_success() (gas: 350834)
Suite result: ok. 14 passed; 0 failed; 0 skipped; finished in 3.05s (10.27ms CPU time)
Ran 78 tests for tests/src/04-channel/IBCPacket.t.sol:IBCPacketTests
[PASS] test_acknowledgePacket_commitmentRemoved(uint32,bytes,uint8) (runs: 256, μ: 3222625, ~: 2210237)
[PASS] test_acknowledgePacket_invalidProof(uint32,bytes,uint8) (runs: 256, μ: 2515345, ~: 1399800)
[PASS] test_acknowledgePacket_notSent(uint32,bytes,uint8) (runs: 256, μ: 392479, ~: 274349)
[PASS] test_acknowledgePacket_ok(uint32,bytes,uint8) (runs: 256, μ: 99466, ~: 57657)
[PASS] test_acknowledgePacket_ok_1(uint32,bytes) (runs: 256, μ: 6043, ~: 6037)
[PASS] test_acknowledgePacket_ok_10(uint32,bytes) (runs: 256, μ: 15711, ~: 15671)
[PASS] test_acknowledgePacket_ok_15(uint32,bytes) (runs: 256, μ: 20357, ~: 20212)
[PASS] test_acknowledgePacket_ok_20(uint32,bytes) (runs: 256, μ: 26063, ~: 26002)
[PASS] test_acknowledgePacket_ok_25(uint32,bytes) (runs: 256, μ: 31354, ~: 31430)
[PASS] test_acknowledgePacket_ok_30(uint32,bytes) (runs: 256, μ: 36221, ~: 36082)
[PASS] test_acknowledgePacket_ok_5(uint32,bytes) (runs: 256, μ: 11199, ~: 11187)
[PASS] test_acknowledgePacket_tampered(uint32,bytes,uint8) (runs: 256, μ: 2504004, ~: 1449956)
[PASS] test_batchAcks_afterRecvPacket_asyncAck(uint32,bytes,uint8) (runs: 256, μ: 3376037, ~: 2520768)
[PASS] test_batchAcks_afterRecvPacket_commitmentSaved(uint32,bytes,uint8,bytes) (runs: 256, μ: 4059469, ~: 2691270)
[PASS] test_batchAcks_afterRecvPacket_ok(uint32,bytes,uint8,bytes) (runs: 256, μ: 4430128, ~: 3991276)
[PASS] test_batchAcks_afterRecvPacket_ok_10(uint32,bytes,bytes) (runs: 256, μ: 453631, ~: 448955)
[PASS] test_batchAcks_afterRecvPacket_ok_15(uint32,bytes,bytes) (runs: 256, μ: 676082, ~: 669364)
[PASS] test_batchAcks_afterRecvPacket_ok_2(uint32,bytes,bytes) (runs: 256, μ: 94698, ~: 93762)
[PASS] test_batchAcks_afterRecvPacket_ok_20(uint32,bytes,bytes) (runs: 256, μ: 898586, ~: 890979)
[PASS] test_batchAcks_afterRecvPacket_ok_25(uint32,bytes,bytes) (runs: 256, μ: 1124892, ~: 1112087)
[PASS] test_batchAcks_afterRecvPacket_ok_30(uint32,bytes,bytes) (runs: 256, μ: 1350861, ~: 1335278)
[PASS] test_batchAcks_afterRecvPacket_ok_5(uint32,bytes,bytes) (runs: 256, μ: 228781, ~: 226853)
[PASS] test_batchAcks_afterRecvPacket_tamperedPacket(uint32,bytes,uint8,bytes) (runs: 256, μ: 3811759, ~: 2355431)
[PASS] test_batchAcks_packetNotReceived(uint32,bytes,uint8,bytes) (runs: 256, μ: 358147, ~: 220459)
[PASS] test_batchSend_commitmentSaved(uint64,uint64,uint8) (runs: 256, μ: 383528, ~: 278459)
[PASS] test_batchSend_ok(uint64,uint64,uint8) (runs: 256, μ: 385472, ~: 249836)
[PASS] test_batchSend_ok_10(uint64,uint64) (runs: 256, μ: 64046, ~: 64046)
[PASS] test_batchSend_ok_15(uint64,uint64) (runs: 256, μ: 81770, ~: 81770)
[PASS] test_batchSend_ok_2(uint64,uint64) (runs: 256, μ: 37499, ~: 37499)
[PASS] test_batchSend_ok_20(uint64,uint64) (runs: 256, μ: 98355, ~: 98355)
[PASS] test_batchSend_ok_25(uint64,uint64) (runs: 256, μ: 115210, ~: 115210)
[PASS] test_batchSend_ok_30(uint64,uint64) (runs: 256, μ: 133192, ~: 133192)
[PASS] test_batchSend_ok_5(uint64,uint64) (runs: 256, μ: 46701, ~: 46701)
[PASS] test_batchSend_packetNotSent(uint64,uint64,uint8) (runs: 256, μ: 71762, ~: 44523)
[PASS] test_recvIntentPacket_commitmentSaved(uint32,bytes,uint8) (runs: 256, μ: 3516813, ~: 1990889)
[PASS] test_recvIntentPacket_ok(uint32,bytes,uint8) (runs: 256, μ: 3301294, ~: 2139099)
[PASS] test_recvIntentPacket_ok_1(uint32,bytes) (runs: 256, μ: 61998, ~: 61987)
[PASS] test_recvIntentPacket_ok_10(uint32,bytes) (runs: 256, μ: 421071, ~: 420765)
[PASS] test_recvIntentPacket_ok_15(uint32,bytes) (runs: 256, μ: 620933, ~: 620259)
[PASS] test_recvIntentPacket_ok_20(uint32,bytes) (runs: 256, μ: 819035, ~: 818513)
[PASS] test_recvIntentPacket_ok_25(uint32,bytes) (runs: 256, μ: 1019769, ~: 1019114)
[PASS] test_recvIntentPacket_ok_30(uint32,bytes) (runs: 256, μ: 1218626, ~: 1218694)
[PASS] test_recvIntentPacket_ok_5(uint32,bytes) (runs: 256, μ: 221196, ~: 221196)
[PASS] test_recvIntentPacket_timeoutHeight(uint64,uint32,bytes,uint8) (runs: 256, μ: 259366, ~: 180338)
[PASS] test_recvIntentPacket_timeoutTimestamp(uint32,uint32,bytes,uint8) (runs: 256, μ: 246805, ~: 161844)
[PASS] test_recvPacket_ackCommitmentSaved(uint32,bytes,uint8) (runs: 256, μ: 3842438, ~: 2764273)
[PASS] test_recvPacket_invalidChannelState(uint32,uint32,bytes,uint8) (runs: 256, μ: 241369, ~: 147895)
[PASS] test_recvPacket_invalidProof(uint32,bytes,uint8) (runs: 256, μ: 283473, ~: 139116)
[PASS] test_recvPacket_noAck_receiptCommitmentSaved(uint32,bytes,uint8) (runs: 256, μ: 3101475, ~: 1962258)
[PASS] test_recvPacket_ok(uint32,bytes,uint8) (runs: 256, μ: 3748847, ~: 2451536)
[PASS] test_recvPacket_ok_1(uint32,bytes) (runs: 256, μ: 49452, ~: 49513)
[PASS] test_recvPacket_ok_10(uint32,bytes) (runs: 256, μ: 412241, ~: 412120)
[PASS] test_recvPacket_ok_15(uint32,bytes) (runs: 256, μ: 615449, ~: 615266)
[PASS] test_recvPacket_ok_20(uint32,bytes) (runs: 256, μ: 821035, ~: 820208)
[PASS] test_recvPacket_ok_25(uint32,bytes) (runs: 256, μ: 1022827, ~: 1021910)
[PASS] test_recvPacket_ok_30(uint32,bytes) (runs: 256, μ: 1227416, ~: 1226750)
[PASS] test_recvPacket_ok_5(uint32,bytes) (runs: 256, μ: 209506, ~: 209362)
[PASS] test_recvPacket_timeoutHeight(uint64,uint32,bytes,uint8) (runs: 256, μ: 347999, ~: 274874)
[PASS] test_recvPacket_timeoutTimestamp(uint32,uint32,bytes,uint8) (runs: 256, μ: 346086, ~: 220961)
[PASS] test_sendPacket_channelDoesntExist(uint32,uint64,uint64,bytes) (runs: 256, μ: 20699, ~: 20697)
[PASS] test_sendPacket_commitmentSaved(uint64,uint64,bytes) (runs: 256, μ: 51968, ~: 51502)
[PASS] test_sendPacket_missingTimeout(bytes) (runs: 256, μ: 16286, ~: 16285)
[PASS] test_sendPacket_moduleIsntChannelOwner(uint64,uint64,bytes,address) (runs: 256, μ: 19053, ~: 19050)
[PASS] test_sendPacket_ok(uint64,uint64,bytes) (runs: 256, μ: 44612, ~: 44208)
[PASS] test_timeoutPacket_height_commitmentRemoved(uint32,bytes,uint32,uint32) (runs: 256, μ: 6320, ~: 6284)
[PASS] test_timeoutPacket_height_invalidProof(uint32,bytes,uint32,uint32) (runs: 256, μ: 105483, ~: 105391)
[PASS] test_timeoutPacket_height_notReached(uint32,bytes,uint32,uint32) (runs: 256, μ: 101050, ~: 101052)
[PASS] test_timeoutPacket_height_ok(uint32,bytes,uint32,uint32) (runs: 256, μ: 7033, ~: 6991)
[PASS] test_timeoutPacket_timestamp_commitmentRemoved(uint32,bytes,uint32,uint32) (runs: 256, μ: 7533, ~: 7497)
[PASS] test_timeoutPacket_timestamp_invalidProof(uint32,bytes,uint32,uint32) (runs: 256, μ: 86257, ~: 86167)
[PASS] test_timeoutPacket_timestamp_notReached(uint32,bytes,uint32,uint32) (runs: 256, μ: 85204, ~: 85204)
[PASS] test_timeoutPacket_timestamp_ok(uint32,bytes,uint32,uint32) (runs: 256, μ: 7188, ~: 7148)
[PASS] test_writeAcknowledgement_alreadyExists(uint32,bytes,uint8) (runs: 256, μ: 3379365, ~: 1777742)
[PASS] test_writeAcknowledgement_commitmentSaved(uint32,bytes,uint8) (runs: 256, μ: 3330413, ~: 1755630)
[PASS] test_writeAcknowledgement_moduleIsntChannelOwner(uint32,bytes,uint8,address) (runs: 256, μ: 3738890, ~: 1661519)
[PASS] test_writeAcknowledgement_ok(uint32,bytes,uint8) (runs: 256, μ: 3926104, ~: 2373146)
[PASS] test_writeAcknowledgement_ok_1(uint32,bytes) (runs: 256, μ: 28396, ~: 28357)
[PASS] test_writeAcknowledgement_packetNotReceived(uint32,bytes,uint8) (runs: 256, μ: 1077738, ~: 739704)
Suite result: ok. 78 passed; 0 failed; 0 skipped; finished in 3.05s (66.88s CPU time)
Ran 14 test suites in 3.09s (27.02s CPU time): 194 tests passed, 0 failed, 0 skipped (194 total tests)
checkPhase completed in 55 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/3q7nldfnrwvf4brbvi2fyrawvrb4c4w0-evm-contracts
checking for references to /build/ in /nix/store/3q7nldfnrwvf4brbvi2fyrawvrb4c4w0-evm-contracts...
patching script interpreter paths in /nix/store/3q7nldfnrwvf4brbvi2fyrawvrb4c4w0-evm-contracts
Loading