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

upgrade gnark/mpc tools #2579

Merged
merged 52 commits into from
Nov 21, 2024

feat(galois): update checkpoint circuit download

fe3c13c
Select commit
Loading
Failed to load commit list.
Merged

upgrade gnark/mpc tools #2579

feat(galois): update checkpoint circuit download
fe3c13c
Select commit
Loading
Failed to load commit list.
Garnix CI / package evm-contracts [x86_64-linux] succeeded Nov 21, 2024 in 3m 4s

Run results

Build succeeded

Details

Last 100 lines of logs:

[PASS] test_channelOpenTry_invalidProof(uint32,string,string,address) (runs: 256, μ: 28878, ~: 28878)
[PASS] test_channelOpenTry_invalidState(uint32,string,string,address) (runs: 256, μ: 14526, ~: 14519)
[PASS] test_channelOpenTry_ok(uint32,string,string,address) (runs: 256, μ: 171091, ~: 191496)
Suite result: ok. 14 passed; 0 failed; 0 skipped; finished in 3.69s (998.97ms CPU time)

Ran 2 tests for tests/src/Verifier.t.sol:VerifierTests
[PASS] test_verifyZKP_ok() (gas: 327839)
[PASS] test_verifyZKP_tamperedBlock() (gas: 328093)
Suite result: ok. 2 passed; 0 failed; 0 skipped; finished in 4.13s (34.70ms CPU time)

