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 60093000770 [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.25.2/runtime/errors/errors.go:139 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).RecoverErrors(0xc12c3e6820, 0x2399770) /go/pkg/mod/github.com/onflow/cadence@v0.25.2/runtime/interpreter/interpreter.go:1140 +0x14e panic({0x1d86880, 0x102680c26e0}) /usr/local/go/src/runtime/panic.go:838 +0x207 github.com/onflow/cadence/runtime.(*interpreterRuntime).newCreateAccountFunction.func1.1() /go/pkg/mod/github.com/onflow/cadence@v0.25.2/runtime/runtime.go:1550 +0xdb github.com/onflow/cadence/runtime/interpreter.NewAddressValueFromConstructor({0x25f20c0?, 0xc12c3e6820?}, 0xc19abe2f78?) /go/pkg/mod/github.com/onflow/cadence@v0.25.2/runtime/interpreter/value.go:17658 +0x64 github.com/onflow/cadence/runtime.(*interpreterRuntime).newCreateAccountFunction.func1({{0x0, 0x0}, {0xc19b52cc70, 0x1, 0x1}, {0xc19b52c610, 0x1, 0x1}, 0xc19b52c600, 0xc19b52e400, ...}) /go/pkg/mod/github.com/onflow/cadence@v0.25.2/runtime/runtime.go:1556 +0x25f github.com/onflow/cadence/runtime/interpreter.(*HostFunctionValue).invoke(0xc19b52e400?, {{0x0, 0x0}, {0xc19b52cc70, 0x1, 0x1}, {0xc19b52c610, 0x1, 0x1}, 0xc19b52c600, ...}) /go/pkg/mod/github.com/onflow/cadence@v0.25.2/runtime/interpreter/function.go:249 +0x55 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).invokeFunctionValue(0xc12c3e6820, {0x2628628, 0xc19b52a948}, {0xc19b52cc60, 0x1, 0xc19b52cb70?}, {0xc19b52cc50, 0x1, 0x25f9260?}, {0xc19b52c610, ...}, ...) /go/pkg/mod/github.com/onflow/cadence@v0.25.2/runtime/interpreter/interpreter_invocation.go:110 +0x185 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).VisitInvocationExpression(0xc12c3e6820, 0xc19b5285b0) /go/pkg/mod/github.com/onflow/cadence@v0.25.2/runtime/interpreter/interpreter_expression.go:817 +0x5b2 github.com/onflow/cadence/runtime/ast.(*InvocationExpression).AcceptExp(...) /go/pkg/mod/github.com/onflow/cadence@v0.25.2/runtime/ast/expression.go:799 github.com/onflow/cadence/runtime/ast.(*InvocationExpression).Accept(0xc19abe3448?, {0x2632190?, 0xc12c3e6820?}) /go/pkg/mod/github.com/onflow/cadence@v0.25.2/runtime/ast/expression.go:788 +0x42 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).evalExpression(...) /go/pkg/mod/github.com/onflow/cadence@v0.25.2/runtime/interpreter/interpreter_expression.go:241 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).assignmentGetterSetter.func1(0x20?) /go/pkg/mod/github.com/onflow/cadence@v0.25.2/runtime/interpreter/interpreter_expression.go:49 +0x2d github.com/onflow/cadence/runtime/interpreter.(*Interpreter).visitVariableDeclaration(0xc12c3e6820, 0x10db2e84500, 0xc19abe3578) /go/pkg/mod/github.com/onflow/cadence@v0.25.2/runtime/interpreter/interpreter_statement.go:436 +0x123 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).VisitVariableDeclaration(0x1?, 0xc19abe3568?) /go/pkg/mod/github.com/onflow/cadence@v0.25.2/runtime/interpreter/interpreter_statement.go:397 +0x35 github.com/onflow/cadence/runtime/ast.(*VariableDeclaration).Accept(0x107ae210ff0?, {0x2632190?, 0xc12c3e6820?}) /go/pkg/mod/github.com/onflow/cadence@v0.25.2/runtime/ast/variable_declaration.go:103 +0x2d github.com/onflow/cadence/runtime/interpreter.(*Interpreter).evalStatement(0xc12c3e6820, {0x261e368?, 0x10db2e84500}) /go/pkg/mod/github.com/onflow/cadence@v0.25.2/runtime/interpreter/interpreter_statement.go:52 +0x143 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).visitStatements(0x1dfc4c0?, {0xc19b50bbe0?, 0x2, 0xc19b52b170?}) /go/pkg/mod/github.com/onflow/cadence@v0.25.2/runtime/interpreter/interpreter_statement.go:58 +0x68 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).invokeInterpretedFunctionActivated.func2() /go/pkg/mod/github.com/onflow/cadence@v0.25.2/runtime/interpreter/interpreter_invocation.go:157 +0x2d github.com/onflow/cadence/runtime/interpreter.(*Interpreter).visitFunctionBody(0xc12c3e6820, {0x0, 0x0, 0x0}, {0x0, 0x0, 0xc002280800?}, 0xc19abe37e8, {0x0, 0x0, ...}, ...) /go/pkg/mod/github.com/onflow/cadence@v0.25.2/runtime/interpreter/interpreter.go:1372 +0x164 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).invokeInterpretedFunctionActivated(0xc12c3e6820?, 0x1037d846a80?, {0xc19b530750?, 0x1?, 0xfe7bd96900?}) /go/pkg/mod/github.com/onflow/cadence@v0.25.2/runtime/interpreter/interpreter_invocation.go:153 +0x189 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).invokeInterpretedFunction(0xc12c3e6820, 0x1037d846a80, {{0x2629720, 0xfe7bd96900}, {0xc19b530750, 0x1, 0x1}, {0x0, 0x0, 0x0}, ...}) /go/pkg/mod/github.com/onflow/cadence@v0.25.2/runtime/interpreter/interpreter_invocation.go:131 +0x265 github.com/onflow/cadence/runtime/interpreter.(*InterpretedFunctionValue).invoke(...) /go/pkg/mod/github.com/onflow/cadence@v0.25.2/runtime/interpreter/function.go:124 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).declareTransactionEntryPoint.func1({{0x2629720, 0xfe7bd96900}, {0xc19b530750, 0x1, 0x1}, {0x0, 0x0, 0x0}, 0x0, 0x2399798, ...}) /go/pkg/mod/github.com/onflow/cadence@v0.25.2/runtime/interpreter/interpreter_transaction.go:106 +0x27e github.com/onflow/cadence/runtime/interpreter.(*HostFunctionValue).invoke(0x2399798?, {{0x0, 0x0}, {0xc19b530740, 0x2, 0x2}, {0x0, 0x0, 0x0}, 0x0, ...}) /go/pkg/mod/github.com/onflow/cadence@v0.25.2/runtime/interpreter/function.go:249 +0x55 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).invokeExternally(0x1d85f00?, {0x2628628, 0xc19b52b038}, 0x102680c24e8?, {0xc19b530720, 0x2, 0xc12c3e6820?}) /go/pkg/mod/github.com/onflow/cadence@v0.25.2/runtime/interpreter/interpreter.go:1082 +0x1be github.com/onflow/cadence/runtime/interpreter.(*Interpreter).InvokeTransaction(0xc12c3e6820, 0xc19b530730?, {0xc19b530720, 0x2, 0x2}) /go/pkg/mod/github.com/onflow/cadence@v0.25.2/runtime/interpreter/interpreter.go:1124 +0x2c5 github.com/onflow/cadence/runtime.(*interpreterRuntime).transactionExecutionFunction.func1(0xc12c3e6820) /go/pkg/mod/github.com/onflow/cadence@v0.25.2/runtime/runtime.go:614 +0x20a github.com/onflow/cadence/runtime.(*interpreterRuntime).interpret.func1() /go/pkg/mod/github.com/onflow/cadence@v0.25.2/runtime/runtime.go:437 +0x90 github.com/onflow/cadence/runtime.reportMetric(0xc19abe4050, {0x2632030?, 0x109e3290e00?}, 0xc19abe4078) /go/pkg/mod/github.com/onflow/cadence@v0.25.2/runtime/runtime.go:230 +0x65 github.com/onflow/cadence/runtime.(*interpreterRuntime).interpret(0x0?, 0x0?, {{0x2632030, 0x109e3290e00}, {0x2619538, 0x10e50603b40}, {0xc19b528460, 0x1, 0x1}, {0x0, ...}, ...}, ...) /go/pkg/mod/github.com/onflow/cadence@v0.25.2/runtime/runtime.go:431 +0x1f8 github.com/onflow/cadence/runtime.(*interpreterTransactionExecutor).execute(0x10819a18840) /go/pkg/mod/github.com/onflow/cadence@v0.25.2/runtime/transaction_executor.go:204 +0x32c github.com/onflow/cadence/runtime.(*interpreterTransactionExecutor).Execute.func1() /go/pkg/mod/github.com/onflow/cadence@v0.25.2/runtime/transaction_executor.go:81 +0x25 sync.(*Once).doSlow(0x0?, 0xc002280801?) /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(0x10819a18840?) /go/pkg/mod/github.com/onflow/cadence@v0.25.2/runtime/transaction_executor.go:80 +0x50 github.com/onflow/cadence/runtime.(*interpreterTransactionExecutor).Result(0x0?) /go/pkg/mod/github.com/onflow/cadence@v0.25.2/runtime/transaction_executor.go:88 +0x19 github.com/onflow/cadence/runtime.(*interpreterRuntime).ExecuteTransaction(0xc43df339e0, {{0x1090d138360, 0x8e, 0x8e}, {0xc14716fce0, 0x1, 0x1}}, {{0x2632030, 0x109e3290e00}, {0x2619538, ...}, ...}) /go/pkg/mod/github.com/onflow/cadence@v0.25.2/runtime/runtime.go:537 +0x1ff github.com/onflow/flow-go/fvm.(*TransactionInvoker).Process(0x101b73de3c0, 0xc43df11870, 0x10e5ca04500, 0x107a1be58c0, 0xc19b50d7b8, 0x40f505?) /app/fvm/transactionInvoker.go:101 +0x9a4 github.com/onflow/flow-go/fvm.(*TransactionProcedure).Run(_, _, {{0x2621830, 0x372e5b0}, {0x25f35e0, 0xc2a4795a20}, {0x7aa4fa47ebb0, 0xc2d708c400}, {0x2620aa8, 0xc000553720}, ...}, ...) /app/fvm/transaction.go:65 +0x218 github.com/onflow/flow-go/fvm.(*VirtualMachine).Run(_, {{0x2621830, 0x372e5b0}, {0x25f35e0, 0xc2a4795a20}, {0x7aa4fa47ebb0, 0xc2d708c400}, {0x2620aa8, 0xc000553720}, 0x1, ...}, ...) /app/fvm/fvm.go:59 +0x291 github.com/onflow/flow-go/engine/execution/computation/computer.(*blockComputer).executeTransaction(_, _, {_, _}, {_, _}, _, {{0x2621830, 0x372e5b0}, {0x25f35e0, ...}, ...}, ...) /app/engine/execution/computation/computer/computer.go:406 +0xf9c github.com/onflow/flow-go/engine/execution/computation/computer.(*blockComputer).executeCollection(_, {_, _}, _, _, {{0x2621830, 0x372e5b0}, {0x25f35e0, 0xc2a4795a20}, {0x260ff08, ...}, ...}, ...) /app/engine/execution/computation/computer/computer.go:341 +0x627 github.com/onflow/flow-go/engine/execution/computation/computer.(*blockComputer).executeBlock(0xc371c48600, {0x260ee30, 0x1057e9b49f0}, {0x2621288, 0x3945ef0}, 0xc14832b500, {0x2620928, 0xc152bc76d0?}, 0x0?) /app/engine/execution/computation/computer/computer.go:189 +0xd6d github.com/onflow/flow-go/engine/execution/computation/computer.(*blockComputer).ExecuteBlock(0xc371c48600, {0x260ee30, 0x1057e9b49f0}, 0xc14832b500, {0x2620928, 0xc152bc76d0}, 0xc19a3a2480?) /app/engine/execution/computation/computer/computer.go:112 +0x33b github.com/onflow/flow-go/engine/execution/computation.(*Manager).ComputeBlock(0xc3a6db3200, {0x260ee30?, 0x1057e9b49f0}, 0xc14832b500, {0x2620928, 0xc152bc76d0}) /app/engine/execution/computation/manager.go:264 +0x2bd github.com/onflow/flow-go/engine/execution/ingestion.(*Engine).executeBlock(0x100bdee7860, {0x260ed88, 0xc43e5293c0}, 0xc14832b500) /app/engine/execution/ingestion/engine.go:589 +0x283 github.com/onflow/flow-go/engine/execution/ingestion.(*Engine).executeBlockIfComplete.func1() /app/engine/execution/ingestion/engine.go:798 +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 --> 9f42bbbdc43ab7da070e7ddab26f1c6ae97b9384e532e5be9575f26038c8bd7b:3:2 | 3 | let newAcct = AuthAccount(payer: acct) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^Arguments:
key:
f847b840dd5521fe8c47...95f343e34902038203e8
Loading...