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

Multi-chain, multi-denom support for drip #2917

Open
wants to merge 12 commits into
base: main
Choose a base branch
from

fix(drip): cargo lock

3255d50
Select commit
Loading
Failed to load commit list.
Open

Multi-chain, multi-denom support for drip #2917

fix(drip): cargo lock
3255d50
Select commit
Loading
Failed to load commit list.
Garnix CI / package evm-contracts [x86_64-linux] succeeded Oct 18, 2024 in 1m 22s

Run results

Build succeeded

Details

Last 100 lines of logs:

[PASS] test_connectionOpenInit_ok((uint32,uint32,address)) (runs: 256, μ: 79369, ~: 79369)
[PASS] test_connectionOpenTryConfirm_commitmentSaved((uint32,uint32,uint32,bytes,uint64,address),(uint32,bytes,uint64,address)) (runs: 256, μ: 114456, ~: 114416)
[PASS] test_connectionOpenTryConfirm_invalidProof((uint32,uint32,uint32,bytes,uint64,address),(uint32,bytes,uint64,address)) (runs: 256, μ: 102943, ~: 102924)
[PASS] test_connectionOpenTryConfirm_ok((uint32,uint32,uint32,bytes,uint64,address),(uint32,bytes,uint64,address)) (runs: 256, μ: 6475, ~: 6423)
[PASS] test_connectionOpenTry_clientNotFound((uint32,uint32,uint32,bytes,uint64,address)) (runs: 256, μ: 61923, ~: 61875)
[PASS] test_connectionOpenTry_commitmentSaved((uint32,uint32,uint32,bytes,uint64,address)) (runs: 256, μ: 97706, ~: 97646)
[PASS] test_connectionOpenTry_invalidProof((uint32,uint32,uint32,bytes,uint64,address)) (runs: 256, μ: 68860, ~: 68811)
[PASS] test_connectionOpenTry_ok((uint32,uint32,uint32,bytes,uint64,address)) (runs: 256, μ: 68282, ~: 68218)
Suite result: ok. 12 passed; 0 failed; 0 skipped; finished in 3.22s (481.43ms CPU time)

