Closed austinkline closed 8 months ago
When attempting to get the service account to send flow tokens to a new account using the cadence testing framework, I am getting the following error:
FAIL: Execution failed: error: internal error: duplicated signature for key (address: 0000000000000001, index: 0)
I expect that the service account should behave the same as other Test.account objects
Test.account
Here is the sample code I'm using that causes this error:
pub fun mintFlowTokens(to: Test.Account, amount: UFix64) { let service = Test.serviceAccount() txExecutor("flow-token/send.cdc", [service], [to.address, amount], nil, nil) }
Transaction:
import "FungibleToken" transaction(to: Address, amount: UFix64) { prepare(acct: AuthAccount) { let receiver = getAccount(to).getCapability<&{FungibleToken.Receiver}>(/public/flowTokenReceiver) .borrow() ?? panic("receiver not found") let provider = acct.borrow<&{FungibleToken.Provider}>(from: /storage/flowTokenVault)! let tokens <- provider.withdraw(amount: amount) receiver.deposit(from: <-tokens) } }
- Cadence version: v1.9.2 - Network: Testing Framework
Current Behavior
When attempting to get the service account to send flow tokens to a new account using the cadence testing framework, I am getting the following error:
Expected Behavior
I expect that the service account should behave the same as other
Test.account
objectsSteps To Reproduce
Here is the sample code I'm using that causes this error:
Transaction:
Environment
Full stack trace
``` FAIL: Execution failed: error: internal error: duplicated signature for key (address: 0000000000000001, index: 0) goroutine 1 [running]: runtime/debug.Stack() runtime/debug/stack.go:24 +0x5e github.com/onflow/cadence/runtime/errors.NewUnexpectedErrorFromCause(...) github.com/onflow/cadence@v0.42.6/runtime/errors/errors.go:152 github.com/onflow/cadence/runtime/interpreter.asCadenceError({0x101c43520?, 0xc003172ea0}) github.com/onflow/cadence@v0.42.6/runtime/interpreter/interpreter.go:576 +0x205 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).RecoverErrors(0xc00139e960, 0x1021bb3a0) github.com/onflow/cadence@v0.42.6/runtime/interpreter/interpreter.go:528 +0x4e panic({0x101c43520?, 0xc003172ea0?}) runtime/panic.go:914 +0x21f github.com/onflow/cadence/runtime/stdlib.(*testEmulatorBackendType).newAddTransactionFunction.func1({{{0x102421d00, 0xc0012f0590}, {0x1024103a8, 0xc0004533b0}}, 0x0, 0x0, 0xc0007cc0a0, 0xc00139e960, {0xc00250c3d0, 0x1, ...}, ...}) github.com/onflow/cadence@v0.42.6/runtime/stdlib/test_emulatorbackend.go:474 +0x32b github.com/onflow/cadence/runtime/interpreter.(*HostFunctionValue).invoke(0x1?, {{{0x102421d00, 0xc0012f0590}, {0x1024103a8, 0xc0004533b0}}, 0x0, 0x0, 0xc0007cc0a0, 0xc00139e960, {0xc00250c3d0, ...}, ...}) github.com/onflow/cadence@v0.42.6/runtime/interpreter/value_function.go:256 +0x35 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).invokeFunctionValue(0xc00139e960?, {0x102438c50, 0xc000e73cf8}, {0xc00250c3c0?, 0x1?, 0xc001563b00?}, {0xc00250c3b0?, 0x1?, 0x100623874?}, {0xc0007cc0b0, ...}, ...) github.com/onflow/cadence@v0.42.6/runtime/interpreter/interpreter_invocation.go:124 +0x1bd github.com/onflow/cadence/runtime/interpreter.(*Interpreter).visitInvocationExpressionWithImplicitArgument(0xc00139e960, 0xc0004533b0, 0x0) github.com/onflow/cadence@v0.42.6/runtime/interpreter/interpreter_expression.go:1002 +0x8f2 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).VisitInvocationExpression(0x100019544?, 0x3f3?) github.com/onflow/cadence@v0.42.6/runtime/interpreter/interpreter_expression.go:907 +0x15 github.com/onflow/cadence/runtime/ast.AcceptExpression[...]({0x10242c238?, 0xc0004533b0}, {0x10243f9b0, 0xc00139e960}) github.com/onflow/cadence@v0.42.6/runtime/ast/visitor.go:230 +0x28a github.com/onflow/cadence/runtime/interpreter.(*Interpreter).evalExpression(...) github.com/onflow/cadence@v0.42.6/runtime/interpreter/interpreter_expression.go:306 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).VisitExpressionStatement(0xc003c8bb08?, 0x1002105fd?) github.com/onflow/cadence@v0.42.6/runtime/interpreter/interpreter_statement.go:585 +0x2e github.com/onflow/cadence/runtime/ast.AcceptStatement[...]({0x102427ca0?, 0xc0012f0e50}, {0x10243a410, 0xc00139e960}) github.com/onflow/cadence@v0.42.6/runtime/ast/visitor.go:140 +0x4c3 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).evalStatement(0xc00139e960, {0x102427ca0?, 0xc0012f0e50}) github.com/onflow/cadence@v0.42.6/runtime/interpreter/interpreter_statement.go:58 +0x15b github.com/onflow/cadence/runtime/interpreter.(*Interpreter).visitStatements(0x1006bd650?, {0xc0012f0e60?, 0x1, 0xc00139e960?}) github.com/onflow/cadence@v0.42.6/runtime/interpreter/interpreter_statement.go:64 +0x5e github.com/onflow/cadence/runtime/interpreter.(*Interpreter).invokeInterpretedFunctionActivated.func2() github.com/onflow/cadence@v0.42.6/runtime/interpreter/interpreter_invocation.go:173 +0x27 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).visitFunctionBody(0xc00139e960, {0x0, 0x0, 0x0}, {0x0, 0x0, 0x1006bd7f7?}, 0xc003c8bdc0, {0x0, 0x0, ...}, ...) github.com/onflow/cadence@v0.42.6/runtime/interpreter/interpreter.go:785 +0x187 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).invokeInterpretedFunctionActivated(0xc00139e960?, 0xc000e1b600?, {0xc00250c1a0?, 0x1?, 0xc000b84280?}) github.com/onflow/cadence@v0.42.6/runtime/interpreter/interpreter_invocation.go:169 +0x193 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).invokeInterpretedFunction(0xc00139e960, 0xc000e1b600, {{{0x102421d00, 0xc0012f0590}, {0x1024103a8, 0xc000453570}}, 0xc00250c170, 0x0, 0xc0007cc260, 0xc00139e960, ...}) github.com/onflow/cadence@v0.42.6/runtime/interpreter/interpreter_invocation.go:148 +0x1d8 github.com/onflow/cadence/runtime/interpreter.(*InterpretedFunctionValue).invoke(0x100f97b87?, {{{0x102421d00, 0xc0012f0590}, {0x1024103a8, 0xc000453570}}, 0xc00250c170, 0x0, 0xc0007cc260, 0xc00139e960, {0xc00250c1a0, ...}, ...}) github.com/onflow/cadence@v0.42.6/runtime/interpreter/value_function.go:126 +0x3f github.com/onflow/cadence/runtime/interpreter.BoundFunctionValue.invoke({{0x102439820?, 0xc000e1b600?}, 0x0?, 0xc00250c170?}, {{{0x102421d00, 0xc0012f0590}, {0x1024103a8, 0xc000453570}}, 0xc00250c170, 0x0, ...}) github.com/onflow/cadence@v0.42.6/runtime/interpreter/value_function.go:398 +0xd8 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).invokeFunctionValue(0xc00139e960?, {0x102439778, 0xc002a37cc0}, {0xc00250c190?, 0x1?, 0xc001562d40?}, {0xc00250c180?, 0x1?, 0x100623874?}, {0xc0007cc270, ...}, ...) github.com/onflow/cadence@v0.42.6/runtime/interpreter/interpreter_invocation.go:124 +0x1bd github.com/onflow/cadence/runtime/interpreter.(*Interpreter).visitInvocationExpressionWithImplicitArgument(0xc00139e960, 0xc000453570, 0x0) github.com/onflow/cadence@v0.42.6/runtime/interpreter/interpreter_expression.go:1002 +0x8f2 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).VisitInvocationExpression(0x100019544?, 0x3f3?) github.com/onflow/cadence@v0.42.6/runtime/interpreter/interpreter_expression.go:907 +0x15 github.com/onflow/cadence/runtime/ast.AcceptExpression[...]({0x10242c238?, 0xc000453570}, {0x10243f9b0, 0xc00139e960}) github.com/onflow/cadence@v0.42.6/runtime/ast/visitor.go:230 +0x28a github.com/onflow/cadence/runtime/interpreter.(*Interpreter).evalExpression(...) github.com/onflow/cadence@v0.42.6/runtime/interpreter/interpreter_expression.go:306 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).VisitExpressionStatement(0xc003c8c6b8?, 0x1002105fd?) github.com/onflow/cadence@v0.42.6/runtime/interpreter/interpreter_statement.go:585 +0x2e github.com/onflow/cadence/runtime/ast.AcceptStatement[...]({0x102427ca0?, 0xc0012f0ea0}, {0x10243a410, 0xc00139e960}) github.com/onflow/cadence@v0.42.6/runtime/ast/visitor.go:140 +0x4c3 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).evalStatement(0xc00139e960, {0x102427ca0?, 0xc0012f0ea0}) github.com/onflow/cadence@v0.42.6/runtime/interpreter/interpreter_statement.go:58 +0x15b github.com/onflow/cadence/runtime/interpreter.(*Interpreter).visitStatements(0x1006bd650?, {0xc000d35a40?, 0x4, 0xc00139e960?}) github.com/onflow/cadence@v0.42.6/runtime/interpreter/interpreter_statement.go:64 +0x5e github.com/onflow/cadence/runtime/interpreter.(*Interpreter).invokeInterpretedFunctionActivated.func2() github.com/onflow/cadence@v0.42.6/runtime/interpreter/interpreter_invocation.go:173 +0x27 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).visitFunctionBody(0xc00139e960, {0x0, 0x0, 0x0}, {0x0, 0x0, 0x1006bd7f7?}, 0xc003c8c970, {0x0, 0x0, ...}, ...) github.com/onflow/cadence@v0.42.6/runtime/interpreter/interpreter.go:785 +0x187 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).invokeInterpretedFunctionActivated(0xc00139e960?, 0xc000e1b980?, {0xc000c4f370?, 0x1?, 0xc000b84280?}) github.com/onflow/cadence@v0.42.6/runtime/interpreter/interpreter_invocation.go:169 +0x193 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).invokeInterpretedFunction(0xc00139e960, 0xc000e1b980, {{{0x102420d80, 0xc0012f05b0}, {0x1024103a8, 0xc000aa3e30}}, 0xc000c4f2c0, 0x0, 0xc000f1f160, 0xc001319080, ...}) github.com/onflow/cadence@v0.42.6/runtime/interpreter/interpreter_invocation.go:148 +0x1d8 github.com/onflow/cadence/runtime/interpreter.(*InterpretedFunctionValue).invoke(0x100f97b87?, {{{0x102420d80, 0xc0012f05b0}, {0x1024103a8, 0xc000aa3e30}}, 0xc000c4f2c0, 0x0, 0xc000f1f160, 0xc001319080, {0xc000c4f370, ...}, ...}) github.com/onflow/cadence@v0.42.6/runtime/interpreter/value_function.go:126 +0x3f github.com/onflow/cadence/runtime/interpreter.BoundFunctionValue.invoke({{0x102439820?, 0xc000e1b980?}, 0x0?, 0xc000c4f2c0?}, {{{0x102420d80, 0xc0012f05b0}, {0x1024103a8, 0xc000aa3e30}}, 0xc000c4f2c0, 0x0, ...}) github.com/onflow/cadence@v0.42.6/runtime/interpreter/value_function.go:398 +0xd8 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).invokeFunctionValue(0xc001319080?, {0x102439778, 0xc002a37b00}, {0xc000c4f340?, 0x1?, 0xc003d1b7d0?}, {0xc000c4f310?, 0x1?, 0x0?}, {0xc000f1f170, ...}, ...) github.com/onflow/cadence@v0.42.6/runtime/interpreter/interpreter_invocation.go:124 +0x1bd github.com/onflow/cadence/runtime/interpreter.(*Interpreter).visitInvocationExpressionWithImplicitArgument(0xc001319080, 0xc000aa3e30, 0x0) github.com/onflow/cadence@v0.42.6/runtime/interpreter/interpreter_expression.go:1002 +0x8f2 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).VisitInvocationExpression(0x20?, 0x101c37980?) github.com/onflow/cadence@v0.42.6/runtime/interpreter/interpreter_expression.go:907 +0x15 github.com/onflow/cadence/runtime/ast.AcceptExpression[...]({0x10242c238?, 0xc000aa3e30}, {0x10243f9b0, 0xc001319080}) github.com/onflow/cadence@v0.42.6/runtime/ast/visitor.go:230 +0x28a github.com/onflow/cadence/runtime/interpreter.(*Interpreter).evalExpression(...) github.com/onflow/cadence@v0.42.6/runtime/interpreter/interpreter_expression.go:306 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).assignmentGetterSetter.func1(0x80?) github.com/onflow/cadence@v0.42.6/runtime/interpreter/interpreter_expression.go:53 +0x2d github.com/onflow/cadence/runtime/interpreter.(*Interpreter).visitVariableDeclaration(0xc001319080, 0xc00059b180, 0x0) github.com/onflow/cadence@v0.42.6/runtime/interpreter/interpreter_statement.go:459 +0x173 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).VisitVariableDeclaration(0xc003c8d458?, 0xc00059b180) github.com/onflow/cadence@v0.42.6/runtime/interpreter/interpreter_statement.go:421 +0x1f github.com/onflow/cadence/runtime/ast.AcceptStatement[...]({0x102428290?, 0xc00059b180}, {0x10243a410, 0xc001319080}) github.com/onflow/cadence@v0.42.6/runtime/ast/visitor.go:143 +0x40a github.com/onflow/cadence/runtime/interpreter.(*Interpreter).evalStatement(0xc001319080, {0x102428290?, 0xc00059b180}) github.com/onflow/cadence@v0.42.6/runtime/interpreter/interpreter_statement.go:58 +0x15b github.com/onflow/cadence/runtime/interpreter.(*Interpreter).visitStatements(0x1006bd650?, {0xc000bae900?, 0x7, 0xc001319080?}) github.com/onflow/cadence@v0.42.6/runtime/interpreter/interpreter_statement.go:64 +0x5e github.com/onflow/cadence/runtime/interpreter.(*Interpreter).invokeInterpretedFunctionActivated.func2() github.com/onflow/cadence@v0.42.6/runtime/interpreter/interpreter_invocation.go:173 +0x27 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).visitFunctionBody(0xc001319080, {0x0, 0x0, 0x0}, {0x0, 0x0, 0x1035ec518?}, 0xc003c8d710, {0x0, 0x0, ...}, ...) github.com/onflow/cadence@v0.42.6/runtime/interpreter/interpreter.go:785 +0x187 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).invokeInterpretedFunctionActivated(0xc001319080?, 0xc000b61780?, {0xc0029f1860?, 0x5?, 0xc003c8d790?}) github.com/onflow/cadence@v0.42.6/runtime/interpreter/interpreter_invocation.go:169 +0x193 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).invokeInterpretedFunction(0xc001319080, 0xc000b61780, {{{0x102420d80, 0xc0012f05b0}, {0x1024103a8, 0xc000ad4380}}, 0x0, 0x0, 0xc0006da440, 0xc001319080, ...}) github.com/onflow/cadence@v0.42.6/runtime/interpreter/interpreter_invocation.go:148 +0x1d8 github.com/onflow/cadence/runtime/interpreter.(*InterpretedFunctionValue).invoke(0x5?, {{{0x102420d80, 0xc0012f05b0}, {0x1024103a8, 0xc000ad4380}}, 0x0, 0x0, 0xc0006da440, 0xc001319080, {0xc0029f1860, ...}, ...}) github.com/onflow/cadence@v0.42.6/runtime/interpreter/value_function.go:126 +0x3f github.com/onflow/cadence/runtime/interpreter.(*Interpreter).invokeFunctionValue(0xc001319080?, {0x102439820, 0xc000b61780}, {0xc0029adef0?, 0x5?, 0x102438ba8?}, {0xc0029adea0?, 0x5?, 0xc003c8dba0?}, {0xc000ca6a00, ...}, ...) github.com/onflow/cadence@v0.42.6/runtime/interpreter/interpreter_invocation.go:124 +0x1bd github.com/onflow/cadence/runtime/interpreter.(*Interpreter).visitInvocationExpressionWithImplicitArgument(0xc001319080, 0xc000ad4380, 0x0) github.com/onflow/cadence@v0.42.6/runtime/interpreter/interpreter_expression.go:1002 +0x8f2 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).VisitInvocationExpression(0x0?, 0xc000be95e0?) github.com/onflow/cadence@v0.42.6/runtime/interpreter/interpreter_expression.go:907 +0x15 github.com/onflow/cadence/runtime/ast.AcceptExpression[...]({0x10242c238?, 0xc000ad4380}, {0x10243f9b0, 0xc001319080}) github.com/onflow/cadence@v0.42.6/runtime/ast/visitor.go:230 +0x28a github.com/onflow/cadence/runtime/interpreter.(*Interpreter).evalExpression(...) github.com/onflow/cadence@v0.42.6/runtime/interpreter/interpreter_expression.go:306 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).VisitExpressionStatement(0xc003c8dea8?, 0x1002105fd?) github.com/onflow/cadence@v0.42.6/runtime/interpreter/interpreter_statement.go:585 +0x2e github.com/onflow/cadence/runtime/ast.AcceptStatement[...]({0x102427ca0?, 0xc0009d23b0}, {0x10243a410, 0xc001319080}) github.com/onflow/cadence@v0.42.6/runtime/ast/visitor.go:140 +0x4c3 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).evalStatement(0xc001319080, {0x102427ca0?, 0xc0009d23b0}) github.com/onflow/cadence@v0.42.6/runtime/interpreter/interpreter_statement.go:58 +0x15b github.com/onflow/cadence/runtime/interpreter.(*Interpreter).visitStatements(0x1006bd650?, {0xc0002e8420?, 0x2, 0xc001319080?}) github.com/onflow/cadence@v0.42.6/runtime/interpreter/interpreter_statement.go:64 +0x5e github.com/onflow/cadence/runtime/interpreter.(*Interpreter).invokeInterpretedFunctionActivated.func2() github.com/onflow/cadence@v0.42.6/runtime/interpreter/interpreter_invocation.go:173 +0x27 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).visitFunctionBody(0xc001319080, {0x0, 0x0, 0x0}, {0x0, 0x0, 0x10030ba85?}, 0xc003c8e160, {0x0, 0x0, ...}, ...) github.com/onflow/cadence@v0.42.6/runtime/interpreter/interpreter.go:785 +0x187 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).invokeInterpretedFunctionActivated(0xc001319080?, 0xc000bc2480?, {0xc001c05ee0?, 0x2?, 0xc003c8e1e0?}) github.com/onflow/cadence@v0.42.6/runtime/interpreter/interpreter_invocation.go:169 +0x193 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).invokeInterpretedFunction(0xc001319080, 0xc000bc2480, {{{0x102421580, 0xc000d00180}, {0x1024103a8, 0xc000452700}}, 0x0, 0x0, 0xc001281a50, 0xc00139e900, ...}) github.com/onflow/cadence@v0.42.6/runtime/interpreter/interpreter_invocation.go:148 +0x1d8 github.com/onflow/cadence/runtime/interpreter.(*InterpretedFunctionValue).invoke(0x2?, {{{0x102421580, 0xc000d00180}, {0x1024103a8, 0xc000452700}}, 0x0, 0x0, 0xc001281a50, 0xc00139e900, {0xc001c05ee0, ...}, ...}) github.com/onflow/cadence@v0.42.6/runtime/interpreter/value_function.go:126 +0x3f github.com/onflow/cadence/runtime/interpreter.(*Interpreter).invokeFunctionValue(0xc00139e900?, {0x102439820, 0xc000bc2480}, {0xc001c05e80?, 0x2?, 0x102438ba8?}, {0xc001c05e60?, 0x2?, 0xc003c8e5f0?}, {0xc0000faf60, ...}, ...) github.com/onflow/cadence@v0.42.6/runtime/interpreter/interpreter_invocation.go:124 +0x1bd github.com/onflow/cadence/runtime/interpreter.(*Interpreter).visitInvocationExpressionWithImplicitArgument(0xc00139e900, 0xc000452700, 0x0) github.com/onflow/cadence@v0.42.6/runtime/interpreter/interpreter_expression.go:1002 +0x8f2 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).VisitInvocationExpression(0x0?, 0xc000cf1800?) github.com/onflow/cadence@v0.42.6/runtime/interpreter/interpreter_expression.go:907 +0x15 github.com/onflow/cadence/runtime/ast.AcceptExpression[...]({0x10242c238?, 0xc000452700}, {0x10243f9b0, 0xc00139e900}) github.com/onflow/cadence@v0.42.6/runtime/ast/visitor.go:230 +0x28a github.com/onflow/cadence/runtime/interpreter.(*Interpreter).evalExpression(...) github.com/onflow/cadence@v0.42.6/runtime/interpreter/interpreter_expression.go:306 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).VisitExpressionStatement(0xc003c8e8f8?, 0x1002105fd?) github.com/onflow/cadence@v0.42.6/runtime/interpreter/interpreter_statement.go:585 +0x2e github.com/onflow/cadence/runtime/ast.AcceptStatement[...]({0x102427ca0?, 0xc0012f0b90}, {0x10243a410, 0xc00139e900}) github.com/onflow/cadence@v0.42.6/runtime/ast/visitor.go:140 +0x4c3 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).evalStatement(0xc00139e900, {0x102427ca0?, 0xc0012f0b90}) github.com/onflow/cadence@v0.42.6/runtime/interpreter/interpreter_statement.go:58 +0x15b github.com/onflow/cadence/runtime/interpreter.(*Interpreter).visitStatements(0x1006bd650?, {0xc000ac3400?, 0x7, 0xc00139e900?}) github.com/onflow/cadence@v0.42.6/runtime/interpreter/interpreter_statement.go:64 +0x5e github.com/onflow/cadence/runtime/interpreter.(*Interpreter).invokeInterpretedFunctionActivated.func2() github.com/onflow/cadence@v0.42.6/runtime/interpreter/interpreter_invocation.go:173 +0x27 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).visitFunctionBody(0xc00139e900, {0x0, 0x0, 0x0}, {0x0, 0x0, 0x103738420?}, 0xc00301cbb0, {0x0, 0x0, ...}, ...) github.com/onflow/cadence@v0.42.6/runtime/interpreter/interpreter.go:785 +0x187 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).invokeInterpretedFunctionActivated(0xc00139e900?, 0xc001240580?, {0x0?, 0x0?, 0xc00301cc30?}) github.com/onflow/cadence@v0.42.6/runtime/interpreter/interpreter_invocation.go:169 +0x193 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).invokeInterpretedFunction(0xc00139e900, 0xc001240580, {{{0x0, 0x0}, {0x0, 0x0}}, 0x0, 0x0, 0x0, 0xc00139e900, ...}) github.com/onflow/cadence@v0.42.6/runtime/interpreter/interpreter_invocation.go:148 +0x1d8 github.com/onflow/cadence/runtime/interpreter.(*InterpretedFunctionValue).invoke(0x0?, {{{0x0, 0x0}, {0x0, 0x0}}, 0x0, 0x0, 0x0, 0xc00139e900, {0x0, ...}, ...}) github.com/onflow/cadence@v0.42.6/runtime/interpreter/value_function.go:126 +0x3f github.com/onflow/cadence/runtime/interpreter.(*Interpreter).InvokeExternally(0x101af0c00?, {0x102439820, 0xc001240580}, 0x24?, {0x0?, 0xc0009cc580?, 0x1036fc4a0?}) github.com/onflow/cadence@v0.42.6/runtime/interpreter/interpreter.go:479 +0x2dd github.com/onflow/cadence/runtime/interpreter.(*Interpreter).invokeVariable(0xc00139e900, {0xc000557950, 0x24}, {0x0, 0x0, 0x0}) github.com/onflow/cadence@v0.42.6/runtime/interpreter/interpreter.go:412 +0x1c9 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).Invoke(0x200?, {0xc000557950?, 0x101810901?}, {0x0?, 0xc0018c70a8?, 0xc00301d0f8?}) github.com/onflow/cadence@v0.42.6/runtime/interpreter/interpreter.go:490 +0xa5 github.com/onflow/cadence-tools/test.(*TestRunner).invokeTestFunction(0xc000f09c00?, 0xc00139e900?, {0xc000557950?, 0x1037370a0?}) github.com/onflow/cadence-tools/test@v0.14.5/test_runner.go:369 +0x6c github.com/onflow/cadence-tools/test.(*TestRunner).RunTests(0xc000c4a190, {0xc00040c000?, 0x2b2f?}) github.com/onflow/cadence-tools/test@v0.14.5/test_runner.go:270 +0x46f github.com/onflow/flow-cli/internal/test.testCode(0xc000d9f69c?, 0xc000b8b800, {0x0, {0x101c412e1, 0xd}, {0x101cb8613, 0x3}, 0x0, 0x0, {0x0, ...}}) github.com/onflow/flow-cli/internal/test/test.go:213 +0x652 github.com/onflow/flow-cli/internal/test.run({0xc000a5f680, 0x1, 0x0?}, {{0x0, 0x0}, {0x3082bb072, 0x4}, {0x0, 0x0}, {0x0, ...}, ...}, ...) github.com/onflow/flow-cli/internal/test/test.go:116 +0x2fc github.com/onflow/flow-cli/internal/command.Command.AddToParent.func1(0xc0009e2900?, {0xc000a5f680, 0x1, 0x4}) github.com/onflow/flow-cli/internal/command/command.go:141 +0x55f github.com/spf13/cobra.(*Command).execute(0x1036e4040, {0xc000158140, 0x4, 0x4}) github.com/spf13/cobra@v1.8.0/command.go:987 +0xaa3 github.com/spf13/cobra.(*Command).ExecuteC(0xc0003b1200) github.com/spf13/cobra@v1.8.0/command.go:1115 +0x3ff github.com/spf13/cobra.(*Command).Execute(...) github.com/spf13/cobra@v1.8.0/command.go:1039 main.main() github.com/onflow/flow-cli/cmd/flow/main.go:119 +0xdeb --> Test:41:8 ```