TOO_COMPLEX
This transaction is too complex it does too much logic or read/write to much data.
[Error Code: 1110] error caused by: 1 error occurred: * transaction execute failed: [Error Code: 1101] cadence runtime error: Execution failed: --> 09bbe628e0cd9ef27f9755de00554b6748378cfe34bcd251e33a80621efd2c3d:32:8 | 32 | self.recipient.deposit(token: <- (nft as @NonFungibleToken.NFT)) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: internal error: failed to retrieve slab 0x5605ddc7d904fc98.2824: get value failed: [Error Code: 1110] computation exceeds limit (9999) goroutine 24110604707 [running]: runtime/debug.Stack() /usr/local/go/src/runtime/debug/stack.go:24 +0x65 github.com/onflow/cadence/runtime/errors.NewUnexpectedErrorFromCause(...) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.8-patch.4/runtime/errors/errors.go:152 github.com/onflow/cadence/runtime/interpreter.asCadenceError({0x2793c00, 0x14b813ac840}) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.8-patch.4/runtime/interpreter/interpreter.go:576 +0x212 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).RecoverErrors(0x11b30095500, 0x2fa8a00) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.8-patch.4/runtime/interpreter/interpreter.go:528 +0x57 panic({0x2793c00, 0x14b813ac840}) /usr/local/go/src/runtime/panic.go:884 +0x213 github.com/onflow/cadence/runtime/interpreter.StoredValue({0x32f8580, 0x11b30095500}, {0x331e830?, 0x13a291a02f0?}, {0x3326e98?, 0x14b788c2000?}) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.8-patch.4/runtime/interpreter/storage.go:38 +0x94 github.com/onflow/cadence/runtime/interpreter.(*CompositeValue).GetMember(0x14b813a7360, 0x11b30095500, {{0x3323a00?, 0x14b782edcf8?}, {0x330bce0?, 0x14b79d2caf0?}}, {0xd9e308e064, 0x9}) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.8-patch.4/runtime/interpreter/value.go:16629 +0xa95 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).getMember(0x11b30095500?, {0x333e2f0, 0x14b813a7360}, {{0x3323a00?, 0x14b782edcf8?}, {0x330bce0?, 0x14b79d2caf0?}}, {0xd9e308e064, 0x9}) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.8-patch.4/runtime/interpreter/interpreter.go:4902 +0xbd github.com/onflow/cadence/runtime/interpreter.(*Interpreter).memberExpressionGetterSetter.func1(0x0) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.8-patch.4/runtime/interpreter/interpreter_expression.go:253 +0x235 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).valueIndexExpressionGetterSetter(0x11b30095500, 0x14b79d2caf0, {{0x3323a00?, 0x14b782edcf8?}, {0x330bce0?, 0x14b79d2caf0?}}) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.8-patch.4/runtime/interpreter/interpreter_expression.go:139 +0xba github.com/onflow/cadence/runtime/interpreter.(*Interpreter).assignmentGetterSetter(0x11b30095500, {0x33328e0?, 0x14b79d2caf0?}, {{0x3323a00?, 0x14b782edcf8?}, {0x330bce0?, 0x14b79d2caf0?}}) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.8-patch.4/runtime/interpreter/interpreter_expression.go:45 +0x108 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).visitVariableDeclaration(0x11b30095500, 0x14b79d30320, 0x0) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.8-patch.4/runtime/interpreter/interpreter_statement.go:461 +0x1b9 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).VisitVariableDeclaration(0x64?, 0x14b79d30320) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.8-patch.4/runtime/interpreter/interpreter_statement.go:421 +0x25 github.com/onflow/cadence/runtime/ast.AcceptStatement[...]({0x332a980?, 0x14b79d30320}, {0x3346440, 0x11b30095500}) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.8-patch.4/runtime/ast/visitor.go:143 +0x4aa github.com/onflow/cadence/runtime/interpreter.(*Interpreter).evalStatement(0x11b30095500, {0x332a980?, 0x14b79d30320}) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.8-patch.4/runtime/interpreter/interpreter_statement.go:58 +0x165 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).visitStatements(0xc7c51a?, {0x14b788f7400?, 0x5, 0x11b30095500?}) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.8-patch.4/runtime/interpreter/interpreter_statement.go:64 +0x65 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).invokeInterpretedFunctionActivated.func2() /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.8-patch.4/runtime/interpreter/interpreter_invocation.go:173 +0x2d github.com/onflow/cadence/runtime/interpreter.(*Interpreter).visitFunctionBody(0x11b30095500, {0x0, 0x0, 0x0}, {0x0, 0x0, 0xc7c6db?}, 0x14b79f2ccf0, {0x0, 0x0, ...}, ...) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.8-patch.4/runtime/interpreter/interpreter.go:785 +0x18f github.com/onflow/cadence/runtime/interpreter.(*Interpreter).invokeInterpretedFunctionActivated(0x11b30095500?, 0x14b7aee9f00?, {0x14b813a5f40?, 0x1?, 0x14b813a7360?}) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.8-patch.4/runtime/interpreter/interpreter_invocation.go:169 +0x19f github.com/onflow/cadence/runtime/interpreter.(*Interpreter).invokeInterpretedFunction(0x11b30095500, 0x14b7aee9f00, {{{0x3323b40, 0x155abb7f2c0}, {0x330bd58, 0x14b78881ab0}}, 0x14b813a5f10, 0x0, 0x14b7ab40b50, 0x11b30095440, ...}) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.8-patch.4/runtime/interpreter/interpreter_invocation.go:148 +0x1d8 github.com/onflow/cadence/runtime/interpreter.(*InterpretedFunctionValue).invoke(0x1a690e4?, {{{0x3323b40, 0x155abb7f2c0}, {0x330bd58, 0x14b78881ab0}}, 0x14b813a5f10, 0x0, 0x14b7ab40b50, 0x11b30095440, {0x14b813a5f40, ...}, ...}) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.8-patch.4/runtime/interpreter/value_function.go:126 +0x5e github.com/onflow/cadence/runtime/interpreter.BoundFunctionValue.invoke({{0x33448e8?, 0x14b7aee9f00?}, 0x0?, 0x14b813a5f10?}, {{{0x3323b40, 0x155abb7f2c0}, {0x330bd58, 0x14b78881ab0}}, 0x14b813a5f10, 0x0, ...}) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.8-patch.4/runtime/interpreter/value_function.go:398 +0xd9 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).invokeFunctionValue(0x11b30095440?, {0x3345aa0, 0x14b813ac7c0}, {0x14b813a5f30?, 0x1?, 0x14b7a7768c0?}, {0x14b813a5f20?, 0x1?, 0xbb5134?}, {0x14b7ab40b60, ...}, ...) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.8-patch.4/runtime/interpreter/interpreter_invocation.go:124 +0x1bd github.com/onflow/cadence/runtime/interpreter.(*Interpreter).visitInvocationExpressionWithImplicitArgument(0x11b30095440, 0x14b78881ab0, 0x0) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.8-patch.4/runtime/interpreter/interpreter_expression.go:1036 +0x8f6 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).VisitInvocationExpression(0x14b813a72c0?, 0x12bf1adfcb0?) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.8-patch.4/runtime/interpreter/interpreter_expression.go:941 +0x1b github.com/onflow/cadence/runtime/ast.AcceptExpression[...]({0x33329a0?, 0x14b78881ab0}, {0x334bf80, 0x11b30095440}) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.8-patch.4/runtime/ast/visitor.go:230 +0x2ea github.com/onflow/cadence/runtime/interpreter.(*Interpreter).evalExpression(...) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.8-patch.4/runtime/interpreter/interpreter_expression.go:334 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).VisitExpressionStatement(0x3323b40?, 0x14b78075d60?) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.8-patch.4/runtime/interpreter/interpreter_statement.go:592 +0x34 github.com/onflow/cadence/runtime/ast.AcceptStatement[...]({0x332a610?, 0x14b788a83b0}, {0x3346440, 0x11b30095440}) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.8-patch.4/runtime/ast/visitor.go:140 +0x583 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).evalStatement(0x11b30095440, {0x332a610?, 0x14b788a83b0}) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.8-patch.4/runtime/interpreter/interpreter_statement.go:58 +0x165 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).visitStatements(0xc7c51a?, {0x14b782e5c80?, 0x2, 0x11b30095440?}) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.8-patch.4/runtime/interpreter/interpreter_statement.go:64 +0x65 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).invokeInterpretedFunctionActivated.func2() /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.8-patch.4/runtime/interpreter/interpreter_invocation.go:173 +0x2d github.com/onflow/cadence/runtime/interpreter.(*Interpreter).visitFunctionBody(0x11b30095440, {0x0, 0x0, 0x0}, {0x0, 0x0, 0xc7c6db?}, 0x14b79f2d898, {0x0, 0x0, ...}, ...) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.8-patch.4/runtime/interpreter/interpreter.go:785 +0x18f github.com/onflow/cadence/runtime/interpreter.(*Interpreter).invokeInterpretedFunctionActivated(0x11b30095440?, 0x2bcd920?, {0x0?, 0x333e770?, 0xc44752a360?}) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.8-patch.4/runtime/interpreter/interpreter_invocation.go:169 +0x19f github.com/onflow/cadence/runtime/interpreter.(*Interpreter).invokeInterpretedFunction(0x11b30095440, 0x14b7af8d380, {{{0x0, 0x0}, {0x0, 0x0}}, 0x14b7aed4790, 0x0, 0x0, 0x11b30095440, ...}) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.8-patch.4/runtime/interpreter/interpreter_invocation.go:148 +0x1d8 github.com/onflow/cadence/runtime/interpreter.(*InterpretedFunctionValue).invoke(...) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.8-patch.4/runtime/interpreter/value_function.go:126 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).declareTransactionEntryPoint.func1.1() /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.8-patch.4/runtime/interpreter/interpreter_transaction.go:122 +0x79 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).visitFunctionBody(0x11b30095440, {0x0, 0x0, 0x0}, {0x0, 0x0, 0x0?}, 0x14b79f2dcb0, {0x0, 0x0, ...}, ...) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.8-patch.4/runtime/interpreter/interpreter.go:785 +0x18f github.com/onflow/cadence/runtime/interpreter.(*Interpreter).declareTransactionEntryPoint.func1({{{0x0, 0x0}, {0x0, 0x0}}, 0x14b7aed4790, 0x0, 0x0, 0x11b30095440, {0x14b7aed4770, 0x1, ...}, ...}) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.8-patch.4/runtime/interpreter/interpreter_transaction.go:134 +0x3a6 github.com/onflow/cadence/runtime/interpreter.(*HostFunctionValue).invoke(0x1?, {{{0x0, 0x0}, {0x0, 0x0}}, 0x0, 0x0, 0x0, 0x11b30095440, {0x14b7aed4770, ...}, ...}) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.8-patch.4/runtime/interpreter/value_function.go:256 +0x3a github.com/onflow/cadence/runtime/interpreter.(*Interpreter).InvokeExternally(0x0?, {0x3344840, 0x14b7aeb5890}, 0x14b7a8b91c0?, {0x14b7aed4760?, 0x1?, 0x3352570?}) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.8-patch.4/runtime/interpreter/interpreter.go:479 +0x2fd github.com/onflow/cadence/runtime/interpreter.(*Interpreter).InvokeTransaction(0x11b30095440, 0x14b7aed4760?, {0x14b7aed4760, 0x1, 0x1}) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.8-patch.4/runtime/interpreter/interpreter.go:521 +0x278 github.com/onflow/cadence/runtime.(*interpreterTransactionExecutor).transactionExecutionFunction.func1(0x11b30095440) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.8-patch.4/runtime/transaction_executor.go:268 +0x2a8 github.com/onflow/cadence/runtime.(*interpreterEnvironment).Interpret.func1() /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.8-patch.4/runtime/environment.go:1150 +0x9e github.com/onflow/cadence/runtime.reportMetric(0x14b79f2e2d0, {0x7f887cb14c90?, 0x14b78c862c0?}, 0x14b79f2e2b8) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.8-patch.4/runtime/runtime.go:205 +0x65 github.com/onflow/cadence/runtime.(*interpreterEnvironment).Interpret(0x1533c3152c0, {0x3323b40, 0x155abb7f2c0}, 0x14b79f2e388?, 0x14b7ab096e0) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.8-patch.4/runtime/environment.go:1144 +0x105 github.com/onflow/cadence/runtime.(*interpreterTransactionExecutor).execute(0x14b78011680) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.8-patch.4/runtime/transaction_executor.go:223 +0x19c github.com/onflow/cadence/runtime.(*interpreterTransactionExecutor).Execute.func1() /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.8-patch.4/runtime/transaction_executor.go:80 +0x25 sync.(*Once).doSlow(0x1312d00?, 0x14b7ab40bb0?) /usr/local/go/src/sync/once.go:74 +0xc2 sync.(*Once).Do(...) /usr/local/go/src/sync/once.go:65 github.com/onflow/cadence/runtime.(*interpreterTransactionExecutor).Execute(0x14b78011680?) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.42.8-patch.4/runtime/transaction_executor.go:79 +0x4a github.com/onflow/flow-go/fvm/runtime.WrappedCadenceExecutor.Execute({{0x3314ba0?, 0x14b78011680?}}) /app/fvm/runtime/wrapped_cadence_runtime.go:90 +0x27 github.com/onflow/flow-go/fvm.(*transactionExecutor).normalExecution(0x14b74063880) /app/fvm/transactionInvoker.go:369 +0x16c github.com/onflow/flow-go/fvm.(*transactionExecutor).ExecuteTransactionBody(0x14b74063880) /app/fvm/transactionInvoker.go:265 +0x18d github.com/onflow/flow-go/fvm.(*transactionExecutor).execute(0x14b74063880?) /app/fvm/transactionInvoker.go:241 +0x25 github.com/onflow/flow-go/fvm.(*transactionExecutor).Execute(0x14b78cb6b60?) /app/fvm/transactionInvoker.go:142 +0x1e github.com/onflow/flow-go/engine/execution/computation/computer.(*blockComputer).executeTransactionInternal(_, {_, _}, _, {{{0x67, 0x36, 0xd9, 0x6d, 0xd1, 0x73, ...}, ...}, ...}, ...) /app/engine/execution/computation/computer/computer.go:520 +0x811 github.com/onflow/flow-go/engine/execution/computation/computer.(*blockComputer).executeTransaction(_, {_, _}, _, {{{0x67, 0x36, 0xd9, 0x6d, 0xd1, 0x73, ...}, ...}, ...}, ...) /app/engine/execution/computation/computer/computer.go:447 +0x68 github.com/onflow/flow-go/engine/execution/computation/computer.(*blockComputer).executeTransactions(0xc3643bf080?, {0x3333ae0, 0x4c33ed0}, 0x14b78cb3f90?, 0xc398d3f5c0?, 0xe35d0320f0?) /app/engine/execution/computation/computer/computer.go:421 +0x22b created by github.com/onflow/flow-go/engine/execution/computation/computer.(*blockComputer).executeBlock /app/engine/execution/computation/computer/computer.go:377 +0xa65 --> 0b2a3299cc857e29.FastBreakV1:658:12 | 658 | let oldToken <- self.ownedNFTs[id] <- token | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^Loading...