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(voyager): add plugin to periodically update clients for liveliness #3401

Merged
merged 1 commit into from
Dec 24, 2024

feat(voyager): add plugin to periodically update clients for liveliness

0e12db4
Select commit
Loading
Failed to load commit list.
Merged

feat(voyager): add plugin to periodically update clients for liveliness #3401

feat(voyager): add plugin to periodically update clients for liveliness
0e12db4
Select commit
Loading
Failed to load commit list.
Garnix CI / package evm-contracts [x86_64-linux] succeeded Dec 23, 2024 in 1m 38s

Run results

Build succeeded

Details

Last 100 lines of logs:

[PASS] test_misbehaviour_freezesClient_ErrInvalidZKP() (gas: 341878)
[PASS] test_misbehaviour_freezesClient_ErrMaxClockDriftExceeded() (gas: 359106)
[PASS] test_misbehaviour_freezesClient_ErrUntrustedHeightLTETrustedHeight() (gas: 358333)
[PASS] test_misbehaviour_freezesClient_ErrUntrustedTimestampLTETrustedTimestamp() (gas: 358388)
[PASS] test_misbehaviour_freezesClient_fraud() (gas: 362549)
[PASS] test_misbehaviour_freezesClient_fraud_different_hash() (gas: 364087)
[PASS] test_misbehaviour_freezesClient_headers_seq() (gas: 356826)
[PASS] test_updateClient_success() (gas: 438670)
Suite result: ok. 14 passed; 0 failed; 0 skipped; finished in 3.07s (9.28ms CPU time)

