CODE_ERROR
There is an error in the cadence code of this transaction.
[Error Code: 1101] cadence runtime error Execution failed: error: internal error: [Error Code: 1101] cadence runtime error Execution failed: error: pre-condition failed: Amount withdrawn must be less than or equal than the balance of the Vault --> f233dcee88fe0abe.FungibleToken:170:16 goroutine 417971074932 [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.25.0-patch.1/runtime/errors/errors.go:139 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).RecoverErrors(0x10c22bbfa00, 0x2387ee8) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.25.0-patch.1/runtime/interpreter/interpreter.go:1140 +0x14e panic({0x1d76d20, 0xf041bc3e70}) /usr/local/go/src/runtime/panic.go:838 +0x207 github.com/onflow/cadence/runtime.(*interpreterRuntime).newCreateAccountFunction.func1.1() /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.25.0-patch.1/runtime/runtime.go:1550 +0xdb github.com/onflow/cadence/runtime/interpreter.NewAddressValueFromConstructor({0x25df9e0?, 0x10c22bbfa00?}, 0xfd2bb20f78?) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.25.0-patch.1/runtime/interpreter/value.go:17658 +0x64 github.com/onflow/cadence/runtime.(*interpreterRuntime).newCreateAccountFunction.func1({{0x0, 0x0}, {0xe020d78450, 0x1, 0x1}, {0xdcbcbe3e10, 0x1, 0x1}, 0xdcbcbe3e00, 0xde95de6c80, ...}) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.25.0-patch.1/runtime/runtime.go:1556 +0x25f github.com/onflow/cadence/runtime/interpreter.(*HostFunctionValue).invoke(0xde95de6c80?, {{0x0, 0x0}, {0xe020d78450, 0x1, 0x1}, {0xdcbcbe3e10, 0x1, 0x1}, 0xdcbcbe3e00, ...}) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.25.0-patch.1/runtime/interpreter/function.go:249 +0x55 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).invokeFunctionValue(0x10c22bbfa00, {0x2615e68, 0xdecc14a540}, {0xe020d78440, 0x1, 0xe020d78360?}, {0xe020d78430, 0x1, 0x25e6b20?}, {0xdcbcbe3e10, ...}, ...) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.25.0-patch.1/runtime/interpreter/interpreter_invocation.go:110 +0x185 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).VisitInvocationExpression(0x10c22bbfa00, 0xdf27534150) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.25.0-patch.1/runtime/interpreter/interpreter_expression.go:817 +0x5b2 github.com/onflow/cadence/runtime/ast.(*InvocationExpression).AcceptExp(...) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.25.0-patch.1/runtime/ast/expression.go:799 github.com/onflow/cadence/runtime/ast.(*InvocationExpression).Accept(0xfd2bb21448?, {0x261f9c0?, 0x10c22bbfa00?}) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.25.0-patch.1/runtime/ast/expression.go:788 +0x42 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).evalExpression(...) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.25.0-patch.1/runtime/interpreter/interpreter_expression.go:241 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).assignmentGetterSetter.func1(0x0?) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.25.0-patch.1/runtime/interpreter/interpreter_expression.go:49 +0x2d github.com/onflow/cadence/runtime/interpreter.(*Interpreter).visitVariableDeclaration(0x10c22bbfa00, 0x10de031d0e0, 0xfd2bb21578) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.25.0-patch.1/runtime/interpreter/interpreter_statement.go:436 +0x123 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).VisitVariableDeclaration(0x1?, 0xfd2bb21568?) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.25.0-patch.1/runtime/interpreter/interpreter_statement.go:397 +0x35 github.com/onflow/cadence/runtime/ast.(*VariableDeclaration).Accept(0x10d808961e0?, {0x261f9c0?, 0x10c22bbfa00?}) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.25.0-patch.1/runtime/ast/variable_declaration.go:103 +0x2d github.com/onflow/cadence/runtime/interpreter.(*Interpreter).evalStatement(0x10c22bbfa00, {0x260bba8?, 0x10de031d0e0}) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.25.0-patch.1/runtime/interpreter/interpreter_statement.go:52 +0x143 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).visitStatements(0x1dec420?, {0xdf9f866020?, 0x2, 0xdecc14ad68?}) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.25.0-patch.1/runtime/interpreter/interpreter_statement.go:58 +0x68 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).invokeInterpretedFunctionActivated.func2() /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.25.0-patch.1/runtime/interpreter/interpreter_invocation.go:157 +0x2d github.com/onflow/cadence/runtime/interpreter.(*Interpreter).visitFunctionBody(0x10c22bbfa00, {0x0, 0x0, 0x0}, {0x0, 0x0, 0x1091da45000?}, 0xfd2bb217e8, {0x0, 0x0, ...}, ...) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.25.0-patch.1/runtime/interpreter/interpreter.go:1372 +0x164 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).invokeInterpretedFunctionActivated(0x10c22bbfa00?, 0x1025b2eb380?, {0xdf9f866b90?, 0x1?, 0xf89104c660?}) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.25.0-patch.1/runtime/interpreter/interpreter_invocation.go:153 +0x189 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).invokeInterpretedFunction(0x10c22bbfa00, 0x1025b2eb380, {{0x2616f60, 0xf89104c660}, {0xdf9f866b90, 0x1, 0x1}, {0x0, 0x0, 0x0}, ...}) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.25.0-patch.1/runtime/interpreter/interpreter_invocation.go:131 +0x265 github.com/onflow/cadence/runtime/interpreter.(*InterpretedFunctionValue).invoke(...) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.25.0-patch.1/runtime/interpreter/function.go:124 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).declareTransactionEntryPoint.func1({{0x2616f60, 0xf89104c660}, {0xdf9f866b90, 0x1, 0x1}, {0x0, 0x0, 0x0}, 0x0, 0x2387f10, ...}) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.25.0-patch.1/runtime/interpreter/interpreter_transaction.go:106 +0x27e github.com/onflow/cadence/runtime/interpreter.(*HostFunctionValue).invoke(0x2387f10?, {{0x0, 0x0}, {0xdf9f866b80, 0x2, 0x2}, {0x0, 0x0, 0x0}, 0x0, ...}) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.25.0-patch.1/runtime/interpreter/function.go:249 +0x55 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).invokeExternally(0x1d76320?, {0x2615e68, 0xdecc14ac18}, 0xf041bc3c70?, {0xdf9f866b60, 0x2, 0x10c22bbfa00?}) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.25.0-patch.1/runtime/interpreter/interpreter.go:1082 +0x1be github.com/onflow/cadence/runtime/interpreter.(*Interpreter).InvokeTransaction(0x10c22bbfa00, 0xdf9f866b70?, {0xdf9f866b60, 0x2, 0x2}) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.25.0-patch.1/runtime/interpreter/interpreter.go:1124 +0x2c5 github.com/onflow/cadence/runtime.(*interpreterRuntime).transactionExecutionFunction.func1(0x10c22bbfa00) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.25.0-patch.1/runtime/runtime.go:614 +0x20a github.com/onflow/cadence/runtime.(*interpreterRuntime).interpret.func1() /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.25.0-patch.1/runtime/runtime.go:437 +0x90 github.com/onflow/cadence/runtime.reportMetric(0xfd2bb22050, {0x261f860?, 0xfd21fa9e00?}, 0xfd2bb22078) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.25.0-patch.1/runtime/runtime.go:230 +0x65 github.com/onflow/cadence/runtime.(*interpreterRuntime).interpret(0x0?, 0x0?, {{0x261f860, 0xfd21fa9e00}, {0x2606d78, 0x105da159ce0}, {0xdf27534000, 0x1, 0x1}, {0x0, ...}, ...}, ...) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.25.0-patch.1/runtime/runtime.go:431 +0x1f8 github.com/onflow/cadence/runtime.(*interpreterTransactionExecutor).execute(0x10c7375f080) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.25.0-patch.1/runtime/transaction_executor.go:204 +0x32c github.com/onflow/cadence/runtime.(*interpreterTransactionExecutor).Execute.func1() /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.25.0-patch.1/runtime/transaction_executor.go:81 +0x25 sync.(*Once).doSlow(0x0?, 0x1091da45001?) /usr/local/go/src/sync/once.go:68 +0xc2 sync.(*Once).Do(...) /usr/local/go/src/sync/once.go:59 github.com/onflow/cadence/runtime.(*interpreterTransactionExecutor).Execute(0x10c7375f080?) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.25.0-patch.1/runtime/transaction_executor.go:80 +0x50 github.com/onflow/cadence/runtime.(*interpreterTransactionExecutor).Result(0x0?) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.25.0-patch.1/runtime/transaction_executor.go:88 +0x19 github.com/onflow/cadence/runtime.(*interpreterRuntime).ExecuteTransaction(0xf1c6cc21b0, {{0xcc9aed7050, 0x8e, 0x8e}, {0xf86fc22378, 0x1, 0x1}}, {{0x261f860, 0xfd21fa9e00}, {0x2606d78, ...}, ...}) /go/pkg/mod/github.com/dapperlabs/cadence-internal@v0.25.0-patch.1/runtime/runtime.go:537 +0x1ff github.com/onflow/flow-go/fvm.(*TransactionInvoker).Process(0xf7eaa08de0, 0xf1c6ca4490, 0xfafc5dfb80, 0x10e244c5600, 0xdc4e5013b0, 0x40f505?) /app/fvm/transactionInvoker.go:101 +0x9a4 github.com/onflow/flow-go/fvm.(*TransactionProcedure).Run(_, _, {{0x260f070, 0x37185b0}, {0x25e0ee0, 0xc125a500a0}, {0x7d0a0af498f8, 0xc125a4c380}, {0x260e2e8, 0xc0006d5540}, ...}, ...) /app/fvm/transaction.go:65 +0x218 github.com/onflow/flow-go/fvm.(*VirtualMachine).Run(_, {{0x260f070, 0x37185b0}, {0x25e0ee0, 0xc125a500a0}, {0x7d0a0af498f8, 0xc125a4c380}, {0x260e2e8, 0xc0006d5540}, 0x1, ...}, ...) /app/fvm/fvm.go:59 +0x291 github.com/onflow/flow-go/engine/execution/computation/computer.(*blockComputer).executeTransaction(_, _, {_, _}, {_, _}, _, {{0x260f070, 0x37185b0}, {0x25e0ee0, ...}, ...}, ...) /app/engine/execution/computation/computer/computer.go:406 +0xf9c github.com/onflow/flow-go/engine/execution/computation/computer.(*blockComputer).executeCollection(_, {_, _}, _, _, {{0x260f070, 0x37185b0}, {0x25e0ee0, 0xc125a500a0}, {0x25fd788, ...}, ...}, ...) /app/engine/execution/computation/computer/computer.go:341 +0x627 github.com/onflow/flow-go/engine/execution/computation/computer.(*blockComputer).executeBlock(0xc38ac9d200, {0x25fc6b0, 0x102e2ff9530}, {0x260eac8, 0x392fed0}, 0xf85b4a2bc0, {0x260e168, 0xf7c4c4ce10?}, 0x0?) /app/engine/execution/computation/computer/computer.go:189 +0xd6d github.com/onflow/flow-go/engine/execution/computation/computer.(*blockComputer).ExecuteBlock(0xc38ac9d200, {0x25fc6b0, 0x102e2ff9530}, 0xf85b4a2bc0, {0x260e168, 0xf7c4c4ce10}, 0xfb08bdc6c0?) /app/engine/execution/computation/computer/computer.go:112 +0x33b github.com/onflow/flow-go/engine/execution/computation.(*Manager).ComputeBlock(0xf1c6ccc000, {0x25fc6b0?, 0x102e2ff9530}, 0xf85b4a2bc0, {0x260e168, 0xf7c4c4ce10}) /app/engine/execution/computation/manager.go:260 +0x2bd github.com/onflow/flow-go/engine/execution/ingestion.(*Engine).executeBlock(0xc3c05a6e00, {0x25fc608, 0xf1d7685140}, 0xf85b4a2bc0) /app/engine/execution/ingestion/engine.go:579 +0x283 github.com/onflow/flow-go/engine/execution/ingestion.(*Engine).executeBlockIfComplete.func1() /app/engine/execution/ingestion/engine.go:788 +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 --> 2baa5dca2f3ed717219bcba6060c2ffed698ab53c8f3b1e9acd9099d5a16f53b:3:2 | 3 | let newAcct = AuthAccount(payer: acct) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^Arguments:
key:
f847b840dd5521fe8c47...95f343e34902038203e8
Loading...