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: --> 6b774a02663ae970a38277c746e2d10a791040a4ea7c8de2c4650843d2b6a3c4:52:3 | 52 | BloctoStorageRent.tryRefill(addr) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ error: internal error: fatal error: storage error: set value failed: [Error Code: 1110] computation exceeds limit (500) goroutine 6201183187 [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(0x104dd2238c0, 0x25ae0b8) /go/pkg/mod/github.com/onflow/cadence@v0.31.3/runtime/interpreter/interpreter.go:492 +0x14e panic({0x1e57ae0, 0xc1ab79a920}) /usr/local/go/src/runtime/panic.go:884 +0x212 github.com/onflow/cadence/runtime/stdlib.newStorageUsedGetFunction.func1(0x1244d74f380?) /go/pkg/mod/github.com/onflow/cadence@v0.31.3/runtime/stdlib/account.go:382 +0xc6 github.com/onflow/cadence/runtime/interpreter.NewPublicAccountValue.func1({0x13ac171cad0?, 0x1244d74ea20?}, 0x13ac171cad0?, {{0x2890c50?, 0xc1ab0902e8?}, {0x28819f8?, 0xe37729bce0?}}) /go/pkg/mod/github.com/onflow/cadence@v0.31.3/runtime/interpreter/account.go:302 +0x295 github.com/onflow/cadence/runtime/interpreter.(*SimpleCompositeValue).GetMember(0xec9a86c900, 0x28abd90?, {{0x2890c50?, 0xc1ab0902e8?}, {0x28819f8?, 0xe37729bce0?}}, {0x13ac171cad0, 0xb}) /go/pkg/mod/github.com/onflow/cadence@v0.31.3/runtime/interpreter/simplecompositevalue.go:119 +0xc7 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).getMember(0x104dd2238c0?, {0x28abd90, 0xec9a86c900}, {{0x2890c50?, 0xc1ab0902e8?}, {0x28819f8?, 0xe37729bce0?}}, {0x13ac171cad0, 0xb}) /go/pkg/mod/github.com/onflow/cadence@v0.31.3/runtime/interpreter/interpreter.go:4206 +0xbd github.com/onflow/cadence/runtime/interpreter.(*Interpreter).memberExpressionGetterSetter.func1(0x0) /go/pkg/mod/github.com/onflow/cadence@v0.31.3/runtime/interpreter/interpreter_expression.go:166 +0x252 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).visitVariableDeclaration(0x104dd2238c0, 0x11631319e00, 0xc1bc974f18) /go/pkg/mod/github.com/onflow/cadence@v0.31.3/runtime/interpreter/interpreter_statement.go:452 +0x15b github.com/onflow/cadence/runtime/interpreter.(*Interpreter).VisitVariableDeclaration(0xc1bc974f58?, 0xec9028?) /go/pkg/mod/github.com/onflow/cadence@v0.31.3/runtime/interpreter/interpreter_statement.go:412 +0x35 github.com/onflow/cadence/runtime/ast.AcceptStatement[...]({0x289d210?, 0x11631319e00}, {0x28afce0, 0x104dd2238c0}) /go/pkg/mod/github.com/onflow/cadence@v0.31.3/runtime/ast/visitor.go:138 +0x3dd github.com/onflow/cadence/runtime/interpreter.(*Interpreter).evalStatement(0x104dd2238c0, {0x289d210?, 0x11631319e00}) /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?, {0x11631353500?, 0x9, 0xc1bc9750f0?}) /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(0x104dd2238c0, {0x0, 0x0, 0x0}, {0x0, 0x0, 0xbd572d?}, 0xc1bc975218, {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(0x104dd2238c0?, 0xc1ab37c400?, {0xc1ab79a3c0?, 0x1?, 0xc1ab4a7200?}) /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(0x104dd2238c0, 0xc1ab37c400, {{{0x2890d68, 0x10edb390080}, {0x28819d0, 0xc1ab0945b0}}, 0xc1ab79a390, 0xc1ab1e05f0, 0xe4d0f88000, {0xc1ab79a3c0, ...}, ...}) /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(0xc1bc975440?, {{{0x2890d68, 0x10edb390080}, {0x28819d0, 0xc1ab0945b0}}, 0xc1ab79a390, 0xc1ab1e05f0, 0xe4d0f88000, {0xc1ab79a3c0, 0x1, ...}, ...}) /go/pkg/mod/github.com/onflow/cadence@v0.31.3/runtime/interpreter/function.go:126 +0x5e github.com/onflow/cadence/runtime/interpreter.BoundFunctionValue.invoke(...) /go/pkg/mod/github.com/onflow/cadence@v0.31.3/runtime/interpreter/function.go:384 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).invokeFunctionValue(0xe4d0f88000?, {0x28b1748, 0xc1ab4a3218}, {0xc1ab79a3b0?, 0x1?, 0x38?}, {0xc1ab79a3a0?, 0x1?, 0x7fb6f3278ab8?}, {0xc1ab1e0600, ...}, ...) /go/pkg/mod/github.com/onflow/cadence@v0.31.3/runtime/interpreter/interpreter_invocation.go:122 +0x17e github.com/onflow/cadence/runtime/interpreter.(*Interpreter).VisitInvocationExpression(0xe4d0f88000, 0xc1ab0945b0) /go/pkg/mod/github.com/onflow/cadence@v0.31.3/runtime/interpreter/interpreter_expression.go:873 +0x5cb github.com/onflow/cadence/runtime/ast.AcceptExpression[...]({0x28a3f40?, 0xc1ab0945b0}, {0x28b4598, 0xe4d0f88000}) /go/pkg/mod/github.com/onflow/cadence@v0.31.3/runtime/ast/visitor.go:218 +0x29d github.com/onflow/cadence/runtime/interpreter.(*Interpreter).evalExpression(...) /go/pkg/mod/github.com/onflow/cadence@v0.31.3/runtime/interpreter/interpreter_expression.go:248 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).VisitExpressionStatement(0xc1bc9759f0?, 0xec9028?) /go/pkg/mod/github.com/onflow/cadence@v0.31.3/runtime/interpreter/interpreter_statement.go:561 +0x34 github.com/onflow/cadence/runtime/ast.AcceptStatement[...]({0x289cef0?, 0xc1ab02b350}, {0x28afce0, 0xe4d0f88000}) /go/pkg/mod/github.com/onflow/cadence@v0.31.3/runtime/ast/visitor.go:135 +0x495 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).evalStatement(0xe4d0f88000, {0x289cef0?, 0xc1ab02b350}) /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?, {0xc1ab02b360?, 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(0xe4d0f88000, 0xc1ab05cd20) /go/pkg/mod/github.com/onflow/cadence@v0.31.3/runtime/interpreter/interpreter.go:701 +0xa8 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).VisitForStatement(0xe4d0f88000, 0x10e748f93e0) /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?, 0x10e748f93e0}, {0x28afce0, 0xe4d0f88000}) /go/pkg/mod/github.com/onflow/cadence@v0.31.3/runtime/ast/visitor.go:117 +0x35a github.com/onflow/cadence/runtime/interpreter.(*Interpreter).evalStatement(0xe4d0f88000, {0x289cf40?, 0x10e748f93e0}) /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?, {0xc1ab023480?, 0x5, 0x13681283770?}) /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(0xe4d0f88000, {0x0, 0x0, 0x0}, {0x0, 0x0, 0xbd572d?}, 0xc1bc975fb0, {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(0xe4d0f88000?, 0x218d86c?, {0x0?, 0x28abd90?, 0x104dd223920?}) /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(0xe4d0f88000, 0xc1ab37c880, {{{0x0, 0x0}, {0x0, 0x0}}, 0xc18ead3850, 0x0, 0xe4d0f88000, {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(0xe4d0f88000, {0x0, 0x0, 0x0}, {0x0, 0x0, 0x0?}, 0xc1bc9763a8, {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}}, 0xc18ead3850, 0x0, 0xe4d0f88000, {0xc18eac3420, 0x2, 0x2}, ...}) /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, 0xe4d0f88000, {0xc18eac3400, 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, 0xc18eac7e48}, 0xc1ab094a80?, {0xc18eac33c0?, 0x4?, 0xc1bc9766b8?}) /go/pkg/mod/github.com/onflow/cadence@v0.31.3/runtime/interpreter/interpreter.go:434 +0x21e github.com/onflow/cadence/runtime/interpreter.(*Interpreter).InvokeTransaction(0xe4d0f88000, 0xc18eac33e0?, {0xc18eac33c0, 0x4, 0x4}) /go/pkg/mod/github.com/onflow/cadence@v0.31.3/runtime/interpreter/interpreter.go:476 +0x2b6 github.com/onflow/cadence/runtime.(*interpreterTransactionExecutor).transactionExecutionFunction.func1(0xe4d0f88000) /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(0xc1bc976998, {0x7e1aa57fb118?, 0xc1a1b97900?}, 0xc1bc976980) /go/pkg/mod/github.com/onflow/cadence@v0.31.3/runtime/runtime.go:201 +0x65 github.com/onflow/cadence/runtime.(*interpreterEnvironment).Interpret(0x151852d8180, {0x2890d68, 0x10edb390080}, 0x131cbba0230?, 0xc1ab090f18) /go/pkg/mod/github.com/onflow/cadence@v0.31.3/runtime/environment.go:988 +0x105 github.com/onflow/cadence/runtime.(*interpreterTransactionExecutor).execute(0xc1ab0678c0) /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?, 0xc18eac22c0?) /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(0xc1ab0678c0?) /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?, 0xc1ab0678c0?}}) /app/fvm/runtime/wrapped_cadence_runtime.go:89 +0x27 github.com/onflow/flow-go/fvm.(*transactionExecutor).normalExecution(0xc1aa71efc0) /app/fvm/transactionInvoker.go:359 +0xc2 github.com/onflow/flow-go/fvm.(*transactionExecutor).ExecuteTransactionBody(0xc1aa71efc0) /app/fvm/transactionInvoker.go:275 +0x10a github.com/onflow/flow-go/fvm.(*transactionExecutor).execute(0xc1aa71efc0) /app/fvm/transactionInvoker.go:240 +0x9b github.com/onflow/flow-go/fvm.(*transactionExecutor).Execute(0xc1aa71efc0?) /app/fvm/transactionInvoker.go:150 +0x1e github.com/onflow/flow-go/fvm.Run({0x2889fd0?, 0xc1aa71efc0}) /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(_, {_, _}, {{0x10fbde33e80, 0x40}, 0x1, 0x1, 0x0, {0x0, 0x186a0, ...}, ...}, ...) /app/engine/execution/computation/computer/computer.go:456 +0x132d github.com/onflow/flow-go/engine/execution/computation/computer.(*blockComputer).executeCollection(_, {_, _}, _, {_, _}, {{0x10fbde33e80, 0x40}, 0x1, 0xc1a98e0aa0, ...}, ...) /app/engine/execution/computation/computer/computer.go:394 +0xba8 github.com/onflow/flow-go/engine/execution/computation/computer.(*blockComputer).executeBlock(0xc25029e000, {0x288e950, 0x1276c0fbe60}, {0x28a4c60, 0x3cbe6c8}, 0xc1a9893dc0, {0x28a4360, 0xc1aa045ef0?}, 0xede454?) /app/engine/execution/computation/computer/computer.go:281 +0x66a github.com/onflow/flow-go/engine/execution/computation/computer.(*blockComputer).ExecuteBlock(0xc25029e000, {0x288e950, 0x1276c0fbe60}, 0xc1a9893dc0, {0x28a4360, 0xc1aa045ef0}, 0xf5854583de1b45d0?) /app/engine/execution/computation/computer/computer.go:185 +0x33b github.com/onflow/flow-go/engine/execution/computation.(*Manager).ComputeBlock(0xc25030a000, {0x288e950?, 0x1276c0fbe60}, 0xc1a9893dc0, {0x28a4360, 0xc1aa045ef0}) /app/engine/execution/computation/manager.go:293 +0x1d3 github.com/onflow/flow-go/engine/execution/ingestion.(*Engine).executeBlock(0xc1678eb4a0, {0x288e8a8, 0xc25358ab80}, 0xc1a9893dc0) /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 --> 1dfd1e5b87b847dc.BloctoStorageRent:45:4Arguments:
nodeID:
2cfab7e9163475282f67186b06ce6eea7fa0687d25dd9c7a84532f2016bc2e5e
amount:
0.0003195
Loading...