Ran 78 tests for tests/src/04-channel/IBCPacket.t.sol:IBCPacketTests
[PASS] test_acknowledgePacket_commitmentRemoved(uint32,bytes,uint8) (runs: 256, μ: 2808118, ~: 1662160)
[PASS] test_acknowledgePacket_invalidProof(uint32,bytes,uint8) (runs: 256, μ: 2845270, ~: 2115065)
[PASS] test_acknowledgePacket_notSent(uint32,bytes,uint8) (runs: 256, μ: 367045, ~: 241554)
[PASS] test_acknowledgePacket_ok(uint32,bytes,uint8) (runs: 256, μ: 98242, ~: 54717)
[PASS] test_acknowledgePacket_ok_1(uint32,bytes) (runs: 256, μ: 6041, ~: 6037)
[PASS] test_acknowledgePacket_ok_10(uint32,bytes) (runs: 256, μ: 15708, ~: 15671)
[PASS] test_acknowledgePacket_ok_15(uint32,bytes) (runs: 256, μ: 20311, ~: 20212)
[PASS] test_acknowledgePacket_ok_20(uint32,bytes) (runs: 256, μ: 26008, ~: 26002)
[PASS] test_acknowledgePacket_ok_25(uint32,bytes) (runs: 256, μ: 31445, ~: 31430)
[PASS] test_acknowledgePacket_ok_30(uint32,bytes) (runs: 256, μ: 36118, ~: 36082)
[PASS] test_acknowledgePacket_ok_5(uint32,bytes) (runs: 256, μ: 11199, ~: 11187)
[PASS] test_acknowledgePacket_tampered(uint32,bytes,uint8) (runs: 256, μ: 2427713, ~: 1522835)
[PASS] test_batchAcks_afterRecvPacket_asyncAck(uint32,bytes,uint8) (runs: 256, μ: 3617462, ~: 2800493)
[PASS] test_batchAcks_afterRecvPacket_commitmentSaved(uint32,bytes,uint8,bytes) (runs: 256, μ: 4183999, ~: 2799960)
[PASS] test_batchAcks_afterRecvPacket_ok(uint32,bytes,uint8,bytes) (runs: 256, μ: 3961788, ~: 2508647)
[PASS] test_batchAcks_afterRecvPacket_ok_10(uint32,bytes,bytes) (runs: 256, μ: 452815, ~: 448565)
[PASS] test_batchAcks_afterRecvPacket_ok_15(uint32,bytes,bytes) (runs: 256, μ: 675650, ~: 668779)
[PASS] test_batchAcks_afterRecvPacket_ok_2(uint32,bytes,bytes) (runs: 256, μ: 94503, ~: 93609)
[PASS] test_batchAcks_afterRecvPacket_ok_20(uint32,bytes,bytes) (runs: 256, μ: 900541, ~: 890199)
[PASS] test_batchAcks_afterRecvPacket_ok_25(uint32,bytes,bytes) (runs: 256, μ: 1121344, ~: 1111112)
[PASS] test_batchAcks_afterRecvPacket_ok_30(uint32,bytes,bytes) (runs: 256, μ: 1347004, ~: 1332904)
[PASS] test_batchAcks_afterRecvPacket_ok_5(uint32,bytes,bytes) (runs: 256, μ: 228782, ~: 226658)
[PASS] test_batchAcks_afterRecvPacket_tamperedPacket(uint32,bytes,uint8,bytes) (runs: 256, μ: 3945330, ~: 2477424)
[PASS] test_batchAcks_packetNotReceived(uint32,bytes,uint8,bytes) (runs: 256, μ: 355453, ~: 250816)
[PASS] test_batchSend_commitmentSaved(uint64,uint64,uint8) (runs: 256, μ: 379644, ~: 289421)
[PASS] test_batchSend_ok(uint64,uint64,uint8) (runs: 256, μ: 365587, ~: 249835)
[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, μ: 77938, ~: 48956)
[PASS] test_recvIntentPacket_commitmentSaved(uint32,bytes,uint8) (runs: 256, μ: 3837415, ~: 2280660)
[PASS] test_recvIntentPacket_ok(uint32,bytes,uint8) (runs: 256, μ: 2998341, ~: 1770207)
[PASS] test_recvIntentPacket_ok_1(uint32,bytes) (runs: 256, μ: 61922, ~: 61948)
[PASS] test_recvIntentPacket_ok_10(uint32,bytes) (runs: 256, μ: 420257, ~: 420375)
[PASS] test_recvIntentPacket_ok_15(uint32,bytes) (runs: 256, μ: 619710, ~: 619674)
[PASS] test_recvIntentPacket_ok_20(uint32,bytes) (runs: 256, μ: 818018, ~: 817733)
[PASS] test_recvIntentPacket_ok_25(uint32,bytes) (runs: 256, μ: 1019090, ~: 1018139)
[PASS] test_recvIntentPacket_ok_30(uint32,bytes) (runs: 256, μ: 1217312, ~: 1217524)
[PASS] test_recvIntentPacket_ok_5(uint32,bytes) (runs: 256, μ: 221071, ~: 221001)
[PASS] test_recvIntentPacket_timeoutHeight(uint64,uint32,bytes,uint8) (runs: 256, μ: 243580, ~: 158749)
[PASS] test_recvIntentPacket_timeoutTimestamp(uint32,uint32,bytes,uint8) (runs: 256, μ: 240169, ~: 139856)
[PASS] test_recvPacket_ackCommitmentSaved(uint32,bytes,uint8) (runs: 256, μ: 4111986, ~: 2604327)
[PASS] test_recvPacket_invalidChannelState(uint32,uint32,bytes,uint8) (runs: 256, μ: 246852, ~: 141488)
[PASS] test_recvPacket_invalidProof(uint32,bytes,uint8) (runs: 256, μ: 362388, ~: 223011)
[PASS] test_recvPacket_noAck_receiptCommitmentSaved(uint32,bytes,uint8) (runs: 256, μ: 2912201, ~: 1519123)
[PASS] test_recvPacket_ok(uint32,bytes,uint8) (runs: 256, μ: 3317124, ~: 1760992)
[PASS] test_recvPacket_ok_1(uint32,bytes) (runs: 256, μ: 49385, ~: 49478)
[PASS] test_recvPacket_ok_10(uint32,bytes) (runs: 256, μ: 411996, ~: 411730)
[PASS] test_recvPacket_ok_15(uint32,bytes) (runs: 256, μ: 615699, ~: 614681)
[PASS] test_recvPacket_ok_20(uint32,bytes) (runs: 256, μ: 820256, ~: 819428)
[PASS] test_recvPacket_ok_25(uint32,bytes) (runs: 256, μ: 1020695, ~: 1020935)
[PASS] test_recvPacket_ok_30(uint32,bytes) (runs: 256, μ: 1226244, ~: 1225580)
[PASS] test_recvPacket_ok_5(uint32,bytes) (runs: 256, μ: 209203, ~: 209167)
[PASS] test_recvPacket_timeoutHeight(uint64,uint32,bytes,uint8) (runs: 256, μ: 357409, ~: 234833)
[PASS] test_recvPacket_timeoutTimestamp(uint32,uint32,bytes,uint8) (runs: 256, μ: 388243, ~: 319496)
[PASS] test_sendPacket_channelDoesntExist(uint32,uint64,uint64,bytes) (runs: 256, μ: 20700, ~: 20697)
[PASS] test_sendPacket_commitmentSaved(uint64,uint64,bytes) (runs: 256, μ: 51929, ~: 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, μ: 44584, ~: 44208)
[PASS] test_timeoutPacket_height_commitmentRemoved(uint32,bytes,uint32,uint32) (runs: 256, μ: 6324, ~: 6284)
[PASS] test_timeoutPacket_height_invalidProof(uint32,bytes,uint32,uint32) (runs: 256, μ: 105499, ~: 105391)
[PASS] test_timeoutPacket_height_notReached(uint32,bytes,uint32,uint32) (runs: 256, μ: 101051, ~: 101052)
[PASS] test_timeoutPacket_height_ok(uint32,bytes,uint32,uint32) (runs: 256, μ: 7030, ~: 6991)
[PASS] test_timeoutPacket_timestamp_commitmentRemoved(uint32,bytes,uint32,uint32) (runs: 256, μ: 7535, ~: 7497)
[PASS] test_timeoutPacket_timestamp_invalidProof(uint32,bytes,uint32,uint32) (runs: 256, μ: 86280, ~: 86167)
[PASS] test_timeoutPacket_timestamp_notReached(uint32,bytes,uint32,uint32) (runs: 256, μ: 85202, ~: 85204)
[PASS] test_timeoutPacket_timestamp_ok(uint32,bytes,uint32,uint32) (runs: 256, μ: 7188, ~: 7148)
[PASS] test_writeAcknowledgement_alreadyExists(uint32,bytes,uint8) (runs: 256, μ: 3686600, ~: 2516174)
[PASS] test_writeAcknowledgement_commitmentSaved(uint32,bytes,uint8) (runs: 256, μ: 3632529, ~: 2476154)
[PASS] test_writeAcknowledgement_moduleIsntChannelOwner(uint32,bytes,uint8,address) (runs: 256, μ: 4204778, ~: 2725786)
[PASS] test_writeAcknowledgement_ok(uint32,bytes,uint8) (runs: 256, μ: 3453411, ~: 1756962)
[PASS] test_writeAcknowledgement_ok_1(uint32,bytes) (runs: 256, μ: 28354, ~: 28318)
[PASS] test_writeAcknowledgement_packetNotReceived(uint32,bytes,uint8) (runs: 256, μ: 1208323, ~: 692912)
Suite result: ok. 78 passed; 0 failed; 0 skipped; finished in 3.07s (65.76s CPU time)

Ran 11 test suites in 3.10s (23.80s CPU time): 186 tests passed, 0 failed, 0 skipped (186 total tests)
checkPhase completed in 43 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/wzp5ab89mympajcnlnl2zsbagz0yzyyf-evm-contracts
checking for references to /build/ in /nix/store/wzp5ab89mympajcnlnl2zsbagz0yzyyf-evm-contracts...
patching script interpreter paths in /nix/store/wzp5ab89mympajcnlnl2zsbagz0yzyyf-evm-contracts