Error
Whoops! 😨 Something unexpected happened...
[Error Code: 1106] error caused by: 1 error occurred: * transaction invocation failed when executing transaction: [Error Code: 1101] cadence runtime error: Execution failed: error: internal error: get value failed: [Error Code: 1106] max interaction with storage has exceeded the limit (used: 20269442 bytes, limit 20000000 bytes) goroutine 9963659802 [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.28.0/runtime/errors/errors.go:139 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).RecoverErrors(0x10a7f47f420, 0x252c800) /go/pkg/mod/github.com/onflow/cadence@v0.28.0/runtime/interpreter/interpreter.go:563 +0x14e panic({0x1de7000, 0x10a7f5b72c0}) /usr/local/go/src/runtime/panic.go:884 +0x212 github.com/onflow/cadence/runtime.(*Storage).GetStorageMap(0x10a7ad9de40, {0x9, 0x7b, 0xaf, 0xa4, 0xe0, 0xb4, 0x8e, 0xef}, {0x213c738, ...}, ...) /go/pkg/mod/github.com/onflow/cadence@v0.28.0/runtime/storage.go:106 +0x4a6 github.com/onflow/cadence/runtime.(*interpreterEnvironment).loadContract(0x1185a2de1e0?, 0xc31acb6b70?, 0xc53d0130e0, 0xd?, {{0xcc, 0x8, 0xd}, {0xd2, 0x8, 0x13}}) /go/pkg/mod/github.com/onflow/cadence@v0.28.0/runtime/environment.go:868 +0xdd github.com/onflow/cadence/runtime.(*interpreterEnvironment).newContractValueHandler.func1(0x27e5aa0?, 0x10a7f5df2d0?, 0x27fbbb0?, {{0xcc, 0x8, 0xd}, {0xd2, 0x8, 0x13}}) /go/pkg/mod/github.com/onflow/cadence@v0.28.0/runtime/environment.go:732 +0x268 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).declareNonEnumCompositeValue.func5() /go/pkg/mod/github.com/onflow/cadence@v0.28.0/runtime/interpreter/interpreter.go:1253 +0x128 github.com/onflow/cadence/runtime/interpreter.(*Variable).GetValue(...) /go/pkg/mod/github.com/onflow/cadence@v0.28.0/runtime/interpreter/variable.go:30 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).VisitIdentifierExpression(0x10a7f47f420, 0x118f1904de0) /go/pkg/mod/github.com/onflow/cadence@v0.28.0/runtime/interpreter/interpreter_expression.go:244 +0x5e github.com/onflow/cadence/runtime/ast.AcceptExpression[...]({0x2819580?, 0x118f1904de0}, {0x2828078, 0x10a7f47f420}) /go/pkg/mod/github.com/onflow/cadence@v0.28.0/runtime/ast/visitor.go:221 +0x25a github.com/onflow/cadence/runtime/interpreter.(*Interpreter).evalExpression(...) /go/pkg/mod/github.com/onflow/cadence@v0.28.0/runtime/interpreter/interpreter_expression.go:252 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).memberExpressionGetterSetter(0x10a7f47f420, 0x1089b905c80) /go/pkg/mod/github.com/onflow/cadence@v0.28.0/runtime/interpreter/interpreter_expression.go:136 +0x77 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).VisitMemberExpression(0x10a7f47f420?, 0x40f79f?) /go/pkg/mod/github.com/onflow/cadence@v0.28.0/runtime/interpreter/interpreter_expression.go:771 +0x19 github.com/onflow/cadence/runtime/ast.AcceptExpression[...]({0x2819700?, 0x1089b905c80}, {0x2828078, 0x10a7f47f420}) /go/pkg/mod/github.com/onflow/cadence@v0.28.0/runtime/ast/visitor.go:236 +0x2e2 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).evalExpression(...) /go/pkg/mod/github.com/onflow/cadence@v0.28.0/runtime/interpreter/interpreter_expression.go:252 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).visitExpressionsNonCopying(0xb2a592?, {0x10a7f6fb430, 0x1, 0x2828078?}) /go/pkg/mod/github.com/onflow/cadence@v0.28.0/runtime/interpreter/interpreter_expression.go:893 +0xd3 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).VisitInvocationExpression(0x10a7f47f420, 0x10a7adf2b60) /go/pkg/mod/github.com/onflow/cadence@v0.28.0/runtime/interpreter/interpreter_expression.go:856 +0x3d4 github.com/onflow/cadence/runtime/ast.AcceptExpression[...]({0x28196a0?, 0x10a7adf2b60}, {0x2828078, 0x10a7f47f420}) /go/pkg/mod/github.com/onflow/cadence@v0.28.0/runtime/ast/visitor.go:218 +0x29d github.com/onflow/cadence/runtime/interpreter.(*Interpreter).evalExpression(...) /go/pkg/mod/github.com/onflow/cadence@v0.28.0/runtime/interpreter/interpreter_expression.go:252 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).assignmentGetterSetter.func1(0x20?) /go/pkg/mod/github.com/onflow/cadence@v0.28.0/runtime/interpreter/interpreter_expression.go:49 +0x33 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).visitVariableDeclaration(0x10a7f47f420, 0x120d8589220, 0x10a7a875c98) /go/pkg/mod/github.com/onflow/cadence@v0.28.0/runtime/interpreter/interpreter_statement.go:455 +0x109 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).VisitVariableDeclaration(0x10a7a875cd8?, 0xe99a28?) /go/pkg/mod/github.com/onflow/cadence@v0.28.0/runtime/interpreter/interpreter_statement.go:415 +0x35 github.com/onflow/cadence/runtime/ast.AcceptStatement[...]({0x2811a30?, 0x120d8589220}, {0x2823780, 0x10a7f47f420}) /go/pkg/mod/github.com/onflow/cadence@v0.28.0/runtime/ast/visitor.go:138 +0x3dd github.com/onflow/cadence/runtime/interpreter.(*Interpreter).evalStatement(0x10a7f47f420, {0x2811a30?, 0x120d8589220}) /go/pkg/mod/github.com/onflow/cadence@v0.28.0/runtime/interpreter/interpreter_statement.go:55 +0x145 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).visitStatements(0xbc739a?, {0x10a5ffdd800?, 0x64, 0xbc6fdb?}) /go/pkg/mod/github.com/onflow/cadence@v0.28.0/runtime/interpreter/interpreter_statement.go:61 +0x68 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).invokeInterpretedFunctionActivated.func2() /go/pkg/mod/github.com/onflow/cadence@v0.28.0/runtime/interpreter/interpreter_invocation.go:163 +0x2d github.com/onflow/cadence/runtime/interpreter.(*Interpreter).visitFunctionBody(0x10a7f47f420, {0x0, 0x0, 0x0}, {0x0, 0x0, 0xbc3245?}, 0x10a7a875f90, {0x0, 0x0, ...}, ...) /go/pkg/mod/github.com/onflow/cadence@v0.28.0/runtime/interpreter/interpreter.go:794 +0x1a7 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).invokeInterpretedFunctionActivated(0x10a7f47f420?, 0x10a7f84d500?, {0x10a7f5b7250?, 0x1?, 0xd99a68d0e0?}) /go/pkg/mod/github.com/onflow/cadence@v0.28.0/runtime/interpreter/interpreter_invocation.go:159 +0x1a5 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).invokeInterpretedFunction(0x10a7f47f420, 0x10a7f84d500, {{0x2824d50, 0xd99a68d0e0}, {0x10a7f5b7250, 0x1, 0x1}, {0x0, 0x0, 0x0}, ...}) /go/pkg/mod/github.com/onflow/cadence@v0.28.0/runtime/interpreter/interpreter_invocation.go:137 +0x1b3 github.com/onflow/cadence/runtime/interpreter.(*InterpretedFunctionValue).invoke(...) /go/pkg/mod/github.com/onflow/cadence@v0.28.0/runtime/interpreter/function.go:130 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).declareTransactionEntryPoint.func1({{0x2824d50, 0xd99a68d0e0}, {0x10a7f5b7250, 0x1, 0x1}, {0x0, 0x0, 0x0}, 0x0, {{0x0, ...}, ...}, ...}) /go/pkg/mod/github.com/onflow/cadence@v0.28.0/runtime/interpreter/interpreter_transaction.go:106 +0x1e5 github.com/onflow/cadence/runtime/interpreter.(*HostFunctionValue).invoke(0x0?, {{0x2824ab0, 0x0}, {0x10a7f5b7240, 0x2, 0x2}, {0x0, 0x0, 0x0}, 0x0, ...}) /go/pkg/mod/github.com/onflow/cadence@v0.28.0/runtime/interpreter/function.go:261 +0x3a github.com/onflow/cadence/runtime/interpreter.(*Interpreter).InvokeExternally(0x1e3df00?, {0x2824c00, 0x10a7f81d968}, 0x10a7ec83ec0?, {0x10a7f5b7220, 0x2, 0x28258e0?}) /go/pkg/mod/github.com/onflow/cadence@v0.28.0/runtime/interpreter/interpreter.go:505 +0x23d github.com/onflow/cadence/runtime/interpreter.(*Interpreter).InvokeTransaction(0x10a7f47f420, 0x10a7f5b7230?, {0x10a7f5b7220, 0x2, 0x2}) /go/pkg/mod/github.com/onflow/cadence@v0.28.0/runtime/interpreter/interpreter.go:547 +0x2c5 github.com/onflow/cadence/runtime.transactionExecutionFunction.func1(0x10a7f47f420) /go/pkg/mod/github.com/onflow/cadence@v0.28.0/runtime/transaction_executor.go:269 +0x272 github.com/onflow/cadence/runtime.(*interpreterEnvironment).Interpret.func1() /go/pkg/mod/github.com/onflow/cadence@v0.28.0/runtime/environment.go:964 +0x9e github.com/onflow/cadence/runtime.reportMetric(0x10a7a876820, {0x7b70c882e598?, 0x10a788b6c80?}, 0x10a7a876808) /go/pkg/mod/github.com/onflow/cadence@v0.28.0/runtime/runtime.go:200 +0x65 github.com/onflow/cadence/runtime.(*interpreterEnvironment).Interpret(0x11363e65300, {0x2806308, 0x137744cc040}, 0x0?, 0x10a7f1cb8b0) /go/pkg/mod/github.com/onflow/cadence@v0.28.0/runtime/environment.go:958 +0x10f github.com/onflow/cadence/runtime.(*interpreterTransactionExecutor).execute(0x10a7a967c20) /go/pkg/mod/github.com/onflow/cadence@v0.28.0/runtime/transaction_executor.go:223 +0x19c github.com/onflow/cadence/runtime.(*interpreterTransactionExecutor).Execute.func1() /go/pkg/mod/github.com/onflow/cadence@v0.28.0/runtime/transaction_executor.go:75 +0x25 sync.(*Once).doSlow(0x0?, 0x10a6c6592c8?) /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(0x10a7a967c20?) /go/pkg/mod/github.com/onflow/cadence@v0.28.0/runtime/transaction_executor.go:74 +0x50 github.com/onflow/cadence/runtime.(*interpreterTransactionExecutor).Result(0x10a6c6592d0?) /go/pkg/mod/github.com/onflow/cadence@v0.28.0/runtime/transaction_executor.go:82 +0x19 github.com/onflow/cadence/runtime.(*interpreterRuntime).ExecuteTransaction(0x1136ba4eba0, {{0x12f19833500, 0x63b4, 0x63b4}, {0x1093ba9a858, 0x1, 0x1}}, {{0x7b70c882e598, 0x10a788b6c80}, {0x2806308, ...}, ...}) /go/pkg/mod/github.com/onflow/cadence@v0.28.0/runtime/runtime.go:306 +0x1f9 github.com/onflow/flow-go/fvm/runtime.WrappedCadenceRuntime.ExecuteTransaction({{0x281b868?, 0x1136ba4eba0?}}, {{0x12f19833500, 0x63b4, 0x63b4}, {0x1093ba9a858, 0x1, 0x1}}, {{0x7b70c882e598, 0x10a788b6c80}, ...}) /app/fvm/runtime/wrapped_cadence_runtime.go:35 +0xb4 github.com/onflow/flow-go/fvm/runtime.(*ReusableCadenceRuntime).ExecuteTransaction(...) /app/fvm/runtime/reusable_cadence_runtime.go:140 github.com/onflow/flow-go/fvm.TransactionInvoker.normalExecution({}, 0x10a730476b0, 0x10a7ad8eba0, {0x2833210, 0x10a788b6c80}) /app/fvm/transactionInvoker.go:251 +0x2bc github.com/onflow/flow-go/fvm.TransactionInvoker.Process({}, {0x0, 0x186a0, 0xffffffffffffffff, 0x3e80, 0xf424000, 0x1312d00, {0x1085097a060, 0x3, 0x3}, ...}, ...) /app/fvm/transactionInvoker.go:125 +0x4f0 github.com/onflow/flow-go/fvm.(*TransactionProcedure).Run(_, {0x0, 0x186a0, 0xffffffffffffffff, 0x3e80, 0xf424000, 0x1312d00, {0x1085097a060, 0x3, 0x3}, ...}, ...) /app/fvm/transaction.go:72 +0xe7 github.com/onflow/flow-go/fvm.(*VirtualMachine).Run(_, {0x0, 0x186a0, 0xffffffffffffffff, 0x3e80, 0xf424000, 0x1312d00, {0x1085097a060, 0x3, 0x3}, ...}, ...) /app/fvm/fvm.go:128 +0xf86 github.com/onflow/flow-go/engine/execution/computation/computer.(*blockComputer).executeTransaction(_, _, {_, _}, {_, _}, {0x0, 0x186a0, 0xffffffffffffffff, 0x3e80, ...}, ...) /app/engine/execution/computation/computer/computer.go:435 +0x1679 github.com/onflow/flow-go/engine/execution/computation/computer.(*blockComputer).executeCollection(_, {_, _}, _, _, {0x0, 0x186a0, 0xffffffffffffffff, 0x3e80, 0xf424000, ...}, ...) /app/engine/execution/computation/computer/computer.go:353 +0x596 github.com/onflow/flow-go/engine/execution/computation/computer.(*blockComputer).executeBlock(0x108b3f1e900, {0x2803fd0, 0x113031a0b10}, {0x281a3c0, 0x3bec180}, 0x1092f503a40, {0x2819a60?, 0x10a79e87450?}, 0x10a78535a00) /app/engine/execution/computation/computer/computer.go:193 +0xd75 github.com/onflow/flow-go/engine/execution/computation/computer.(*blockComputer).ExecuteBlock(0x108b3f1e900, {0x2803fd0, 0x113031a0b10}, 0x1092f503a40, {0x2819a60, 0x10a79e87450}, 0xa337dd9695f27c6d?) /app/engine/execution/computation/computer/computer.go:119 +0x33b github.com/onflow/flow-go/engine/execution/computation.(*Manager).ComputeBlock(0x108afeb82c0, {0x2803fd0?, 0x113031a0b10}, 0x1092f503a40, {0x2819a60, 0x10a79e87450}) /app/engine/execution/computation/manager.go:292 +0x1d3 github.com/onflow/flow-go/engine/execution/ingestion.(*Engine).executeBlock(0x108b0fb61e0, {0x2803f28, 0xd1ee667340}, 0x1092f503a40) /app/engine/execution/ingestion/engine.go:618 +0x2ad github.com/onflow/flow-go/engine/execution/ingestion.(*Engine).executeBlockIfComplete.func1() /app/engine/execution/ingestion/engine.go:845 +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 --> 3778698dcbe7fa5093592518cb1642d8b686df9a0a800d8d5732eaf4b81e4d72:28:8 | 28 | let profileCapFirst = account.getCapability<&{Profile.Public}>(Profile.publicPath) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Arguments:
name:
MaybeNextTimeLol