Flow price: --
47eb32da4d07817ab9ae4546c9d35d50824e5dc36a2255b64683881597e7318e

Transaction

Hash: 47eb32da4d07817ab9ae4546c9d35d50824e5dc36a2255b64683881597e7318e
error
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:
error: internal error: [Error Code: 1110] computation exceeds limit (9999)
goroutine 11813570372 [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/onflow/cadence@v0.31.3/runtime/errors/errors.go:132
github.com/onflow/cadence/runtime/interpreter.(*Interpreter).RecoverErrors(0x10ce6b4e000, 0x25ae0b8)
	/go/pkg/mod/github.com/onflow/cadence@v0.31.3/runtime/interpreter/interpreter.go:492 +0x14e
panic({0x1ff6b00, 0x12bedf10a98})
	/usr/local/go/src/runtime/panic.go:884 +0x212
github.com/onflow/cadence/runtime.(*interpreterEnvironment).newOnMeterComputation.func1(0xb2d4c0?, 0x2869bc0?)
	/go/pkg/mod/github.com/onflow/cadence@v0.31.3/runtime/environment.go:935 +0x8e
github.com/onflow/cadence/runtime/interpreter.(*Interpreter).reportLoopIteration(0x10ce6b4e000, {0x2881cf0, 0x12dc7a6b920})
	/go/pkg/mod/github.com/onflow/cadence@v0.31.3/runtime/interpreter/interpreter.go:4152 +0x56
github.com/onflow/cadence/runtime/interpreter.(*Interpreter).VisitWhileStatement(0xc00fcfd6e8?, 0x12dc7a6b920)
	/go/pkg/mod/github.com/onflow/cadence@v0.31.3/runtime/interpreter/interpreter_statement.go:285 +0x89
github.com/onflow/cadence/runtime/ast.AcceptStatement[...]({0x289d260?, 0x12dc7a6b920}, {0x28afce0, 0x10ce6b4e000})
	/go/pkg/mod/github.com/onflow/cadence@v0.31.3/runtime/ast/visitor.go:123 +0x31a
github.com/onflow/cadence/runtime/interpreter.(*Interpreter).evalStatement(0x10ce6b4e000, {0x289d260?, 0x12dc7a6b920})
	/go/pkg/mod/github.com/onflow/cadence@v0.31.3/runtime/interpreter/interpreter_statement.go:57 +0x165
github.com/onflow/cadence/runtime/interpreter.(*Interpreter).visitStatements(0x20487b?, {0x12c7f064180?, 0x3, 0x4354f0?})
	/go/pkg/mod/github.com/onflow/cadence@v0.31.3/runtime/interpreter/interpreter_statement.go:63 +0x68
github.com/onflow/cadence/runtime/interpreter.(*Interpreter).visitBlock(0x10ce6b4e000, 0x11ff1ab4dc0)
	/go/pkg/mod/github.com/onflow/cadence@v0.31.3/runtime/interpreter/interpreter.go:701 +0xa8
github.com/onflow/cadence/runtime/interpreter.(*Interpreter).visitIfStatementWithTestExpression(0xc00fcfd950?, {0x28a3a60?, 0x12dc7a6b710?}, 0x3?, 0x0)
	/go/pkg/mod/github.com/onflow/cadence@v0.31.3/runtime/interpreter/interpreter_statement.go:131 +0xce
github.com/onflow/cadence/runtime/interpreter.(*Interpreter).VisitIfStatement(0xc00fcfd9f0?, 0x12c7f0641c0)
	/go/pkg/mod/github.com/onflow/cadence@v0.31.3/runtime/interpreter/interpreter_statement.go:112 +0xd6
github.com/onflow/cadence/runtime/ast.AcceptStatement[...]({0x289cfe0?, 0x12c7f0641c0}, {0x28afce0, 0x10ce6b4e000})
	/go/pkg/mod/github.com/onflow/cadence@v0.31.3/runtime/ast/visitor.go:114 +0x293
github.com/onflow/cadence/runtime/interpreter.(*Interpreter).evalStatement(0x10ce6b4e000, {0x289cfe0?, 0x12c7f0641c0})
	/go/pkg/mod/github.com/onflow/cadence@v0.31.3/runtime/interpreter/interpreter_statement.go:57 +0x165
github.com/onflow/cadence/runtime/interpreter.(*Interpreter).visitStatements(0xec5a00?, {0x11a31390840?, 0x1, 0x1?})
	/go/pkg/mod/github.com/onflow/cadence@v0.31.3/runtime/interpreter/interpreter_statement.go:63 +0x68
github.com/onflow/cadence/runtime/interpreter.(*Interpreter).visitBlock(0x10ce6b4e000, 0x11ff1ab4e10)
	/go/pkg/mod/github.com/onflow/cadence@v0.31.3/runtime/interpreter/interpreter.go:701 +0xa8
github.com/onflow/cadence/runtime/interpreter.(*Interpreter).VisitForStatement(0x10ce6b4e000, 0x10cf5947140)
	/go/pkg/mod/github.com/onflow/cadence@v0.31.3/runtime/interpreter/interpreter_statement.go:353 +0x2e6
github.com/onflow/cadence/runtime/ast.AcceptStatement[...]({0x289cf40?, 0x10cf5947140}, {0x28afce0, 0x10ce6b4e000})
	/go/pkg/mod/github.com/onflow/cadence@v0.31.3/runtime/ast/visitor.go:117 +0x35a
github.com/onflow/cadence/runtime/interpreter.(*Interpreter).evalStatement(0x10ce6b4e000, {0x289cf40?, 0x10cf5947140})
	/go/pkg/mod/github.com/onflow/cadence@v0.31.3/runtime/interpreter/interpreter_statement.go:57 +0x165
github.com/onflow/cadence/runtime/interpreter.(*Interpreter).visitStatements(0xbd5afa?, {0x1226eb07000?, 0x9, 0xc197384690?})
	/go/pkg/mod/github.com/onflow/cadence@v0.31.3/runtime/interpreter/interpreter_statement.go:63 +0x68
github.com/onflow/cadence/runtime/interpreter.(*Interpreter).invokeInterpretedFunctionActivated.func2()
	/go/pkg/mod/github.com/onflow/cadence@v0.31.3/runtime/interpreter/interpreter_invocation.go:168 +0x2d
github.com/onflow/cadence/runtime/interpreter.(*Interpreter).visitFunctionBody(0x10ce6b4e000, {0x0, 0x0, 0x0}, {0x0, 0x0, 0xbd572d?}, 0xc00fcfdfb0, {0x0, 0x0, ...}, ...)
	/go/pkg/mod/github.com/onflow/cadence@v0.31.3/runtime/interpreter/interpreter.go:726 +0x1a7
github.com/onflow/cadence/runtime/interpreter.(*Interpreter).invokeInterpretedFunctionActivated(0x10ce6b4e000?, 0x218d86c?, {0x0?, 0x28abd90?, 0x10d34e4d920?})
	/go/pkg/mod/github.com/onflow/cadence@v0.31.3/runtime/interpreter/interpreter_invocation.go:164 +0x19f
github.com/onflow/cadence/runtime/interpreter.(*Interpreter).invokeInterpretedFunction(0x10ce6b4e000, 0xc24f611e00, {{{0x0, 0x0}, {0x0, 0x0}}, 0x11a32851120, 0x0, 0x10ce6b4e000, {0x0, ...}, ...})
	/go/pkg/mod/github.com/onflow/cadence@v0.31.3/runtime/interpreter/interpreter_invocation.go:143 +0x1c5
github.com/onflow/cadence/runtime/interpreter.(*InterpretedFunctionValue).invoke(...)
	/go/pkg/mod/github.com/onflow/cadence@v0.31.3/runtime/interpreter/function.go:126
github.com/onflow/cadence/runtime/interpreter.(*Interpreter).declareTransactionEntryPoint.func1.1()
	/go/pkg/mod/github.com/onflow/cadence@v0.31.3/runtime/interpreter/interpreter_transaction.go:122 +0x98
github.com/onflow/cadence/runtime/interpreter.(*Interpreter).visitFunctionBody(0x10ce6b4e000, {0x0, 0x0, 0x0}, {0x0, 0x0, 0x0?}, 0xc00fcfe3a8, {0x0, 0x0, ...}, ...)
	/go/pkg/mod/github.com/onflow/cadence@v0.31.3/runtime/interpreter/interpreter.go:726 +0x1a7
github.com/onflow/cadence/runtime/interpreter.(*Interpreter).declareTransactionEntryPoint.func1({{{0x0, 0x0}, {0x0, 0x0}}, 0x11a32851120, 0x0, 0x10ce6b4e000, {0x12c72ab9430, 0x1, 0x1}, ...})
	/go/pkg/mod/github.com/onflow/cadence@v0.31.3/runtime/interpreter/interpreter_transaction.go:134 +0x3d0
github.com/onflow/cadence/runtime/interpreter.(*HostFunctionValue).invoke(0x4?, {{{0x0, 0x0}, {0x0, 0x0}}, 0x0, 0x0, 0x10ce6b4e000, {0x12c72ab9400, 0x4, ...}, ...})
	/go/pkg/mod/github.com/onflow/cadence@v0.31.3/runtime/interpreter/function.go:255 +0x55
github.com/onflow/cadence/runtime/interpreter.(*Interpreter).InvokeExternally(0x203bba0?, {0x28b1160, 0x1420dae70f8}, 0x12c7f064e40?, {0xfbd9247ec0?, 0x4?, 0x41dfe6?})
	/go/pkg/mod/github.com/onflow/cadence@v0.31.3/runtime/interpreter/interpreter.go:434 +0x21e
github.com/onflow/cadence/runtime/interpreter.(*Interpreter).InvokeTransaction(0x10ce6b4e000, 0xfbd9247ef0?, {0xfbd9247ec0, 0x4, 0x6})
	/go/pkg/mod/github.com/onflow/cadence@v0.31.3/runtime/interpreter/interpreter.go:476 +0x2b6
github.com/onflow/cadence/runtime.(*interpreterTransactionExecutor).transactionExecutionFunction.func1(0x10ce6b4e000)
	/go/pkg/mod/github.com/onflow/cadence@v0.31.3/runtime/transaction_executor.go:265 +0x2a9
github.com/onflow/cadence/runtime.(*interpreterEnvironment).Interpret.func1()
	/go/pkg/mod/github.com/onflow/cadence@v0.31.3/runtime/environment.go:994 +0x9e
github.com/onflow/cadence/runtime.reportMetric(0xc00fcfe998, {0x7e1aa57fb118?, 0x1197882de00?}, 0xc00fcfe980)
	/go/pkg/mod/github.com/onflow/cadence@v0.31.3/runtime/runtime.go:201 +0x65
github.com/onflow/cadence/runtime.(*interpreterEnvironment).Interpret(0x142117d0700, {0x2890d68, 0xc01b1b6a60}, 0x11948e18500?, 0x119b0d38690)
	/go/pkg/mod/github.com/onflow/cadence@v0.31.3/runtime/environment.go:988 +0x105
github.com/onflow/cadence/runtime.(*interpreterTransactionExecutor).execute(0x11ceb936480)
	/go/pkg/mod/github.com/onflow/cadence@v0.31.3/runtime/transaction_executor.go:222 +0x19c
github.com/onflow/cadence/runtime.(*interpreterTransactionExecutor).Execute.func1()
	/go/pkg/mod/github.com/onflow/cadence@v0.31.3/runtime/transaction_executor.go:79 +0x25
sync.(*Once).doSlow(0x0?, 0x12c7f065d00?)
	/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(0x11ceb936480?)
	/go/pkg/mod/github.com/onflow/cadence@v0.31.3/runtime/transaction_executor.go:78 +0x4a
github.com/onflow/flow-go/fvm/runtime.WrappedCadenceExecutor.Execute({{0x2889df0?, 0x11ceb936480?}})
	/app/fvm/runtime/wrapped_cadence_runtime.go:89 +0x27
github.com/onflow/flow-go/fvm.(*transactionExecutor).normalExecution(0x14d6588e6c0)
	/app/fvm/transactionInvoker.go:359 +0xc2
github.com/onflow/flow-go/fvm.(*transactionExecutor).ExecuteTransactionBody(0x14d6588e6c0)
	/app/fvm/transactionInvoker.go:275 +0x10a
github.com/onflow/flow-go/fvm.(*transactionExecutor).execute(0x14d6588e6c0)
	/app/fvm/transactionInvoker.go:240 +0x9b
github.com/onflow/flow-go/fvm.(*transactionExecutor).Execute(0x14d6588e6c0?)
	/app/fvm/transactionInvoker.go:150 +0x1e
github.com/onflow/flow-go/fvm.Run({0x2889fd0?, 0x14d6588e6c0})
	/app/fvm/fvm.go:39 +0xc2
github.com/onflow/flow-go/fvm.(*VirtualMachine).Run(_, {0x0, 0x186a0, 0xffffffffffffffff, 0x3e80, 0xf424000, 0x1312d00, {0x1, 0x1, 0x3e8, ...}, ...}, ...)
	/app/fvm/fvm.go:120 +0xa4d
github.com/onflow/flow-go/engine/execution/computation/computer.(*blockComputer).executeTransaction(_, {_, _}, {{0x12c9728ea00, 0x40}, 0x3, 0x3, 0x0, {0x0, 0x186a0, ...}, ...}, ...)
	/app/engine/execution/computation/computer/computer.go:456 +0x132d
github.com/onflow/flow-go/engine/execution/computation/computer.(*blockComputer).executeCollection(_, {_, _}, _, {_, _}, {{0x12c9728ea00, 0x40}, 0x3, 0x12fea7c64e0, ...}, ...)
	/app/engine/execution/computation/computer/computer.go:394 +0xba8
github.com/onflow/flow-go/engine/execution/computation/computer.(*blockComputer).executeBlock(0xc25029e000, {0x288e950, 0xc006ea1200}, {0x28a4c60, 0x3cbe6c8}, 0x12214e16e80, {0x28a4360, 0x11ff07c77c0?}, 0xede454?)
	/app/engine/execution/computation/computer/computer.go:281 +0x66a
github.com/onflow/flow-go/engine/execution/computation/computer.(*blockComputer).ExecuteBlock(0xc25029e000, {0x288e950, 0xc006ea1200}, 0x12214e16e80, {0x28a4360, 0x11ff07c77c0}, 0xa76d3f40588eeabb?)
	/app/engine/execution/computation/computer/computer.go:185 +0x33b
github.com/onflow/flow-go/engine/execution/computation.(*Manager).ComputeBlock(0xc25030a000, {0x288e950?, 0xc006ea1200}, 0x12214e16e80, {0x28a4360, 0x11ff07c77c0})
	/app/engine/execution/computation/manager.go:293 +0x1d3
github.com/onflow/flow-go/engine/execution/ingestion.(*Engine).executeBlock(0xc1678eb4a0, {0x288e8a8, 0xc25358ab80}, 0x12214e16e80)
	/app/engine/execution/ingestion/engine.go:616 +0x2ad
github.com/onflow/flow-go/engine/execution/ingestion.(*Engine).executeBlockIfComplete.func1()
	/app/engine/execution/ingestion/engine.go:842 +0x2c
github.com/onflow/flow-go/engine.(*Unit).Launch.func1()
	/app/engine/unit.go:74 +0x62
created by github.com/onflow/flow-go/engine.(*Unit).Launch
	/app/engine/unit.go:72 +0x7f

  --> 47eb32da4d07817ab9ae4546c9d35d50824e5dc36a2255b64683881597e7318e:52:10
   |
52 |           if nftMetadata.purchasers[serial] == nil {
   |           ^


Hash:
47eb32da4d07817ab9ae4546c9d35d50824e5dc36a2255b64683881597e7318e
Status:
ERROR
Block height:
46490319
Block id:
873d1b5fd6627aaa3c3bdb0ff08cd9c971780f9a800f63e18c5cf300d371a0e3
Timestamp:
Sunday 12 February 2023 at 01:42:51 UTC
()
Proposer:
Authorizers:
Gas used:
9999