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

Use new token data in transfer submit flow #3602

Merged
merged 21 commits into from
Jan 23, 2025

chore(typescript-sdk): spellcheck and fmt

85a579e
Select commit
Loading
Failed to load commit list.
Merged

Use new token data in transfer submit flow #3602

chore(typescript-sdk): spellcheck and fmt
85a579e
Select commit
Loading
Failed to load commit list.
Garnix CI / package evm-contracts [x86_64-linux] succeeded Jan 23, 2025 in 1m 40s

Run results

Build succeeded

Details

Last 100 lines of logs:

[PASS] test_acknowledgePacket_invalidProof(uint32,bytes,uint8) (runs: 256, μ: 2498800, ~: 1508464)
[PASS] test_acknowledgePacket_notSent(uint32,bytes,uint8) (runs: 256, μ: 389947, ~: 233681)
[PASS] test_acknowledgePacket_ok(uint32,bytes,uint8) (runs: 256, μ: 110345, ~: 69197)
[PASS] test_acknowledgePacket_ok_1(uint32,bytes) (runs: 256, μ: 6043, ~: 6037)
[PASS] test_acknowledgePacket_ok_10(uint32,bytes) (runs: 256, μ: 15687, ~: 15671)
[PASS] test_acknowledgePacket_ok_15(uint32,bytes) (runs: 256, μ: 20278, ~: 20212)
[PASS] test_acknowledgePacket_ok_20(uint32,bytes) (runs: 256, μ: 26180, ~: 26002)
[PASS] test_acknowledgePacket_ok_25(uint32,bytes) (runs: 256, μ: 31389, ~: 31430)
[PASS] test_acknowledgePacket_ok_30(uint32,bytes) (runs: 256, μ: 36238, ~: 36082)
[PASS] test_acknowledgePacket_ok_5(uint32,bytes) (runs: 256, μ: 11213, ~: 11187)
[PASS] test_acknowledgePacket_tampered(uint32,bytes,uint8) (runs: 256, μ: 2694015, ~: 2006793)
[PASS] test_batchAcks_afterRecvPacket_asyncAck(uint32,bytes,uint8) (runs: 256, μ: 3701803, ~: 2857755)
[PASS] test_batchAcks_afterRecvPacket_commitmentSaved(uint32,bytes,uint8,bytes) (runs: 256, μ: 4296611, ~: 3275048)
[PASS] test_batchAcks_afterRecvPacket_ok(uint32,bytes,uint8,bytes) (runs: 256, μ: 3911540, ~: 2561307)
[PASS] test_batchAcks_afterRecvPacket_ok_10(uint32,bytes,bytes) (runs: 256, μ: 453403, ~: 448955)
[PASS] test_batchAcks_afterRecvPacket_ok_15(uint32,bytes,bytes) (runs: 256, μ: 677431, ~: 669889)
[PASS] test_batchAcks_afterRecvPacket_ok_2(uint32,bytes,bytes) (runs: 256, μ: 94618, ~: 93762)
[PASS] test_batchAcks_afterRecvPacket_ok_20(uint32,bytes,bytes) (runs: 256, μ: 901542, ~: 891712)
[PASS] test_batchAcks_afterRecvPacket_ok_25(uint32,bytes,bytes) (runs: 256, μ: 1123144, ~: 1112087)
[PASS] test_batchAcks_afterRecvPacket_ok_30(uint32,bytes,bytes) (runs: 256, μ: 1347978, ~: 1334074)
[PASS] test_batchAcks_afterRecvPacket_ok_5(uint32,bytes,bytes) (runs: 256, μ: 228837, ~: 226853)
[PASS] test_batchAcks_afterRecvPacket_tamperedPacket(uint32,bytes,uint8,bytes) (runs: 256, μ: 4316155, ~: 3005258)
[PASS] test_batchAcks_packetNotReceived(uint32,bytes,uint8,bytes) (runs: 256, μ: 389412, ~: 283334)
[PASS] test_batchSend_commitmentSaved(uint64,uint64,uint8) (runs: 256, μ: 369574, ~: 234947)
[PASS] test_batchSend_ok(uint64,uint64,uint8) (runs: 256, μ: 336737, ~: 212046)
[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, μ: 70005, ~: 44524)
[PASS] test_recvIntentPacket_commitmentSaved(uint32,bytes,uint8) (runs: 256, μ: 4062419, ~: 3071549)
[PASS] test_recvIntentPacket_ok(uint32,bytes,uint8) (runs: 256, μ: 3031062, ~: 1458732)
[PASS] test_recvIntentPacket_ok_1(uint32,bytes) (runs: 256, μ: 61982, ~: 61987)
[PASS] test_recvIntentPacket_ok_10(uint32,bytes) (runs: 256, μ: 421118, ~: 420765)
[PASS] test_recvIntentPacket_ok_15(uint32,bytes) (runs: 256, μ: 621536, ~: 620259)
[PASS] test_recvIntentPacket_ok_20(uint32,bytes) (runs: 256, μ: 819367, ~: 818513)
[PASS] test_recvIntentPacket_ok_25(uint32,bytes) (runs: 256, μ: 1020302, ~: 1019114)
[PASS] test_recvIntentPacket_ok_30(uint32,bytes) (runs: 256, μ: 1218983, ~: 1218694)
[PASS] test_recvIntentPacket_ok_5(uint32,bytes) (runs: 256, μ: 221478, ~: 221196)
[PASS] test_recvIntentPacket_timeoutHeight(uint64,uint32,bytes,uint8) (runs: 256, μ: 230113, ~: 127230)
[PASS] test_recvIntentPacket_timeoutTimestamp(uint32,uint32,bytes,uint8) (runs: 256, μ: 255817, ~: 163396)
[PASS] test_recvPacket_ackCommitmentSaved(uint32,bytes,uint8) (runs: 256, μ: 3783169, ~: 2312373)
[PASS] test_recvPacket_invalidChannelState(uint32,uint32,bytes,uint8) (runs: 256, μ: 256108, ~: 166017)
[PASS] test_recvPacket_invalidProof(uint32,bytes,uint8) (runs: 256, μ: 346371, ~: 195724)
[PASS] test_recvPacket_noAck_receiptCommitmentSaved(uint32,bytes,uint8) (runs: 256, μ: 3305251, ~: 2082654)
[PASS] test_recvPacket_ok(uint32,bytes,uint8) (runs: 256, μ: 3342437, ~: 2021452)
[PASS] test_recvPacket_ok_1(uint32,bytes) (runs: 256, μ: 49459, ~: 49514)
[PASS] test_recvPacket_ok_10(uint32,bytes) (runs: 256, μ: 412361, ~: 412120)
[PASS] test_recvPacket_ok_15(uint32,bytes) (runs: 256, μ: 616174, ~: 615266)
[PASS] test_recvPacket_ok_20(uint32,bytes) (runs: 256, μ: 821084, ~: 820208)
[PASS] test_recvPacket_ok_25(uint32,bytes) (runs: 256, μ: 1022645, ~: 1021910)
[PASS] test_recvPacket_ok_30(uint32,bytes) (runs: 256, μ: 1227487, ~: 1226750)
[PASS] test_recvPacket_ok_5(uint32,bytes) (runs: 256, μ: 209374, ~: 209362)
[PASS] test_recvPacket_timeoutHeight(uint64,uint32,bytes,uint8) (runs: 256, μ: 331015, ~: 199758)
[PASS] test_recvPacket_timeoutTimestamp(uint32,uint32,bytes,uint8) (runs: 256, μ: 350193, ~: 248119)
[PASS] test_sendPacket_channelDoesntExist(uint32,uint64,uint64,bytes) (runs: 256, μ: 20700, ~: 20697)
[PASS] test_sendPacket_commitmentSaved(uint64,uint64,bytes) (runs: 256, μ: 51928, ~: 51502)
[PASS] test_sendPacket_missingTimeout(bytes) (runs: 256, μ: 16286, ~: 16285)
[PASS] test_sendPacket_moduleIsntChannelOwner(uint64,uint64,bytes,address) (runs: 256, μ: 19052, ~: 19050)
[PASS] test_sendPacket_ok(uint64,uint64,bytes) (runs: 256, μ: 44516, ~: 44208)
[PASS] test_timeoutPacket_height_commitmentRemoved(uint32,bytes,uint32,uint32) (runs: 256, μ: 6326, ~: 6284)
[PASS] test_timeoutPacket_height_invalidProof(uint32,bytes,uint32,uint32) (runs: 256, μ: 105478, ~: 105391)
[PASS] test_timeoutPacket_height_notReached(uint32,bytes,uint32,uint32) (runs: 256, μ: 101050, ~: 101052)
[PASS] test_timeoutPacket_height_ok(uint32,bytes,uint32,uint32) (runs: 256, μ: 7023, ~: 6991)
[PASS] test_timeoutPacket_timestamp_commitmentRemoved(uint32,bytes,uint32,uint32) (runs: 256, μ: 7534, ~: 7497)
[PASS] test_timeoutPacket_timestamp_invalidProof(uint32,bytes,uint32,uint32) (runs: 256, μ: 86274, ~: 86167)
[PASS] test_timeoutPacket_timestamp_notReached(uint32,bytes,uint32,uint32) (runs: 256, μ: 85205, ~: 85204)
[PASS] test_timeoutPacket_timestamp_ok(uint32,bytes,uint32,uint32) (runs: 256, μ: 7191, ~: 7148)
[PASS] test_writeAcknowledgement_alreadyExists(uint32,bytes,uint8) (runs: 256, μ: 3442856, ~: 1777742)
[PASS] test_writeAcknowledgement_commitmentSaved(uint32,bytes,uint8) (runs: 256, μ: 3555557, ~: 2319750)
[PASS] test_writeAcknowledgement_moduleIsntChannelOwner(uint32,bytes,uint8,address) (runs: 256, μ: 3963865, ~: 2705467)
[PASS] test_writeAcknowledgement_ok(uint32,bytes,uint8) (runs: 256, μ: 3854378, ~: 2643568)
[PASS] test_writeAcknowledgement_ok_1(uint32,bytes) (runs: 256, μ: 28339, ~: 28357)
[PASS] test_writeAcknowledgement_packetNotReceived(uint32,bytes,uint8) (runs: 256, μ: 1242414, ~: 803742)
Suite result: ok. 78 passed; 0 failed; 0 skipped; finished in 9.38s (180.64s CPU time)

Ran 9 tests for tests/src/02-client/StateLensIcs23Ics23Client.t.sol:StateLensIcs23Ics23ClientTest
[PASS] test_createClient_ErrInvalidInitialConsensusState() (gas: 23919)
[PASS] test_createClient_success() (gas: 196205)
[PASS] test_initialize_ok() (gas: 17880)
[PASS] test_isFrozenImpl() (gas: 203993)
[PASS] test_misbehavuour_error() (gas: 19217)
[PASS] test_updateClient_revert_invalid_proof() (gas: 203475)
[PASS] test_updateClient_success() (gas: 302578)
[PASS] test_verifyMembershipIsFrozen() (gas: 205504)
[PASS] test_verifyNonMembershipIsFrozen() (gas: 204934)
Suite result: ok. 9 passed; 0 failed; 0 skipped; finished in 9.38s (6.73ms CPU time)

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