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: small fixes #3369

Merged
merged 1 commit into from
Dec 12, 2024

feat: small fixes

7efa097
Select commit
Loading
Failed to load commit list.
Merged

feat: small fixes #3369

feat: small fixes
7efa097
Select commit
Loading
Failed to load commit list.
Garnix CI / package evm-contracts [x86_64-linux] succeeded Dec 12, 2024 in 1m 51s

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.21s (8.95ms CPU time)

Ran 78 tests for tests/src/04-channel/IBCPacket.t.sol:IBCPacketTests
[PASS] test_acknowledgePacket_commitmentRemoved(uint32,bytes,uint8) (runs: 256, μ: 2663420, ~: 1682698)
[PASS] test_acknowledgePacket_invalidProof(uint32,bytes,uint8) (runs: 256, μ: 2735431, ~: 2134567)
[PASS] test_acknowledgePacket_notSent(uint32,bytes,uint8) (runs: 256, μ: 362374, ~: 235931)
[PASS] test_acknowledgePacket_ok(uint32,bytes,uint8) (runs: 256, μ: 108449, ~: 67703)
[PASS] test_acknowledgePacket_ok_1(uint32,bytes) (runs: 256, μ: 6044, ~: 6037)
[PASS] test_acknowledgePacket_ok_10(uint32,bytes) (runs: 256, μ: 15733, ~: 15671)
[PASS] test_acknowledgePacket_ok_15(uint32,bytes) (runs: 256, μ: 20344, ~: 20212)
[PASS] test_acknowledgePacket_ok_20(uint32,bytes) (runs: 256, μ: 26064, ~: 26002)
[PASS] test_acknowledgePacket_ok_25(uint32,bytes) (runs: 256, μ: 31600, ~: 31430)
[PASS] test_acknowledgePacket_ok_30(uint32,bytes) (runs: 256, μ: 36161, ~: 36082)
[PASS] test_acknowledgePacket_ok_5(uint32,bytes) (runs: 256, μ: 11191, ~: 11187)
[PASS] test_acknowledgePacket_tampered(uint32,bytes,uint8) (runs: 256, μ: 2771567, ~: 1876370)
[PASS] test_batchAcks_afterRecvPacket_asyncAck(uint32,bytes,uint8) (runs: 256, μ: 3186520, ~: 2275455)
[PASS] test_batchAcks_afterRecvPacket_commitmentSaved(uint32,bytes,uint8,bytes) (runs: 256, μ: 4041089, ~: 2618380)
[PASS] test_batchAcks_afterRecvPacket_ok(uint32,bytes,uint8,bytes) (runs: 256, μ: 3701038, ~: 1950126)
[PASS] test_batchAcks_afterRecvPacket_ok_10(uint32,bytes,bytes) (runs: 256, μ: 454363, ~: 448968)
[PASS] test_batchAcks_afterRecvPacket_ok_15(uint32,bytes,bytes) (runs: 256, μ: 674395, ~: 668845)
[PASS] test_batchAcks_afterRecvPacket_ok_2(uint32,bytes,bytes) (runs: 256, μ: 94661, ~: 93750)
[PASS] test_batchAcks_afterRecvPacket_ok_20(uint32,bytes,bytes) (runs: 256, μ: 899422, ~: 890265)
[PASS] test_batchAcks_afterRecvPacket_ok_25(uint32,bytes,bytes) (runs: 256, μ: 1124017, ~: 1112137)
[PASS] test_batchAcks_afterRecvPacket_ok_30(uint32,bytes,bytes) (runs: 256, μ: 1345708, ~: 1332970)
[PASS] test_batchAcks_afterRecvPacket_ok_5(uint32,bytes,bytes) (runs: 256, μ: 228986, ~: 226724)
[PASS] test_batchAcks_afterRecvPacket_tamperedPacket(uint32,bytes,uint8,bytes) (runs: 256, μ: 4095205, ~: 2950756)
[PASS] test_batchAcks_packetNotReceived(uint32,bytes,uint8,bytes) (runs: 256, μ: 365583, ~: 252551)
[PASS] test_batchSend_commitmentSaved(uint64,uint64,uint8) (runs: 256, μ: 358671, ~: 245798)
[PASS] test_batchSend_ok(uint64,uint64,uint8) (runs: 256, μ: 337181, ~: 237215)
[PASS] test_batchSend_ok_10(uint64,uint64) (runs: 256, μ: 64068, ~: 64068)
[PASS] test_batchSend_ok_15(uint64,uint64) (runs: 256, μ: 81792, ~: 81792)
[PASS] test_batchSend_ok_2(uint64,uint64) (runs: 256, μ: 37521, ~: 37521)
[PASS] test_batchSend_ok_20(uint64,uint64) (runs: 256, μ: 98377, ~: 98377)
[PASS] test_batchSend_ok_25(uint64,uint64) (runs: 256, μ: 115232, ~: 115232)
[PASS] test_batchSend_ok_30(uint64,uint64) (runs: 256, μ: 133214, ~: 133214)
[PASS] test_batchSend_ok_5(uint64,uint64) (runs: 256, μ: 46723, ~: 46723)
[PASS] test_batchSend_packetNotSent(uint64,uint64,uint8) (runs: 256, μ: 72008, ~: 46239)
[PASS] test_recvIntentPacket_commitmentSaved(uint32,bytes,uint8) (runs: 256, μ: 3960992, ~: 2483739)
[PASS] test_recvIntentPacket_ok(uint32,bytes,uint8) (runs: 256, μ: 3706801, ~: 2274630)
[PASS] test_recvIntentPacket_ok_1(uint32,bytes) (runs: 256, μ: 61976, ~: 61948)
[PASS] test_recvIntentPacket_ok_10(uint32,bytes) (runs: 256, μ: 420823, ~: 420375)
[PASS] test_recvIntentPacket_ok_15(uint32,bytes) (runs: 256, μ: 619391, ~: 619674)
[PASS] test_recvIntentPacket_ok_20(uint32,bytes) (runs: 256, μ: 819392, ~: 817733)
[PASS] test_recvIntentPacket_ok_25(uint32,bytes) (runs: 256, μ: 1018201, ~: 1018139)
[PASS] test_recvIntentPacket_ok_30(uint32,bytes) (runs: 256, μ: 1217598, ~: 1217524)
[PASS] test_recvIntentPacket_ok_5(uint32,bytes) (runs: 256, μ: 221130, ~: 221001)
[PASS] test_recvIntentPacket_timeoutHeight(uint64,uint32,bytes,uint8) (runs: 256, μ: 221012, ~: 129123)
[PASS] test_recvIntentPacket_timeoutTimestamp(uint32,uint32,bytes,uint8) (runs: 256, μ: 268065, ~: 172536)
[PASS] test_recvPacket_ackCommitmentSaved(uint32,bytes,uint8) (runs: 256, μ: 4017479, ~: 2677046)
[PASS] test_recvPacket_invalidChannelState(uint32,uint32,bytes,uint8) (runs: 256, μ: 252178, ~: 178239)
[PASS] test_recvPacket_invalidProof(uint32,bytes,uint8) (runs: 256, μ: 319551, ~: 205350)
[PASS] test_recvPacket_noAck_receiptCommitmentSaved(uint32,bytes,uint8) (runs: 256, μ: 3142813, ~: 1630335)
[PASS] test_recvPacket_ok(uint32,bytes,uint8) (runs: 256, μ: 3386222, ~: 2264103)
[PASS] test_recvPacket_ok_1(uint32,bytes) (runs: 256, μ: 49407, ~: 49483)
[PASS] test_recvPacket_ok_10(uint32,bytes) (runs: 256, μ: 411923, ~: 411730)
[PASS] test_recvPacket_ok_15(uint32,bytes) (runs: 256, μ: 615372, ~: 614681)
[PASS] test_recvPacket_ok_20(uint32,bytes) (runs: 256, μ: 820450, ~: 819428)
[PASS] test_recvPacket_ok_25(uint32,bytes) (runs: 256, μ: 1022339, ~: 1020935)
[PASS] test_recvPacket_ok_30(uint32,bytes) (runs: 256, μ: 1226612, ~: 1225580)
[PASS] test_recvPacket_ok_5(uint32,bytes) (runs: 256, μ: 209395, ~: 209167)
[PASS] test_recvPacket_timeoutHeight(uint64,uint32,bytes,uint8) (runs: 256, μ: 299450, ~: 147613)
[PASS] test_recvPacket_timeoutTimestamp(uint32,uint32,bytes,uint8) (runs: 256, μ: 305837, ~: 159513)
[PASS] test_sendPacket_channelDoesntExist(uint32,uint64,uint64,bytes) (runs: 256, μ: 20765, ~: 20763)
[PASS] test_sendPacket_commitmentSaved(uint64,uint64,bytes) (runs: 256, μ: 51952, ~: 51590)
[PASS] test_sendPacket_missingTimeout(bytes) (runs: 256, μ: 16353, ~: 16351)
[PASS] test_sendPacket_moduleIsntChannelOwner(uint64,uint64,bytes,address) (runs: 256, μ: 19120, ~: 19116)
[PASS] test_sendPacket_ok(uint64,uint64,bytes) (runs: 256, μ: 44595, ~: 44274)
[PASS] test_timeoutPacket_height_commitmentRemoved(uint32,bytes,uint32,uint32) (runs: 256, μ: 6325, ~: 6284)
[PASS] test_timeoutPacket_height_invalidProof(uint32,bytes,uint32,uint32) (runs: 256, μ: 105619, ~: 105523)
[PASS] test_timeoutPacket_height_notReached(uint32,bytes,uint32,uint32) (runs: 256, μ: 101158, ~: 101157)
[PASS] test_timeoutPacket_height_ok(uint32,bytes,uint32,uint32) (runs: 256, μ: 7025, ~: 6991)
[PASS] test_timeoutPacket_timestamp_commitmentRemoved(uint32,bytes,uint32,uint32) (runs: 256, μ: 7532, ~: 7497)
[PASS] test_timeoutPacket_timestamp_invalidProof(uint32,bytes,uint32,uint32) (runs: 256, μ: 86391, ~: 86299)
[PASS] test_timeoutPacket_timestamp_notReached(uint32,bytes,uint32,uint32) (runs: 256, μ: 85309, ~: 85309)
[PASS] test_timeoutPacket_timestamp_ok(uint32,bytes,uint32,uint32) (runs: 256, μ: 7185, ~: 7148)
[PASS] test_writeAcknowledgement_alreadyExists(uint32,bytes,uint8) (runs: 256, μ: 3309386, ~: 1800758)
[PASS] test_writeAcknowledgement_commitmentSaved(uint32,bytes,uint8) (runs: 256, μ: 3808427, ~: 2100436)
[PASS] test_writeAcknowledgement_moduleIsntChannelOwner(uint32,bytes,uint8,address) (runs: 256, μ: 4141246, ~: 2447258)
[PASS] test_writeAcknowledgement_ok(uint32,bytes,uint8) (runs: 256, μ: 3803299, ~: 2519416)
[PASS] test_writeAcknowledgement_ok_1(uint32,bytes) (runs: 256, μ: 28513, ~: 28384)
[PASS] test_writeAcknowledgement_packetNotReceived(uint32,bytes,uint8) (runs: 256, μ: 1048179, ~: 625452)
Suite result: ok. 78 passed; 0 failed; 0 skipped; finished in 3.21s (72.99s CPU time)

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