Skip to content

refactor: depreacte USDC/FUSD #721

refactor: depreacte USDC/FUSD

refactor: depreacte USDC/FUSD #721

Triggered via pull request July 31, 2024 09:45
Status Failure
Total duration 5m 57s
Artifacts

pr.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 5 warnings
test: === CONT TestLeaseMarketDirectOfferSoftFlow#L1
=== RUN TestLeaseMarketDirectOfferSoftFlow === CONT TestLeaseMarketDirectOfferSoftFlow test_utils.go:1181: Error Trace: /home/runner/go/pkg/mod/github.com/bjartek/[email protected]/result.go:145 /home/runner/work/find/find/test_utils.go:1181 /home/runner/work/find/find/lease_market_direct_offer_soft_flow_test.go:29 Error: Received unexpected error: execution error code 1101: [Error Code: 1101] error caused by: 1 error occurred: * transaction execute failed: [Error Code: 1101] cadence runtime error: Execution failed: --> 495d97242b588b2eb07c2f709f9f08534d9d65193a25015abe6f53768be06383:51:2 | 51 | self.bidsReference!.bid(name:leaseName, amount: amount, vaultType: self.ftVaultType, validUntil: validUntil, saleItemExtraField: {}, bidExtraField: {}) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: panic: Could not borrow sale item for name=name1 --> 179b6b1cb6755e31.FindLeaseMarketDirectOfferSoft:525:44 | 525 | let saleItemCollection= from.borrow() ?? panic("Could not borrow sale item for name=".concat(name)) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Test: TestLeaseMarketDirectOfferSoftFlow test_utils.go:1182: Error Trace: /home/runner/go/pkg/mod/github.com/bjartek/[email protected]/result.go:186 /home/runner/work/find/find/test_utils.go:1182 /home/runner/work/find/find/lease_market_direct_offer_soft_flow_test.go:29 Error: event not found FindLeaseMarketDirectOfferSoft.DirectOffer, overflow.OverflowEvent{ Id: "", Fields: map[string]interface {}{ "amount": 10.0, "buyer": "0x192440c99cb17282", }, TransactionId: "", Name: "", Addresses: map[string][]string(nil), } Test: TestLeaseMarketDirectOfferSoftFlow event.go:238: === Events === test_utils.go:968: Error Trace: /home/runner/work/find/find/test_utils.go:968 /home/runner/work/find/find/lease_market_direct_offer_soft_flow_test.go:30 Error: Not equal: expected: 1 actual : 0 Test: TestLeaseMarketDirectOfferSoftFlow --- FAIL: TestLeaseMarketDirectOfferSoftFlow (9.19s)
test: TestLeaseMarketDirectOfferSoftFlow/--- FAIL#L1
=== RUN TestLeaseMarketDirectOfferSoftFlow/Should_be_able_to_add_direct_offer_and_then_sell --- FAIL: TestLeaseMarketDirectOfferSoftFlow/Should_be_able_to_add_direct_offer_and_then_sell (0.18s) panic: runtime error: index out of range [0] with length 0 [recovered] panic: runtime error: index out of range [0] with length 0 goroutine 28320 [running]: testing.tRunner.func1.2({0x1a3f2a0, 0xc0007d5b30}) /opt/hostedtoolcache/go/1.18.10/x64/src/testing/testing.go:1389 +0x24e testing.tRunner.func1() /opt/hostedtoolcache/go/1.18.10/x64/src/testing/testing.go:1392 +0x39f panic({0x1a3f2a0, 0xc0007d5b30}) /opt/hostedtoolcache/go/1.18.10/x64/src/runtime/panic.go:838 +0x207 github.com/findonflow/find.(*OverflowTestUtils).saleLeaseListed(0xc000e96850, {0x1b03777?, 0x5?}, {0x1b23eaf, 0xe}, 0x4024000000000000) /home/runner/work/find/find/test_utils.go:969 +0x168 github.com/findonflow/find.TestLeaseMarketDirectOfferSoftFlow.func1(0xc0016cf5c0?) /home/runner/work/find/find/lease_market_direct_offer_soft_flow_test.go:30 +0x6a testing.tRunner(0xc0009c9520, 0xc0009c19c8) /opt/hostedtoolcache/go/1.18.10/x64/src/testing/testing.go:1439 +0x102 created by testing.(*T).Run /opt/hostedtoolcache/go/1.18.10/x64/src/testing/testing.go:1486 +0x35f
test
Process completed with exit code 1.
tidy
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
tidy
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v3, actions/cache@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v3, actions/checkout@v3, golangci/golangci-lint-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v2, guyarb/[email protected]. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
test
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v3, actions/cache@v2, guyarb/[email protected]. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/