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(ibc-union): Add query responses #3508

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

style(ibc-union): fix root Cargo.toml

a21afbb
Select commit
Loading
Failed to load commit list.
Open

feat(ibc-union): Add query responses #3508

style(ibc-union): fix root Cargo.toml
a21afbb
Select commit
Loading
Failed to load commit list.
Garnix CI / package evm-contracts [x86_64-linux] succeeded Feb 21, 2025 in 1m 0s

Run results

Build succeeded

Details

Last 100 lines of logs:

[PASS] test_misbehaviour_freezesClient_ErrInvalidZKP() (gas: 259904)
[PASS] test_misbehaviour_freezesClient_ErrMaxClockDriftExceeded() (gas: 277126)
[PASS] test_misbehaviour_freezesClient_ErrUntrustedHeightLTETrustedHeight() (gas: 276383)
[PASS] test_misbehaviour_freezesClient_ErrUntrustedTimestampLTETrustedTimestamp() (gas: 276416)
[PASS] test_misbehaviour_freezesClient_fraud() (gas: 280519)
[PASS] test_misbehaviour_freezesClient_fraud_different_hash() (gas: 282079)
[PASS] test_misbehaviour_freezesClient_headers_seq() (gas: 274870)
[PASS] test_updateClient_success() (gas: 356051)
Suite result: ok. 14 passed; 0 failed; 0 skipped; finished in 3.85s (12.16ms CPU time)

