fix flow json formating error #437
Annotations
14 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:
TestFindAirdropper/find_airdropper_test.go#L138
=== RUN TestFindAirdropper/Should_be_able_to_send_Airdrop_with_sending_funds_to_royalty_holders
find_airdropper_test.go:138:
Error Trace: /home/runner/go/pkg/mod/github.com/bjartek/overflow/[email protected]/result.go:216
/home/runner/work/find/find/find_airdropper_test.go:138
Error: transaction sendNFTs missing event FungibleToken.Deposited with fields map[string]interface {}{
"amount": 6.6666666,
"to": "0x192440c99cb17282",
}
Test: TestFindAirdropper/Should_be_able_to_send_Airdrop_with_sending_funds_to_royalty_holders
event.go:336: === Events ===
find_airdropper_test.go:138:
find_airdropper_test.go:138: to -> 0xfd43f9148d4b725d
find_airdropper_test.go:138:
Error Trace: /home/runner/go/pkg/mod/github.com/bjartek/overflow/[email protected]/result.go:216
/home/runner/work/find/find/find_airdropper_test.go:138
Error: transaction sendNFTs missing event FungibleToken.Deposited with fields map[string]interface {}{
"amount": 3.3333333,
"to": "0xf3fcd2c1a78f5eee",
}
Test: TestFindAirdropper/Should_be_able_to_send_Airdrop_with_sending_funds_to_royalty_holders
find_airdropper_test.go:138: === Events ===
find_airdropper_test.go:138:
find_airdropper_test.go:138: to -> 0xfd43f9148d4b725d
--- FAIL: TestFindAirdropper/Should_be_able_to_send_Airdrop_with_sending_funds_to_royalty_holders (0.16s)
|
test:
TestFindAirdropper/find_airdropper_test.go#L174
=== RUN TestFindAirdropper/Should_be_able_to_send_Airdrop_and_donate_funds_to_FIND!
find_airdropper_test.go:174:
Error Trace: /home/runner/go/pkg/mod/github.com/bjartek/overflow/[email protected]/result.go:216
/home/runner/work/find/find/find_airdropper_test.go:174
Error: transaction sendNFTs missing event FungibleToken.Deposited with fields map[string]interface {}{
"amount": 10.0,
"to": "0xf3fcd2c1a78f5eee",
}
Test: TestFindAirdropper/Should_be_able_to_send_Airdrop_and_donate_funds_to_FIND!
event.go:336: === Events ===
find_airdropper_test.go:174:
find_airdropper_test.go:174: to -> 0xfd43f9148d4b725d
--- FAIL: TestFindAirdropper/Should_be_able_to_send_Airdrop_and_donate_funds_to_FIND! (0.16s)
|
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:
--> a7832f867280bbc635a69eda1ffe3b1a32aa3be2179458c4cdcf37dab0f2519d: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/
|