Ran 78 tests for tests/src/04-channel/IBCPacket.t.sol:IBCPacketTests
[PASS] test_acknowledgePacket_commitmentRemoved(uint32,bytes,uint8) (runs: 256, μ: 2841776, ~: 1675459)
[PASS] test_acknowledgePacket_invalidProof(uint32,bytes,uint8) (runs: 256, μ: 2831463, ~: 1926682)
[PASS] test_acknowledgePacket_notSent(uint32,bytes,uint8) (runs: 256, μ: 354030, ~: 211790)
[PASS] test_acknowledgePacket_ok(uint32,bytes,uint8) (runs: 256, μ: 96682, ~: 53071)
[PASS] test_acknowledgePacket_ok_1(uint32,bytes) (runs: 256, μ: 6044, ~: 6037)
[PASS] test_acknowledgePacket_ok_10(uint32,bytes) (runs: 256, μ: 15725, ~: 15671)
[PASS] test_acknowledgePacket_ok_15(uint32,bytes) (runs: 256, μ: 20126, ~: 20212)
[PASS] test_acknowledgePacket_ok_20(uint32,bytes) (runs: 256, μ: 26013, ~: 26002)
[PASS] test_acknowledgePacket_ok_25(uint32,bytes) (runs: 256, μ: 31579, ~: 31430)
[PASS] test_acknowledgePacket_ok_30(uint32,bytes) (runs: 256, μ: 36195, ~: 36082)
[PASS] test_acknowledgePacket_ok_5(uint32,bytes) (runs: 256, μ: 11200, ~: 11187)
[PASS] test_acknowledgePacket_tampered(uint32,bytes,uint8) (runs: 256, μ: 2745188, ~: 2011207)
[PASS] test_batchAcks_afterRecvPacket_asyncAck(uint32,bytes,uint8) (runs: 256, μ: 3350732, ~: 2107474)
[PASS] test_batchAcks_afterRecvPacket_commitmentSaved(uint32,bytes,uint8,bytes) (runs: 256, μ: 4444300, ~: 3784093)
[PASS] test_batchAcks_afterRecvPacket_ok(uint32,bytes,uint8,bytes) (runs: 256, μ: 3946906, ~: 2712346)
[PASS] test_batchAcks_afterRecvPacket_ok_10(uint32,bytes,bytes) (runs: 256, μ: 452978, ~: 448499)
[PASS] test_batchAcks_afterRecvPacket_ok_15(uint32,bytes,bytes) (runs: 256, μ: 675204, ~: 668395)
[PASS] test_batchAcks_afterRecvPacket_ok_2(uint32,bytes,bytes) (runs: 256, μ: 94389, ~: 93615)
[PASS] test_batchAcks_afterRecvPacket_ok_20(uint32,bytes,bytes) (runs: 256, μ: 897566, ~: 889665)
[PASS] test_batchAcks_afterRecvPacket_ok_25(uint32,bytes,bytes) (runs: 256, μ: 1123175, ~: 1111387)
[PASS] test_batchAcks_afterRecvPacket_ok_30(uint32,bytes,bytes) (runs: 256, μ: 1343772, ~: 1332070)
[PASS] test_batchAcks_afterRecvPacket_ok_5(uint32,bytes,bytes) (runs: 256, μ: 228576, ~: 226574)
[PASS] test_batchAcks_afterRecvPacket_tamperedPacket(uint32,bytes,uint8,bytes) (runs: 256, μ: 4084741, ~: 2936156)
[PASS] test_batchAcks_packetNotReceived(uint32,bytes,uint8,bytes) (runs: 256, μ: 384518, ~: 316327)
[PASS] test_batchSend_commitmentSaved(uint64,uint64,uint8) (runs: 256, μ: 382725, ~: 271192)
[PASS] test_batchSend_ok(uint64,uint64,uint8) (runs: 256, μ: 383084, ~: 277111)
[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, μ: 71806, ~: 46239)
[PASS] test_recvIntentPacket_commitmentSaved(uint32,bytes,uint8) (runs: 256, μ: 3656336, ~: 1824791)
[PASS] test_recvIntentPacket_ok(uint32,bytes,uint8) (runs: 256, μ: 2989381, ~: 1556910)
[PASS] test_recvIntentPacket_ok_1(uint32,bytes) (runs: 256, μ: 61983, ~: 61948)
[PASS] test_recvIntentPacket_ok_10(uint32,bytes) (runs: 256, μ: 420328, ~: 420375)
[PASS] test_recvIntentPacket_ok_15(uint32,bytes) (runs: 256, μ: 619639, ~: 619674)
[PASS] test_recvIntentPacket_ok_20(uint32,bytes) (runs: 256, μ: 817403, ~: 817733)
[PASS] test_recvIntentPacket_ok_25(uint32,bytes) (runs: 256, μ: 1019921, ~: 1018139)
[PASS] test_recvIntentPacket_ok_30(uint32,bytes) (runs: 256, μ: 1218383, ~: 1217524)
[PASS] test_recvIntentPacket_ok_5(uint32,bytes) (runs: 256, μ: 221236, ~: 221001)
[PASS] test_recvIntentPacket_timeoutHeight(uint64,uint32,bytes,uint8) (runs: 256, μ: 223723, ~: 116387)
[PASS] test_recvIntentPacket_timeoutTimestamp(uint32,uint32,bytes,uint8) (runs: 256, μ: 249492, ~: 139826)
[PASS] test_recvPacket_ackCommitmentSaved(uint32,bytes,uint8) (runs: 256, μ: 3708943, ~: 2380106)
[PASS] test_recvPacket_invalidChannelState(uint32,uint32,bytes,uint8) (runs: 256, μ: 225527, ~: 131619)
[PASS] test_recvPacket_invalidProof(uint32,bytes,uint8) (runs: 256, μ: 316783, ~: 190519)
[PASS] test_recvPacket_noAck_receiptCommitmentSaved(uint32,bytes,uint8) (runs: 256, μ: 3415102, ~: 2129127)
[PASS] test_recvPacket_ok(uint32,bytes,uint8) (runs: 256, μ: 3168781, ~: 1685587)
[PASS] test_recvPacket_ok_1(uint32,bytes) (runs: 256, μ: 49425, ~: 49483)
[PASS] test_recvPacket_ok_10(uint32,bytes) (runs: 256, μ: 412092, ~: 411730)
[PASS] test_recvPacket_ok_15(uint32,bytes) (runs: 256, μ: 615081, ~: 614681)
[PASS] test_recvPacket_ok_20(uint32,bytes) (runs: 256, μ: 820984, ~: 819428)
[PASS] test_recvPacket_ok_25(uint32,bytes) (runs: 256, μ: 1022582, ~: 1020935)
[PASS] test_recvPacket_ok_30(uint32,bytes) (runs: 256, μ: 1226465, ~: 1225580)
[PASS] test_recvPacket_ok_5(uint32,bytes) (runs: 256, μ: 209419, ~: 209167)
[PASS] test_recvPacket_timeoutHeight(uint64,uint32,bytes,uint8) (runs: 256, μ: 324501, ~: 188888)
[PASS] test_recvPacket_timeoutTimestamp(uint32,uint32,bytes,uint8) (runs: 256, μ: 319103, ~: 221815)
[PASS] test_sendPacket_channelDoesntExist(uint32,uint64,uint64,bytes) (runs: 256, μ: 20766, ~: 20763)
[PASS] test_sendPacket_commitmentSaved(uint64,uint64,bytes) (runs: 256, μ: 51985, ~: 51590)
[PASS] test_sendPacket_missingTimeout(bytes) (runs: 256, μ: 16352, ~: 16351)
[PASS] test_sendPacket_moduleIsntChannelOwner(uint64,uint64,bytes,address) (runs: 256, μ: 19120, ~: 19116)
[PASS] test_sendPacket_ok(uint64,uint64,bytes) (runs: 256, μ: 44624, ~: 44274)
[PASS] test_timeoutPacket_height_commitmentRemoved(uint32,bytes,uint32,uint32) (runs: 256, μ: 6327, ~: 6284)
[PASS] test_timeoutPacket_height_invalidProof(uint32,bytes,uint32,uint32) (runs: 256, μ: 105630, ~: 105523)
[PASS] test_timeoutPacket_height_notReached(uint32,bytes,uint32,uint32) (runs: 256, μ: 101157, ~: 101157)
[PASS] test_timeoutPacket_height_ok(uint32,bytes,uint32,uint32) (runs: 256, μ: 7033, ~: 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, μ: 86409, ~: 86299)
[PASS] test_timeoutPacket_timestamp_notReached(uint32,bytes,uint32,uint32) (runs: 256, μ: 85308, ~: 85309)
[PASS] test_timeoutPacket_timestamp_ok(uint32,bytes,uint32,uint32) (runs: 256, μ: 7185, ~: 7148)
[PASS] test_writeAcknowledgement_alreadyExists(uint32,bytes,uint8) (runs: 256, μ: 3841317, ~: 2480136)
[PASS] test_writeAcknowledgement_commitmentSaved(uint32,bytes,uint8) (runs: 256, μ: 3550532, ~: 2304538)
[PASS] test_writeAcknowledgement_moduleIsntChannelOwner(uint32,bytes,uint8,address) (runs: 256, μ: 4046309, ~: 2639525)
[PASS] test_writeAcknowledgement_ok(uint32,bytes,uint8) (runs: 256, μ: 3414129, ~: 1967685)
[PASS] test_writeAcknowledgement_ok_1(uint32,bytes) (runs: 256, μ: 28409, ~: 28384)
[PASS] test_writeAcknowledgement_packetNotReceived(uint32,bytes,uint8) (runs: 256, μ: 1156737, ~: 825070)
Suite result: ok. 78 passed; 0 failed; 0 skipped; finished in 4.13s (81.72s CPU time)

Ran 5 test suites in 4.16s (18.57s CPU time): 114 tests passed, 0 failed, 0 skipped (114 total tests)
checkPhase completed in 37 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/rh19llhiwr5ipgqhc7xs8g9kxb5jvflk-evm-contracts
checking for references to /build/ in /nix/store/rh19llhiwr5ipgqhc7xs8g9kxb5jvflk-evm-contracts...
patching script interpreter paths in /nix/store/rh19llhiwr5ipgqhc7xs8g9kxb5jvflk-evm-contracts