Ran 78 tests for tests/src/04-channel/IBCPacket.t.sol:IBCPacketTests
[PASS] test_acknowledgePacket_commitmentRemoved(uint32,bytes,uint8) (runs: 256, μ: 3068075, ~: 2364628)
[PASS] test_acknowledgePacket_invalidProof(uint32,bytes,uint8) (runs: 256, μ: 2611476, ~: 1589334)
[PASS] test_acknowledgePacket_notSent(uint32,bytes,uint8) (runs: 256, μ: 421312, ~: 318295)
[PASS] test_acknowledgePacket_ok(uint32,bytes,uint8) (runs: 256, μ: 104414, ~: 50174)
[PASS] test_acknowledgePacket_ok_1(uint32,bytes) (runs: 256, μ: 6044, ~: 6037)
[PASS] test_acknowledgePacket_ok_10(uint32,bytes) (runs: 256, μ: 15684, ~: 15671)
[PASS] test_acknowledgePacket_ok_15(uint32,bytes) (runs: 256, μ: 20213, ~: 20212)
[PASS] test_acknowledgePacket_ok_20(uint32,bytes) (runs: 256, μ: 26125, ~: 26002)
[PASS] test_acknowledgePacket_ok_25(uint32,bytes) (runs: 256, μ: 31382, ~: 31430)
[PASS] test_acknowledgePacket_ok_30(uint32,bytes) (runs: 256, μ: 36178, ~: 36082)
[PASS] test_acknowledgePacket_ok_5(uint32,bytes) (runs: 256, μ: 11196, ~: 11187)
[PASS] test_acknowledgePacket_tampered(uint32,bytes,uint8) (runs: 256, μ: 2188337, ~: 1144301)
[PASS] test_batchAcks_afterRecvPacket_asyncAck(uint32,bytes,uint8) (runs: 256, μ: 3701617, ~: 2710105)
[PASS] test_batchAcks_afterRecvPacket_commitmentSaved(uint32,bytes,uint8,bytes) (runs: 256, μ: 4134415, ~: 2716484)
[PASS] test_batchAcks_afterRecvPacket_ok(uint32,bytes,uint8,bytes) (runs: 256, μ: 3567671, ~: 2116058)
[PASS] test_batchAcks_afterRecvPacket_ok_10(uint32,bytes,bytes) (runs: 256, μ: 453834, ~: 448955)
[PASS] test_batchAcks_afterRecvPacket_ok_15(uint32,bytes,bytes) (runs: 256, μ: 675755, ~: 669364)
[PASS] test_batchAcks_afterRecvPacket_ok_2(uint32,bytes,bytes) (runs: 256, μ: 94660, ~: 93762)
[PASS] test_batchAcks_afterRecvPacket_ok_20(uint32,bytes,bytes) (runs: 256, μ: 899068, ~: 890979)
[PASS] test_batchAcks_afterRecvPacket_ok_25(uint32,bytes,bytes) (runs: 256, μ: 1123611, ~: 1112087)
[PASS] test_batchAcks_afterRecvPacket_ok_30(uint32,bytes,bytes) (runs: 256, μ: 1346727, ~: 1334074)
[PASS] test_batchAcks_afterRecvPacket_ok_5(uint32,bytes,bytes) (runs: 256, μ: 229291, ~: 226853)
[PASS] test_batchAcks_afterRecvPacket_tamperedPacket(uint32,bytes,uint8,bytes) (runs: 256, μ: 3943683, ~: 2532308)
[PASS] test_batchAcks_packetNotReceived(uint32,bytes,uint8,bytes) (runs: 256, μ: 375439, ~: 283520)
[PASS] test_batchSend_commitmentSaved(uint64,uint64,uint8) (runs: 256, μ: 410120, ~: 335457)
[PASS] test_batchSend_ok(uint64,uint64,uint8) (runs: 256, μ: 359997, ~: 251644)
[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, μ: 76945, ~: 54171)
[PASS] test_recvIntentPacket_commitmentSaved(uint32,bytes,uint8) (runs: 256, μ: 3690820, ~: 2331865)
[PASS] test_recvIntentPacket_ok(uint32,bytes,uint8) (runs: 256, μ: 3354030, ~: 2119055)
[PASS] test_recvIntentPacket_ok_1(uint32,bytes) (runs: 256, μ: 61994, ~: 61987)
[PASS] test_recvIntentPacket_ok_10(uint32,bytes) (runs: 256, μ: 421307, ~: 420765)
[PASS] test_recvIntentPacket_ok_15(uint32,bytes) (runs: 256, μ: 621429, ~: 620259)
[PASS] test_recvIntentPacket_ok_20(uint32,bytes) (runs: 256, μ: 818609, ~: 818513)
[PASS] test_recvIntentPacket_ok_25(uint32,bytes) (runs: 256, μ: 1019353, ~: 1019114)
[PASS] test_recvIntentPacket_ok_30(uint32,bytes) (runs: 256, μ: 1218269, ~: 1218694)
[PASS] test_recvIntentPacket_ok_5(uint32,bytes) (runs: 256, μ: 221160, ~: 221196)
[PASS] test_recvIntentPacket_timeoutHeight(uint64,uint32,bytes,uint8) (runs: 256, μ: 242709, ~: 156832)
[PASS] test_recvIntentPacket_timeoutTimestamp(uint32,uint32,bytes,uint8) (runs: 256, μ: 232927, ~: 130625)
[PASS] test_recvPacket_ackCommitmentSaved(uint32,bytes,uint8) (runs: 256, μ: 4112955, ~: 2743301)
[PASS] test_recvPacket_invalidChannelState(uint32,uint32,bytes,uint8) (runs: 256, μ: 260009, ~: 197700)
[PASS] test_recvPacket_invalidProof(uint32,bytes,uint8) (runs: 256, μ: 326908, ~: 213998)
[PASS] test_recvPacket_noAck_receiptCommitmentSaved(uint32,bytes,uint8) (runs: 256, μ: 3431388, ~: 1934131)
[PASS] test_recvPacket_ok(uint32,bytes,uint8) (runs: 256, μ: 3511094, ~: 1985541)
[PASS] test_recvPacket_ok_1(uint32,bytes) (runs: 256, μ: 49453, ~: 49509)
[PASS] test_recvPacket_ok_10(uint32,bytes) (runs: 256, μ: 412554, ~: 412120)
[PASS] test_recvPacket_ok_15(uint32,bytes) (runs: 256, μ: 615848, ~: 615266)
[PASS] test_recvPacket_ok_20(uint32,bytes) (runs: 256, μ: 820890, ~: 820208)
[PASS] test_recvPacket_ok_25(uint32,bytes) (runs: 256, μ: 1022218, ~: 1021910)
[PASS] test_recvPacket_ok_30(uint32,bytes) (runs: 256, μ: 1228147, ~: 1226750)
[PASS] test_recvPacket_ok_5(uint32,bytes) (runs: 256, μ: 209434, ~: 209362)
[PASS] test_recvPacket_timeoutHeight(uint64,uint32,bytes,uint8) (runs: 256, μ: 344846, ~: 254830)
[PASS] test_recvPacket_timeoutTimestamp(uint32,uint32,bytes,uint8) (runs: 256, μ: 334461, ~: 227086)
[PASS] test_sendPacket_channelDoesntExist(uint32,uint64,uint64,bytes) (runs: 256, μ: 20699, ~: 20697)
[PASS] test_sendPacket_commitmentSaved(uint64,uint64,bytes) (runs: 256, μ: 51972, ~: 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, μ: 44554, ~: 44208)
[PASS] test_timeoutPacket_height_commitmentRemoved(uint32,bytes,uint32,uint32) (runs: 256, μ: 6323, ~: 6284)
[PASS] test_timeoutPacket_height_invalidProof(uint32,bytes,uint32,uint32) (runs: 256, μ: 105475, ~: 105391)
[PASS] test_timeoutPacket_height_notReached(uint32,bytes,uint32,uint32) (runs: 256, μ: 101049, ~: 101052)
[PASS] test_timeoutPacket_height_ok(uint32,bytes,uint32,uint32) (runs: 256, μ: 7026, ~: 6991)
[PASS] test_timeoutPacket_timestamp_commitmentRemoved(uint32,bytes,uint32,uint32) (runs: 256, μ: 7540, ~: 7497)
[PASS] test_timeoutPacket_timestamp_invalidProof(uint32,bytes,uint32,uint32) (runs: 256, μ: 86266, ~: 86167)
[PASS] test_timeoutPacket_timestamp_notReached(uint32,bytes,uint32,uint32) (runs: 256, μ: 85201, ~: 85204)
[PASS] test_timeoutPacket_timestamp_ok(uint32,bytes,uint32,uint32) (runs: 256, μ: 7187, ~: 7148)
[PASS] test_writeAcknowledgement_alreadyExists(uint32,bytes,uint8) (runs: 256, μ: 3933291, ~: 2646546)
[PASS] test_writeAcknowledgement_commitmentSaved(uint32,bytes,uint8) (runs: 256, μ: 3528586, ~: 1952680)
[PASS] test_writeAcknowledgement_moduleIsntChannelOwner(uint32,bytes,uint8,address) (runs: 256, μ: 3888178, ~: 2077955)
[PASS] test_writeAcknowledgement_ok(uint32,bytes,uint8) (runs: 256, μ: 3482225, ~: 2302774)
[PASS] test_writeAcknowledgement_ok_1(uint32,bytes) (runs: 256, μ: 28475, ~: 28357)
[PASS] test_writeAcknowledgement_packetNotReceived(uint32,bytes,uint8) (runs: 256, μ: 1229253, ~: 847719)
Suite result: ok. 78 passed; 0 failed; 0 skipped; finished in 3.85s (73.71s CPU time)

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