Ran 79 tests for tests/src/04-channel/IBCPacket.t.sol:IBCPacketTests
[PASS] test_acknowledgePacket_commitmentRemoved(uint32,bytes,uint8) (runs: 256, μ: 3127702, ~: 2061706)
[PASS] test_acknowledgePacket_invalidProof(uint32,bytes,uint8) (runs: 256, μ: 2264049, ~: 1066474)
[PASS] test_acknowledgePacket_notSent(uint32,bytes,uint8) (runs: 256, μ: 407245, ~: 258186)
[PASS] test_acknowledgePacket_ok(uint32,bytes,uint8) (runs: 256, μ: 102190, ~: 60838)
[PASS] test_acknowledgePacket_ok_1(uint32,bytes) (runs: 256, μ: 6058, ~: 6014)
[PASS] test_acknowledgePacket_ok_10(uint32,bytes) (runs: 256, μ: 15855, ~: 15445)
[PASS] test_acknowledgePacket_ok_15(uint32,bytes) (runs: 256, μ: 20589, ~: 19879)
[PASS] test_acknowledgePacket_ok_20(uint32,bytes) (runs: 256, μ: 26470, ~: 25560)
[PASS] test_acknowledgePacket_ok_25(uint32,bytes) (runs: 256, μ: 32044, ~: 30885)
[PASS] test_acknowledgePacket_ok_30(uint32,bytes) (runs: 256, μ: 36724, ~: 35434)
[PASS] test_acknowledgePacket_ok_5(uint32,bytes) (runs: 256, μ: 11309, ~: 11096)
[PASS] test_acknowledgePacket_tampered(uint32,bytes,uint8) (runs: 256, μ: 2198797, ~: 1058548)
[PASS] test_batchAcks_afterRecvPacket_asyncAck(uint32,bytes,uint8) (runs: 256, μ: 3622278, ~: 2416520)
[PASS] test_batchAcks_afterRecvPacket_commitmentSaved(uint32,bytes,uint8,bytes) (runs: 256, μ: 4414401, ~: 3256683)
[PASS] test_batchAcks_afterRecvPacket_ok(uint32,bytes,uint8,bytes) (runs: 256, μ: 4329487, ~: 2725861)
[PASS] test_batchAcks_afterRecvPacket_ok_10(uint32,bytes,bytes) (runs: 256, μ: 469977, ~: 467737)
[PASS] test_batchAcks_afterRecvPacket_ok_15(uint32,bytes,bytes) (runs: 256, μ: 701864, ~: 698038)
[PASS] test_batchAcks_afterRecvPacket_ok_2(uint32,bytes,bytes) (runs: 256, μ: 97534, ~: 97106)
[PASS] test_batchAcks_afterRecvPacket_ok_20(uint32,bytes,bytes) (runs: 256, μ: 932008, ~: 929049)
[PASS] test_batchAcks_afterRecvPacket_ok_25(uint32,bytes,bytes) (runs: 256, μ: 1163839, ~: 1159848)
[PASS] test_batchAcks_afterRecvPacket_ok_30(uint32,bytes,bytes) (runs: 256, μ: 1398210, ~: 1391549)
[PASS] test_batchAcks_afterRecvPacket_ok_5(uint32,bytes,bytes) (runs: 256, μ: 237153, ~: 236163)
[PASS] test_batchAcks_afterRecvPacket_tamperedPacket(uint32,bytes,uint8,bytes) (runs: 256, μ: 4103246, ~: 2935798)
[PASS] test_batchAcks_packetNotReceived(uint32,bytes,uint8,bytes) (runs: 256, μ: 397957, ~: 315889)
[PASS] test_batchSend_commitmentSaved(uint64,uint64,uint8) (runs: 256, μ: 442711, ~: 352109)
[PASS] test_batchSend_ok(uint64,uint64,uint8) (runs: 256, μ: 384641, ~: 264100)
[PASS] test_batchSend_ok_10(uint64,uint64) (runs: 256, μ: 68261, ~: 68261)
[PASS] test_batchSend_ok_15(uint64,uint64) (runs: 256, μ: 87900, ~: 87900)
[PASS] test_batchSend_ok_2(uint64,uint64) (runs: 256, μ: 38638, ~: 38638)
[PASS] test_batchSend_ok_20(uint64,uint64) (runs: 256, μ: 106375, ~: 106375)
[PASS] test_batchSend_ok_25(uint64,uint64) (runs: 256, μ: 125134, ~: 125134)
[PASS] test_batchSend_ok_30(uint64,uint64) (runs: 256, μ: 145037, ~: 145037)
[PASS] test_batchSend_ok_5(uint64,uint64) (runs: 256, μ: 48972, ~: 48972)
[PASS] test_batchSend_packetNotSent(uint64,uint64,uint8) (runs: 256, μ: 77321, ~: 49390)
[PASS] test_recvIntentPacket_commitmentSaved(uint32,bytes,uint8) (runs: 256, μ: 3543286, ~: 1649531)
[PASS] test_recvIntentPacket_ok(uint32,bytes,uint8) (runs: 256, μ: 3193104, ~: 1703515)
[PASS] test_recvIntentPacket_ok_1(uint32,bytes) (runs: 256, μ: 64262, ~: 63832)
[PASS] test_recvIntentPacket_ok_10(uint32,bytes) (runs: 256, μ: 435870, ~: 432262)
[PASS] test_recvIntentPacket_ok_15(uint32,bytes) (runs: 256, μ: 642690, ~: 637123)
[PASS] test_recvIntentPacket_ok_20(uint32,bytes) (runs: 256, μ: 848968, ~: 840723)
[PASS] test_recvIntentPacket_ok_25(uint32,bytes) (runs: 256, μ: 1057579, ~: 1046716)
[PASS] test_recvIntentPacket_ok_30(uint32,bytes) (runs: 256, μ: 1263947, ~: 1251668)
[PASS] test_recvIntentPacket_ok_5(uint32,bytes) (runs: 256, μ: 229176, ~: 227329)
[PASS] test_recvIntentPacket_timeoutHeight(uint64,uint32,bytes,uint8) (runs: 256, μ: 277543, ~: 184939)
[PASS] test_recvIntentPacket_timeoutTimestamp(uint32,uint32,bytes,uint8) (runs: 256, μ: 256773, ~: 127689)
[PASS] test_recvPacket_ackCommitmentSaved(uint32,bytes,uint8) (runs: 256, μ: 4108351, ~: 2979469)
[PASS] test_recvPacket_invalidChannelState(uint32,uint32,bytes,uint8) (runs: 256, μ: 224488, ~: 114508)
[PASS] test_recvPacket_invalidProof(uint32,bytes,uint8) (runs: 256, μ: 358904, ~: 242112)
[PASS] test_recvPacket_noAck_receiptCommitmentSaved(uint32,bytes,uint8) (runs: 256, μ: 3274827, ~: 2082885)
[PASS] test_recvPacket_ok(uint32,bytes,uint8) (runs: 256, μ: 3814184, ~: 2792534)
[PASS] test_recvPacket_ok_1(uint32,bytes) (runs: 256, μ: 51294, ~: 51095)
[PASS] test_recvPacket_ok_10(uint32,bytes) (runs: 256, μ: 428374, ~: 424201)
[PASS] test_recvPacket_ok_15(uint32,bytes) (runs: 256, μ: 638118, ~: 632998)
[PASS] test_recvPacket_ok_20(uint32,bytes) (runs: 256, μ: 850758, ~: 843615)
[PASS] test_recvPacket_ok_25(uint32,bytes) (runs: 256, μ: 1060397, ~: 1050950)
[PASS] test_recvPacket_ok_30(uint32,bytes) (runs: 256, μ: 1272184, ~: 1261469)
[PASS] test_recvPacket_ok_5(uint32,bytes) (runs: 256, μ: 217597, ~: 215794)
[PASS] test_recvPacket_timeoutHeight(uint64,uint32,bytes,uint8) (runs: 256, μ: 352188, ~: 226969)
[PASS] test_recvPacket_timeoutTimestamp(uint32,uint32,bytes,uint8) (runs: 256, μ: 386694, ~: 226977)
[PASS] test_sendPacket_channelDoesntExist(uint32,uint64,uint64,bytes) (runs: 256, μ: 18076, ~: 18072)
[PASS] test_sendPacket_commitmentSaved(uint64,uint64,bytes) (runs: 256, μ: 56444, ~: 56134)
[PASS] test_sendPacket_increaseSequence(uint64,uint64,bytes) (runs: 256, μ: 54304, ~: 54030)
[PASS] test_sendPacket_missingTimeout(bytes) (runs: 256, μ: 13660, ~: 13658)
[PASS] test_sendPacket_moduleIsntChannelOwner(uint64,uint64,bytes,address) (runs: 256, μ: 16416, ~: 16412)
[PASS] test_sendPacket_ok(uint64,uint64,bytes) (runs: 256, μ: 49007, ~: 48734)
[PASS] test_timeoutPacket_height_commitmentRemoved(uint32,bytes,uint32,uint32) (runs: 256, μ: 6445, ~: 6407)
[PASS] test_timeoutPacket_height_invalidProof(uint32,bytes,uint32,uint32) (runs: 256, μ: 105973, ~: 105879)
[PASS] test_timeoutPacket_height_notReached(uint32,bytes,uint32,uint32) (runs: 256, μ: 101812, ~: 101810)
[PASS] test_timeoutPacket_height_ok(uint32,bytes,uint32,uint32) (runs: 256, μ: 7172, ~: 7136)
[PASS] test_timeoutPacket_timestamp_commitmentRemoved(uint32,bytes,uint32,uint32) (runs: 256, μ: 7679, ~: 7642)
[PASS] test_timeoutPacket_timestamp_invalidProof(uint32,bytes,uint32,uint32) (runs: 256, μ: 86759, ~: 86655)
[PASS] test_timeoutPacket_timestamp_notReached(uint32,bytes,uint32,uint32) (runs: 256, μ: 85857, ~: 85853)
[PASS] test_timeoutPacket_timestamp_ok(uint32,bytes,uint32,uint32) (runs: 256, μ: 7331, ~: 7293)
[PASS] test_writeAcknowledgement_alreadyExists(uint32,bytes,uint8) (runs: 256, μ: 3814862, ~: 2538580)
[PASS] test_writeAcknowledgement_commitmentSaved(uint32,bytes,uint8) (runs: 256, μ: 3572143, ~: 2048692)
[PASS] test_writeAcknowledgement_moduleIsntChannelOwner(uint32,bytes,uint8,address) (runs: 256, μ: 3989198, ~: 2320340)
[PASS] test_writeAcknowledgement_ok(uint32,bytes,uint8) (runs: 256, μ: 4298942, ~: 3195126)
[PASS] test_writeAcknowledgement_ok_1(uint32,bytes) (runs: 256, μ: 29256, ~: 28779)
[PASS] test_writeAcknowledgement_packetNotReceived(uint32,bytes,uint8) (runs: 256, μ: 1160181, ~: 823703)
Suite result: ok. 79 passed; 0 failed; 0 skipped; finished in 3.40s (70.22s CPU time)

Ran 4 test suites in 3.43s (12.79s CPU time): 114 tests passed, 0 failed, 0 skipped (114 total tests)
@nix {"action":"setPhase","phase":"installPhase"}
installing
@nix {"action":"setPhase","phase":"fixupPhase"}
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/6xw946fsrb16y1jhj6i15lihwvckxs70-evm-contracts
checking for references to /build/ in /nix/store/6xw946fsrb16y1jhj6i15lihwvckxs70-evm-contracts...
patching script interpreter paths in /nix/store/6xw946fsrb16y1jhj6i15lihwvckxs70-evm-contracts