Skip to content

fix deposited assertions #438

fix deposited assertions

fix deposited assertions #438

Triggered via push June 24, 2024 22:38
Status Failure
Total duration 3m 24s
Artifacts

ci.yaml

on: push
Fit to window
Zoom out
Zoom in

Annotations

12 errors and 3 warnings
lint: test_utils.go#L23
var `exampleNFTType` is unused (unused)
lint: test_utils.go#L209
func `(*OverflowTestUtils).auctionBid` is unused (unused)
lint: test_utils.go#L306
func `(*OverflowTestUtils).listExampleNFTForSale` is unused (unused)
lint: test_utils.go#L944
func `(*OverflowTestUtils).getNamesForSale` is unused (unused)
lint: test_utils.go#L972
func `swallowErr` is unused (unused)
lint: test_utils.go#L975
func `(*OverflowTestUtils).registerFTInFtRegistry` is unused (unused)
lint: test_utils.go#L1002
func `(*OverflowTestUtils).getDandies` is unused (unused)
lint: test_utils.go#L1014
func `(*OverflowTestUtils).registerDandyInNFTRegistry` is unused (unused)
lint: test_utils.go#L1057
func `(*OverflowTestUtils).registerExampleNFTInNFTRegistry` is unused (unused)
lint: test_utils.go#L1075
func `(*OverflowTestUtils).registerFtInRegistry` is unused (unused)
test: test_utils.go#L662
=== RUN TestLeaseMarketDirectOfferSoft test_utils.go:662: Error Trace: /home/runner/go/pkg/mod/github.com/bjartek/overflow/[email protected]/result.go:182 /home/runner/work/find/find/test_utils.go:662 /home/runner/work/find/find/lease_market_direct_offer_soft_test.go:27 Error: Received unexpected error: execution error code 1: [Error Code: 1101] error caused by: 1 error occurred: * transaction execute failed: [Error Code: 1101] cadence runtime error: Execution failed: --> 34944aabec16409754bb2ae0d373a91b4edae1b5579217870b1faecdef888451:44:8 | 44 | self.bidsReference!.bid(name:leaseName, amount: amount, vaultType: self.ftVaultType, validUntil: validUntil, saleItemExtraField: {}, bidExtraField: {}) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ --> f3fcd2c1a78f5eee.FindLeaseMarketDirectOfferSoft:539:12 | 539 | saleItemCollection.registerBid(name: name, callback: callbackCapability, validUntil: validUntil, saleItemExtraField: saleItemExtraField) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ --> f3fcd2c1a78f5eee.FindLeaseMarketDirectOfferSoft:264:141 | 264 | let actionResult=self.getTenant().allowedAction(listingType: self.getListingType(), nftType: saleItem.getItemType(), ftType: saleItem.getFtType(), action: FindMarket.MarketAction(listing:true, name:"bid in direct offer soft"), seller: self.owner!.address, buyer: callback.address) | ^^^^^^^^^^^^^^^^^^^^ error: pre-condition failed: Bidder unlinked the bid collection capability. --> f3fcd2c1a78f5eee.FindLeaseMarketDirectOfferSoft:56:16 | 56 | self.offerCallback.check() : "Bidder unlinked the bid collection capability." | ^^^^^^^^^^^^^^^^^^^^^^^^^^ transaction=./transactions/bidLeaseMarketDirectOfferSoftDapper.cdc github.com/bjartek/overflow/v2.OverflowInteractionBuilder.Send /home/runner/go/pkg/mod/github.com/bjartek/overflow/[email protected]/interaction_builder.go:639 github.com/bjartek/overflow/v2.(*OverflowState).sendTx /home/runner/go/pkg/mod/github.com/bjartek/overflow/[email protected]/state.go:563 github.com/bjartek/overflow/v2.(*OverflowState).Tx /home/runner/go/pkg/mod/github.com/bjartek/overflow/[email protected]/state.go:559 github.com/findonflow/find.(*OverflowTestUtils).directOfferLeaseMarketSoft /home/runner/work/find/find/test_utils.go:655 github.com/findonflow/find.TestLeaseMarketDirectOfferSoft.func1 /home/runner/work/find/find/lease_market_direct_offer_soft_test.go:27 testing.tRunner /opt/hostedtoolcache/go/1.22.4/x64/src/testing/testing.go:1689 runtime.goexit /opt/hostedtoolcache/go/1.22.4/x64/src/runtime/asm_amd64.s:1695 Test: TestLeaseMarketDirectOfferSoft te
test
Process completed with exit code 1.
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: guyarb/[email protected]. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
test
The following actions uses node12 which is deprecated and will be forced to run on node16: 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/