[Error Code: 1051] error caused by: 1 error occurred: * transaction invocation failed when executing transaction: [Error Code: 1101] cadence runtime error: Execution failed: error: internal error: add encoded account key failed: adding encoded account key failed: [Error Code: 1051] invalid value (f847b840eb6f83e5a6549e88ebfbc1ec2e4201e3541ee20d529d12706f4fc7071a9c50cc7f16191c46259502b2360446e43561bff7c5e600d8eefbdaaed5a7f835a375a503038203e8): invalid encoded public key value: input eb6f83e5a6549e88ebfbc1ec2e4201e3541ee20d529d12706f4fc7071a9c50cc7f16191c46259502b2360446e43561bff7c5e600d8eefbdaaed5a7f835a375a5 is not a valid ECDSA_secp256k1 key goroutine 10560844458 [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(0x10ea2bbbdc0, 0x2527360) /go/pkg/mod/github.com/onflow/cadence@v0.28.0/runtime/interpreter/interpreter.go:563 +0x14e panic({0x1de2e20, 0x10ea2bfa200}) /usr/local/go/src/runtime/panic.go:884 +0x212 github.com/onflow/cadence/runtime/stdlib.newAddPublicKeyFunction.func1({{0x0, 0x0}, {0x10ea2bdd510, 0x1, 0x1}, {0x10ea2bdd340, 0x1, 0x1}, 0x10ea2bdd330, {{0x28005a8, ...}, ...}, ...}) /go/pkg/mod/github.com/onflow/cadence@v0.28.0/runtime/stdlib/account.go:457 +0x2c8 github.com/onflow/cadence/runtime/interpreter.(*HostFunctionValue).invoke(0x28005a8?, {{0x0, 0x0}, {0x10ea2bdd510, 0x1, 0x1}, {0x10ea2bdd340, 0x1, 0x1}, 0x10ea2bdd330, ...}) /go/pkg/mod/github.com/onflow/cadence@v0.28.0/runtime/interpreter/function.go:261 +0x3a github.com/onflow/cadence/runtime/interpreter.(*Interpreter).invokeFunctionValue(0x10ea2bbbdc0, {0x281ede0, 0x10ea2beb2d8}, {0x10ea2bdd4b0, 0x1, 0x10ea2bdd400?}, {0x10ea2bdd4a0, 0x1, 0x10f7a071a58?}, {0x10ea2bdd340, ...}, ...) /go/pkg/mod/github.com/onflow/cadence@v0.28.0/runtime/interpreter/interpreter_invocation.go:116 +0x17d github.com/onflow/cadence/runtime/interpreter.(*Interpreter).VisitInvocationExpression(0x10ea2bbbdc0, 0x10ea2bbbb90) /go/pkg/mod/github.com/onflow/cadence@v0.28.0/runtime/interpreter/interpreter_expression.go:868 +0x58c github.com/onflow/cadence/runtime/ast.AcceptExpression[...]({0x2813880?, 0x10ea2bbbb90}, {0x28223d8, 0x10ea2bbbdc0}) /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).VisitExpressionStatement(0x10f7a071cd8?, 0xe998e8?) /go/pkg/mod/github.com/onflow/cadence@v0.28.0/runtime/interpreter/interpreter_statement.go:564 +0x34 github.com/onflow/cadence/runtime/ast.AcceptStatement[...]({0x280b9b0?, 0x10ea2bdd1f0}, {0x281d960, 0x10ea2bbbdc0}) /go/pkg/mod/github.com/onflow/cadence@v0.28.0/runtime/ast/visitor.go:135 +0x495 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).evalStatement(0x10ea2bbbdc0, {0x280b9b0?, 0x10ea2bdd1f0}) /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(0xbc725a?, {0x10ea2bdd200?, 0x1, 0xbc6e9b?}) /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(0x10ea2bbbdc0, {0x0, 0x0, 0x0}, {0x0, 0x0, 0xbc3105?}, 0x10f7a071f90, {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(0x10ea2bbbdc0?, 0x1281e543100?, {0x10ea2bfa070?, 0x1?, 0x13fe1884c60?}) /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(0x10ea2bbbdc0, 0x1281e543100, {{0x281ef30, 0x13fe1884c60}, {0x10ea2bfa070, 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({{0x281ef30, 0x13fe1884c60}, {0x10ea2bfa070, 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?, {{0x281ec90, 0x0}, {0x10ea2bfa060, 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(0x1e39d20?, {0x281ede0, 0x10ea2beb278}, 0x10e91b37aa0?, {0x10ea2bfa040, 0x2, 0x281fac0?}) /go/pkg/mod/github.com/onflow/cadence@v0.28.0/runtime/interpreter/interpreter.go:505 +0x23d github.com/onflow/cadence/runtime/interpreter.(*Interpreter).InvokeTransaction(0x10ea2bbbdc0, 0x10ea2bfa050?, {0x10ea2bfa040, 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(0x10ea2bbbdc0) /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(0x10f7a072820, {0x7bd1f3682300?, 0x14669411900?}, 0x10f7a072808) /go/pkg/mod/github.com/onflow/cadence@v0.28.0/runtime/runtime.go:200 +0x65 github.com/onflow/cadence/runtime.(*interpreterEnvironment).Interpret(0x150992bb400, {0x28005a8, 0x12b24338600}, 0x0?, 0x10ea2bd7a40) /go/pkg/mod/github.com/onflow/cadence@v0.28.0/runtime/environment.go:958 +0x10f github.com/onflow/cadence/runtime.(*interpreterTransactionExecutor).execute(0x1445bb23d40) /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?, 0x10e91b37a40?) /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(0x1445bb23d40?) /go/pkg/mod/github.com/onflow/cadence@v0.28.0/runtime/transaction_executor.go:74 +0x50 github.com/onflow/cadence/runtime.(*interpreterTransactionExecutor).Result(0x10e91b37a48?) /go/pkg/mod/github.com/onflow/cadence@v0.28.0/runtime/transaction_executor.go:82 +0x19 github.com/onflow/cadence/runtime.(*interpreterRuntime).ExecuteTransaction(0x150a3193380, {{0xc376996b80, 0x78, 0x78}, {0x109abb47b90, 0x1, 0x1}}, {{0x7bd1f3682300, 0x14669411900}, {0x28005a8, ...}, ...}) /go/pkg/mod/github.com/onflow/cadence@v0.28.0/runtime/runtime.go:306 +0x1f9 github.com/onflow/flow-go/fvm/runtime.WrappedCadenceRuntime.ExecuteTransaction({{0x2815a48?, 0x150a3193380?}}, {{0xc376996b80, 0x78, 0x78}, {0x109abb47b90, 0x1, 0x1}}, {{0x7bd1f3682300, 0x14669411900}, ...}) /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({}, 0x147a645afd0, 0x10ea2bcba00, {0x282d310, 0x14669411900}) /app/fvm/transactionInvoker.go:251 +0x2bc github.com/onflow/flow-go/fvm.TransactionInvoker.Process({}, {0x0, 0x186a0, 0xffffffffffffffff, 0x3e80, 0xf424000, 0x1312d00, {0xc321852900, 0x3, 0x3}, ...}, ...) /app/fvm/transactionInvoker.go:125 +0x4f0 github.com/onflow/flow-go/fvm.(*TransactionProcedure).Run(_, {0x0, 0x186a0, 0xffffffffffffffff, 0x3e80, 0xf424000, 0x1312d00, {0xc321852900, 0x3, 0x3}, ...}, ...) /app/fvm/transaction.go:72 +0xe7 github.com/onflow/flow-go/fvm.(*VirtualMachine).Run(_, {0x0, 0x186a0, 0xffffffffffffffff, 0x3e80, 0xf424000, 0x1312d00, {0xc321852900, 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(0xc246a36d80, {0x27fe270, 0x118caa49320}, {0x28145a0, 0x3be30e0}, 0x10996e9dec0, {0x2813c40?, 0x10e92281c70?}, 0x10e9273e400) /app/engine/execution/computation/computer/computer.go:193 +0xd75 github.com/onflow/flow-go/engine/execution/computation/computer.(*blockComputer).ExecuteBlock(0xc246a36d80, {0x27fe270, 0x118caa49320}, 0x10996e9dec0, {0x2813c40, 0x10e92281c70}, 0x21db226a641d7b65?) /app/engine/execution/computation/computer/computer.go:119 +0x33b github.com/onflow/flow-go/engine/execution/computation.(*Manager).ComputeBlock(0xc20ac1db80, {0x27fe270?, 0x118caa49320}, 0x10996e9dec0, {0x2813c40, 0x10e92281c70}) /app/engine/execution/computation/manager.go:292 +0x1d3 github.com/onflow/flow-go/engine/execution/ingestion.(*Engine).executeBlock(0xc323aee000, {0x27fe1c8, 0xc323ad0980}, 0x10996e9dec0) /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 --> d8b3ed2f4f71a1a6e2a5c6b3314f688bc1e20c82ab4f66a75125800c08cb92cb:4:2 | 4 | signer.addPublicKey(publicKey.decodeHex()) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^