Feat/register with flow 1.0 #728
Annotations
13 errors and 4 warnings
lint
Cannot open: File exists
|
lint
Cannot open: File exists
|
lint
Cannot open: File exists
|
lint
Cannot open: File exists
|
lint
Cannot open: File exists
|
lint
Cannot open: File exists
|
lint
Cannot open: File exists
|
lint
Cannot open: File exists
|
lint
Cannot open: File exists
|
lint
Cannot open: File exists
|
test:
test_utils.go#L928
=== RUN TestFTRegistry
test_utils.go:928:
Error Trace: /home/runner/go/pkg/mod/github.com/bjartek/overflow/[email protected]/result.go:182
/home/runner/work/find/find/test_utils.go:928
/home/runner/work/find/find/ftregistry_test.go:124
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:
--> 937cef999dc5394c2d71ce8885000801acc65d9f21e80215fc4a39b5167f80bd:14:8
|
14 | self.adminRef.removeFTInfoByAlias(alias)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
--> f3fcd2c1a78f5eee.Admin:257:12
|
257 | FTRegistry.removeFTInfoByAlias(alias)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
error: panic: Cannot find type identifier from this alias. Alias : FUSD
--> f3fcd2c1a78f5eee.FTRegistry:110:62
|
110 | let typeIdentifier = self.getTypeIdentifier(alias) ?? panic("Cannot find type identifier from this alias. Alias : ".concat(alias))
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
transaction=./transactions/adminRemoveFTInfoByAlias.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).removeFTInFtRegistry
/home/runner/work/find/find/test_utils.go:924
github.com/findonflow/find.TestFTRegistry.func7
/home/runner/work/find/find/ftregistry_test.go:124
testing.tRunner
/opt/hostedtoolcache/go/1.22.5/x64/src/testing/testing.go:1689
runtime.goexit
/opt/hostedtoolcache/go/1.22.5/x64/src/runtime/asm_amd64.s:1695
Test: TestFTRegistry
test_utils.go:929:
Error Trace: /home/runner/go/pkg/mod/github.com/bjartek/overflow/[email protected]/result.go:223
/home/runner/work/find/find/test_utils.go:929
/home/runner/work/find/find/ftregistry_test.go:124
Error: event not found A.f3fcd2c1a78f5eee.FTRegistry.FTInfoRemoved, overflow.OverflowEvent{
Fields: map[string]interface {}{
"alias": "FUSD",
"typeIdentifier": "A.f8d6e0586b0a20c7.FUSD.Vault",
},
Addresses: map[string][]string(nil),
Id: "",
TransactionId: "",
Name: "",
RawEvent: cadence.Event{
EventType: nil,
},
EventIndex: 0,
}
Test: TestFTRegistry
event.go:336: === Events ===
--- FAIL: TestFTRegistry (0.68s)
|
test:
TestFTRegistry/ftregistry_test.go#L74
=== RUN TestFTRegistry/Should_be_able_to_send_usdc_to_another_name
ftregistry_test.go:74:
Error Trace: /home/runner/go/pkg/mod/github.com/bjartek/overflow/[email protected]/result.go:182
/home/runner/work/find/find/ftregistry_test.go:74
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:
error: panic: This FT is not supported by the Find Market yet. Type : USDC
--> 9f8a2a02c5305f213c8ee540ace6136ea788f9d5c59200fc97ae35263b1d99ef:14:62
|
14 | let ft = FTRegistry.getFTInfo(ftAliasOrIdentifier) ?? panic("This FT is not supported by the Find Market yet. Type : ".concat(ftAliasOrIdentifier))
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
transaction=./transactions/sendFT.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.TestFTRegistry.func5
/home/runner/work/find/find/ftregistry_test.go:66
testing.tRunner
/opt/hostedtoolcache/go/1.22.5/x64/src/testing/testing.go:1689
runtime.goexit
/opt/hostedtoolcache/go/1.22.5/x64/src/runtime/asm_amd64.s:1695
Test: TestFTRegistry/Should_be_able_to_send_usdc_to_another_name
ftregistry_test.go:75:
Error Trace: /home/runner/go/pkg/mod/github.com/bjartek/overflow/[email protected]/result.go:223
/home/runner/work/find/find/ftregistry_test.go:75
Error: event not found A.f8d6e0586b0a20c7.FiatToken.TokensDeposited, overflow.OverflowEvent{
Fields: map[string]interface {}{
"amount": 5.0,
"to": "0x192440c99cb17282",
},
Addresses: map[string][]string(nil),
Id: "",
TransactionId: "",
Name: "",
RawEvent: cadence.Event{
EventType: nil,
},
EventIndex: 0,
}
Test: TestFTRegistry/Should_be_able_to_send_usdc_to_another_name
event.go:336: === Events ===
ftregistry_test.go:79:
Error Trace: /home/runner/go/pkg/mod/github.com/bjartek/overflow/[email protected]/result.go:223
/home/runner/work/find/find/ftregistry_test.go:79
Error: event not found A.f8d6e0586b0a20c7.FiatToken.TokensWithdrawn, overflow.OverflowEvent{
Fields: map[string]interface {}{
"amount": 5.0,
"from": "0xfd43f9148d4b725d",
},
Addresses: map[string][]string(nil),
Id: "",
TransactionId: "",
Name: "",
RawEvent: cadence.Event{
Event
|
test
Process completed with exit code 1.
|
lint
The following actions uses Node.js version which is deprecated and will be forced to run on node20: 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/
|
lint
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
|
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/
|
test
The following actions uses Node.js version which is deprecated and will be forced to run on node20: 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/
|