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

Depolama #3919

Draft
wants to merge 7 commits into
base: main
Choose a base branch
from

wip: migration works?

f671031
Select commit
Loading
Failed to load commit list.
Draft

Depolama #3919

wip: migration works?
f671031
Select commit
Loading
Failed to load commit list.
Garnix CI / package evm-contracts [x86_64-linux] succeeded Mar 4, 2025 in 45s

Run results

Build succeeded

Details

Last 100 lines of logs:

[PASS] test_onChanCloseInit_reverts() (gas: 19642)
[PASS] test_onChanOpenAck_invalidVersion_reverts() (gas: 20650)
[PASS] test_onChanOpenAck_validVersion() (gas: 21122)
[PASS] test_onChanOpenTry_invalidVersion_reverts() (gas: 23958)
[PASS] test_onChanOpenTry_invalidVersion_reverts_protocol() (gas: 23266)
[PASS] test_onlyIBC() (gas: 19716)
[PASS] test_sendLocalNative() (gas: 1005569)
[PASS] test_sendRemoteNative() (gas: 925716)
Suite result: ok. 13 passed; 0 failed; 0 skipped; finished in 3.43s (7.19ms CPU time)

Ran 78 tests for tests/src/04-channel/IBCPacket.t.sol:IBCPacketTests
[PASS] test_acknowledgePacket_commitmentRemoved(uint32,bytes,uint8) (runs: 256, μ: 2767116, ~: 1542451)
[PASS] test_acknowledgePacket_invalidProof(uint32,bytes,uint8) (runs: 256, μ: 2504316, ~: 1474388)
[PASS] test_acknowledgePacket_notSent(uint32,bytes,uint8) (runs: 256, μ: 352861, ~: 200298)
[PASS] test_acknowledgePacket_ok(uint32,bytes,uint8) (runs: 256, μ: 107343, ~: 60348)
[PASS] test_acknowledgePacket_ok_1(uint32,bytes) (runs: 256, μ: 6035, ~: 6037)
[PASS] test_acknowledgePacket_ok_10(uint32,bytes) (runs: 256, μ: 15708, ~: 15671)
[PASS] test_acknowledgePacket_ok_15(uint32,bytes) (runs: 256, μ: 20241, ~: 20212)
[PASS] test_acknowledgePacket_ok_20(uint32,bytes) (runs: 256, μ: 26186, ~: 26002)
[PASS] test_acknowledgePacket_ok_25(uint32,bytes) (runs: 256, μ: 31551, ~: 31430)
[PASS] test_acknowledgePacket_ok_30(uint32,bytes) (runs: 256, μ: 36084, ~: 36082)
[PASS] test_acknowledgePacket_ok_5(uint32,bytes) (runs: 256, μ: 11208, ~: 11187)
[PASS] test_acknowledgePacket_tampered(uint32,bytes,uint8) (runs: 256, μ: 2359902, ~: 1349748)
[PASS] test_batchAcks_afterRecvPacket_asyncAck(uint32,bytes,uint8) (runs: 256, μ: 3545444, ~: 2494374)
[PASS] test_batchAcks_afterRecvPacket_commitmentSaved(uint32,bytes,uint8,bytes) (runs: 256, μ: 3879148, ~: 2937375)
[PASS] test_batchAcks_afterRecvPacket_ok(uint32,bytes,uint8,bytes) (runs: 256, μ: 4116747, ~: 3006478)
[PASS] test_batchAcks_afterRecvPacket_ok_10(uint32,bytes,bytes) (runs: 256, μ: 453069, ~: 448955)
[PASS] test_batchAcks_afterRecvPacket_ok_15(uint32,bytes,bytes) (runs: 256, μ: 676343, ~: 669364)
[PASS] test_batchAcks_afterRecvPacket_ok_2(uint32,bytes,bytes) (runs: 256, μ: 94568, ~: 93687)
[PASS] test_batchAcks_afterRecvPacket_ok_20(uint32,bytes,bytes) (runs: 256, μ: 900475, ~: 890979)
[PASS] test_batchAcks_afterRecvPacket_ok_25(uint32,bytes,bytes) (runs: 256, μ: 1122580, ~: 1112087)
[PASS] test_batchAcks_afterRecvPacket_ok_30(uint32,bytes,bytes) (runs: 256, μ: 1347664, ~: 1334074)
[PASS] test_batchAcks_afterRecvPacket_ok_5(uint32,bytes,bytes) (runs: 256, μ: 228881, ~: 226853)
[PASS] test_batchAcks_afterRecvPacket_tamperedPacket(uint32,bytes,uint8,bytes) (runs: 256, μ: 4744386, ~: 4239137)
[PASS] test_batchAcks_packetNotReceived(uint32,bytes,uint8,bytes) (runs: 256, μ: 357396, ~: 267021)
[PASS] test_batchSend_commitmentSaved(uint64,uint64,uint8) (runs: 256, μ: 358551, ~: 209814)
[PASS] test_batchSend_ok(uint64,uint64,uint8) (runs: 256, μ: 376716, ~: 262526)
[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, μ: 79572, ~: 59500)
[PASS] test_recvIntentPacket_commitmentSaved(uint32,bytes,uint8) (runs: 256, μ: 3648364, ~: 1689970)
[PASS] test_recvIntentPacket_ok(uint32,bytes,uint8) (runs: 256, μ: 3216975, ~: 1878807)
[PASS] test_recvIntentPacket_ok_1(uint32,bytes) (runs: 256, μ: 61980, ~: 61987)
[PASS] test_recvIntentPacket_ok_10(uint32,bytes) (runs: 256, μ: 421449, ~: 420765)
[PASS] test_recvIntentPacket_ok_15(uint32,bytes) (runs: 256, μ: 620224, ~: 620259)
[PASS] test_recvIntentPacket_ok_20(uint32,bytes) (runs: 256, μ: 819272, ~: 818513)
[PASS] test_recvIntentPacket_ok_25(uint32,bytes) (runs: 256, μ: 1018879, ~: 1019114)
[PASS] test_recvIntentPacket_ok_30(uint32,bytes) (runs: 256, μ: 1219339, ~: 1218694)
[PASS] test_recvIntentPacket_ok_5(uint32,bytes) (runs: 256, μ: 221172, ~: 221196)
[PASS] test_recvIntentPacket_timeoutHeight(uint64,uint32,bytes,uint8) (runs: 256, μ: 258658, ~: 162413)
[PASS] test_recvIntentPacket_timeoutTimestamp(uint32,uint32,bytes,uint8) (runs: 256, μ: 250133, ~: 157050)
[PASS] test_recvPacket_ackCommitmentSaved(uint32,bytes,uint8) (runs: 256, μ: 3619269, ~: 2106806)
[PASS] test_recvPacket_invalidChannelState(uint32,uint32,bytes,uint8) (runs: 256, μ: 243986, ~: 171227)
[PASS] test_recvPacket_invalidProof(uint32,bytes,uint8) (runs: 256, μ: 332398, ~: 191124)
[PASS] test_recvPacket_noAck_receiptCommitmentSaved(uint32,bytes,uint8) (runs: 256, μ: 3050696, ~: 2012516)
[PASS] test_recvPacket_ok(uint32,bytes,uint8) (runs: 256, μ: 3378958, ~: 2118990)
[PASS] test_recvPacket_ok_1(uint32,bytes) (runs: 256, μ: 49449, ~: 49514)
[PASS] test_recvPacket_ok_10(uint32,bytes) (runs: 256, μ: 412747, ~: 412120)
[PASS] test_recvPacket_ok_15(uint32,bytes) (runs: 256, μ: 616356, ~: 615266)
[PASS] test_recvPacket_ok_20(uint32,bytes) (runs: 256, μ: 820404, ~: 820208)
[PASS] test_recvPacket_ok_25(uint32,bytes) (runs: 256, μ: 1022218, ~: 1021910)
[PASS] test_recvPacket_ok_30(uint32,bytes) (runs: 256, μ: 1229028, ~: 1226750)
[PASS] test_recvPacket_ok_5(uint32,bytes) (runs: 256, μ: 209422, ~: 209362)
[PASS] test_recvPacket_timeoutHeight(uint64,uint32,bytes,uint8) (runs: 256, μ: 295051, ~: 175301)
[PASS] test_recvPacket_timeoutTimestamp(uint32,uint32,bytes,uint8) (runs: 256, μ: 331805, ~: 219756)
[PASS] test_sendPacket_channelDoesntExist(uint32,uint64,uint64,bytes) (runs: 256, μ: 20700, ~: 20697)
[PASS] test_sendPacket_commitmentSaved(uint64,uint64,bytes) (runs: 256, μ: 51900, ~: 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, μ: 44599, ~: 44208)
[PASS] test_timeoutPacket_height_commitmentRemoved(uint32,bytes,uint32,uint32) (runs: 256, μ: 6318, ~: 6284)
[PASS] test_timeoutPacket_height_invalidProof(uint32,bytes,uint32,uint32) (runs: 256, μ: 105480, ~: 105391)
[PASS] test_timeoutPacket_height_notReached(uint32,bytes,uint32,uint32) (runs: 256, μ: 101054, ~: 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, μ: 7541, ~: 7497)
[PASS] test_timeoutPacket_timestamp_invalidProof(uint32,bytes,uint32,uint32) (runs: 256, μ: 86265, ~: 86167)
[PASS] test_timeoutPacket_timestamp_notReached(uint32,bytes,uint32,uint32) (runs: 256, μ: 85206, ~: 85204)
[PASS] test_timeoutPacket_timestamp_ok(uint32,bytes,uint32,uint32) (runs: 256, μ: 7180, ~: 7145)
[PASS] test_writeAcknowledgement_alreadyExists(uint32,bytes,uint8) (runs: 256, μ: 3987555, ~: 2940045)
[PASS] test_writeAcknowledgement_commitmentSaved(uint32,bytes,uint8) (runs: 256, μ: 3841969, ~: 1996487)
[PASS] test_writeAcknowledgement_moduleIsntChannelOwner(uint32,bytes,uint8,address) (runs: 256, μ: 3884041, ~: 2472241)
[PASS] test_writeAcknowledgement_ok(uint32,bytes,uint8) (runs: 256, μ: 3691310, ~: 2390409)
[PASS] test_writeAcknowledgement_ok_1(uint32,bytes) (runs: 256, μ: 28422, ~: 28357)
[PASS] test_writeAcknowledgement_packetNotReceived(uint32,bytes,uint8) (runs: 256, μ: 1025324, ~: 564591)
Suite result: ok. 78 passed; 0 failed; 0 skipped; finished in 3.43s (66.65s CPU time)

Ran 15 test suites in 3.46s (24.65s CPU time): 201 tests passed, 0 failed, 0 skipped (201 total tests)
checkPhase completed in 52 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/6zk5yl6s3ln6gr0xbk8mii5klfag1i11-evm-contracts
checking for references to /build/ in /nix/store/6zk5yl6s3ln6gr0xbk8mii5klfag1i11-evm-contracts...
patching script interpreter paths in /nix/store/6zk5yl6s3ln6gr0xbk8mii5klfag1i11-evm-contracts