refactor: depreacte USDC/FUSD #723
Annotations
10 errors and 2 warnings
TestFIND/⭐ Script getFindStatus run result#L1
=== RUN TestFIND/Should_be_able_to_register_related_account_and_remove_it
⭐ Script getFindStatus run result:null
find_test.go:164:
Error Trace: /home/runner/go/pkg/mod/github.com/bjartek/[email protected]/script.go:217
/home/runner/work/find/find/find_test.go:164
Error: Received unexpected error:
Invalid token reference 'accounts'
Test: TestFIND/Should_be_able_to_register_related_account_and_remove_it
find_test.go:164: mismatch (-want +got):
--- want
+++ got
@@ -1,5 +1 @@
-map[string]interface{}{
- "address": "0x192440c99cb17282", "name": "dapper", "network": "Flow",
- "node": "FindRelatedAccounts",
- "trusted": false,
-}
\ No newline at end of file
+nil
\ No newline at end of file
--- FAIL: TestFIND/Should_be_able_to_register_related_account_and_remove_it (0.16s)
|
TestFIND/find_test.go#L203
=== RUN TestFIND/Should_be_able_to_set_private_mode
find_test.go:203:
Error Trace: /home/runner/go/pkg/mod/github.com/bjartek/[email protected]/script.go:217
/home/runner/work/find/find/find_test.go:203
Error: Received unexpected error:
Invalid token reference 'privateMode'
Test: TestFIND/Should_be_able_to_set_private_mode
find_test.go:203: mismatch (-want +got):
--- want
+++ got
@@ -1 +1 @@
-true
\ No newline at end of file
+nil
\ No newline at end of file
--- FAIL: TestFIND/Should_be_able_to_set_private_mode (0.13s)
|
TestFIND/find_test.go#L224
=== RUN TestFIND/Should_be_able_to_getFindStatus_of_new_user
find_test.go:224: mismatch (-want +got):
--- want
+++ got
@@ -1,6 +1,7 @@
map[string]interface{}{
"activatedAccount": true, "hasLostAndFoundItem": false,
- "isDapper": false,
- "privateMode": false,
- "readyForWearables": false,
+ "isDapper": false,
+ "isReadyForNameOffer": false,
+ "privateMode": false,
+ "readyForWearables": false,
}
\ No newline at end of file
--- FAIL: TestFIND/Should_be_able_to_getFindStatus_of_new_user (0.10s)
|
TestFIND/find_test.go#L276
=== RUN TestFIND/Should_be_able_to_create_and_edit_the_social_link
find_test.go:276:
Error Trace: /home/runner/go/pkg/mod/github.com/bjartek/[email protected]/script.go:217
/home/runner/work/find/find/find_test.go:276
Error: Received unexpected error:
Invalid token reference 'profile'
Test: TestFIND/Should_be_able_to_create_and_edit_the_social_link
find_test.go:276: mismatch (-want +got):
--- want
+++ got
@@ -1 +1 @@
-map[string]interface{}{"title": "find", "type": "Twitter", "url": "https://twitter.com/findonflow"}
\ No newline at end of file
+nil
\ No newline at end of file
--- FAIL: TestFIND/Should_be_able_to_create_and_edit_the_social_link (0.14s)
|
TestFIND/find_test.go#L319
=== RUN TestFIND/Should_be_able_to_buy_addons_that_are_on_Network
find_test.go:319:
Error Trace: /home/runner/go/pkg/mod/github.com/bjartek/[email protected]/result.go:137
/home/runner/work/find/find/find_test.go:319
Error: "execution error code 1101: [Error Code: 1101] error caused by: 1 error occurred:\n\t* transaction execute failed: [Error Code: 1101] cadence runtime error: Execution failed:\nerror: pre-condition failed: You have not sent in enough max flow, the cost is 100.00000000\n --> c4f1f2cd2e6f38be45fc2bece9dd66eb9ec7d814d01e0a60a5af1f0d02869152:22:8\n |\n22 | self.cost < maxAmount : \"You have not sent in enough max flow, the cost is \".concat(self.cost.toString())\n | ^^^^^^^^^^^^^^^^^^^^^\n\n\n" does not contain "Cost of addon in flow"
Test: TestFIND/Should_be_able_to_buy_addons_that_are_on_Network
--- FAIL: TestFIND/Should_be_able_to_buy_addons_that_are_on_Network (0.09s)
|
TestFIND/find_test.go#L364
=== RUN TestFIND/Should_be_able_to_fund_users_with_profile_but_without_find_name
find_test.go:364:
Error Trace: /home/runner/go/pkg/mod/github.com/bjartek/[email protected]/result.go:145
/home/runner/work/find/find/find_test.go:364
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:
--> f4e768fae848c4579132b08fecfef47b307b51aeef11978fb4b0a75622b7c83e:30:2
|
30 | FIND.depositWithTagAndMessage(to: name, message: message, tag: tag, vault: <- vault, from: self.token)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: panic: Not a valid .find name or address
--> 179b6b1cb6755e31.FIND:258:12
|
258 | panic("Not a valid .find name or address")
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Test: TestFIND/Should_be_able_to_fund_users_with_profile_but_without_find_name
find_test.go:365:
Error Trace: /home/runner/go/pkg/mod/github.com/bjartek/[email protected]/result.go:233
/home/runner/work/find/find/find_test.go:365
Error: event with suffix FungibleTokenSent not present in []
Test: TestFIND/Should_be_able_to_fund_users_with_profile_but_without_find_name
--- FAIL: TestFIND/Should_be_able_to_fund_users_with_profile_but_without_find_name (0.32s)
|
TestFIND/find_test.go#L393
=== RUN TestFIND/Should_be_able_to_fund_users_without_profile_wallet,_but_with_vault_proper_set_up
find_test.go:393:
Error Trace: /home/runner/go/pkg/mod/github.com/bjartek/[email protected]/result.go:145
/home/runner/work/find/find/find_test.go:393
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:
--> 40a874a5d1eb5ec3d8df89e43bab3ff8620e89375ec8809db82381a9354d35a3:30:2
|
30 | FIND.depositWithTagAndMessage(to: name, message: message, tag: tag, vault: <- vault, from: self.token)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: panic: Not a valid .find name or address
--> 179b6b1cb6755e31.FIND:258:12
|
258 | panic("Not a valid .find name or address")
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Test: TestFIND/Should_be_able_to_fund_users_without_profile_wallet,_but_with_vault_proper_set_up
find_test.go:394:
Error Trace: /home/runner/go/pkg/mod/github.com/bjartek/[email protected]/result.go:233
/home/runner/work/find/find/find_test.go:394
Error: event with suffix FungibleTokenSent not present in []
Test: TestFIND/Should_be_able_to_fund_users_without_profile_wallet,_but_with_vault_proper_set_up
--- FAIL: TestFIND/Should_be_able_to_fund_users_without_profile_wallet,_but_with_vault_proper_set_up (0.12s)
|
TestFIND/find_test.go#L401
=== RUN TestFIND/Should_be_able_to_resolve_find_name_without_.find
find_test.go:401: mismatch (-want +got):
--- want
+++ got
@@ -1 +1 @@
-"0xf669cb8d41ce0c74"
\ No newline at end of file
+nil
\ No newline at end of file
--- FAIL: TestFIND/Should_be_able_to_resolve_find_name_without_.find (0.03s)
|
TestFIND/⭐ Script getFindStatus run result#L1
=== RUN TestFIND/Should_be_able_to_getFindStatus_for_trusted_accounts
⭐ Script getFindStatus run result:{
"accounts": [
{
"address": "0x192440c99cb17282",
"name": "dapper",
"network": "Flow",
"node": "FindRelatedAccounts",
"trusted": false
},
{
"address": "0xfd43f9148d4b725d",
"name": "notLink",
"network": "Flow",
"node": "FindRelatedAccounts",
"trusted": false
},
{
"address": "0x192440c99cb17282",
"name": "link",
"network": "Flow",
"node": "FindRelatedAccounts",
"trusted": true
}
],
"activatedAccount": true,
"hasLostAndFoundItem": false,
"isDapper": false,
"isReadyForNameOffer": true,
"privateMode": true,
"profile": {
"address": "0xf669cb8d41ce0c74",
"allowStoringFollowers": true,
"avatar": "This is avatar",
"createdAt": "find",
"description": "This is description",
"links": {
"CryptoTwitter": {
"title": "0xBjartek",
"type": "Twitter",
"url": "https://twitter.com/0xBjartek"
},
"FindTwitter": {
"title": "find",
"type": "Twitter",
"url": "https://twitter.com/findonflow"
}
},
"name": "user1",
"tags": [
"This is tag"
],
"wallets": [
{
"accept": "A.0ae53cb6e3f42a79.FlowToken.Vault",
"balance": 20.00082375,
"name": "Flow",
"tags": [
"flow"
]
},
{
"accept": "A.f8d6e0586b0a20c7.FUSD.Vault",
"balance": 100,
"name": "FUSD",
"tags": [
"fusd",
"stablecoin"
]
},
{
"accept": "A.f8d6e0586b0a20c7.FiatToken.Vault",
"balance": 100,
"name": "USDC",
"tags": [
"usdc",
"stablecoin"
]
}
]
},
"readyForWearables": false
}
find_test.go:565: mismatch (-want +got):
--- want
+++ got
@@ -1,5 +1,12 @@
`[]interface {}{
map[string]interface {}{
+ "address": "0x192440c99cb17282",
+ "name": "dapper",
+ "network": "Flow",
+ "node": "FindRelatedAccounts",
+ "trusted": false,
+ },
+ map[string]interface {}{
"address": "0xfd43f9148d4b725d",
"name": "notLink",
"network": "Flow",
--- FAIL: TestFIND/Should_be_able_to_getFindStatus_for_trusted_accounts (0.27s)
|
|
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/
|
The following actions uses Node.js version which is deprecated 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/
|
This job failed
Loading