CODE_ERROR
There is an error in the cadence code of this transaction.
[Error Code: 1101] error caused by: 1 error occurred: * transaction execute failed: [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:174:16 goroutine 1995604375 [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(0xc15d5796e0, 0x25ae0b8) /go/pkg/mod/github.com/onflow/cadence@v0.31.3/runtime/interpreter/interpreter.go:492 +0x14e panic({0x1ff6b00, 0x11889ad5728}) /usr/local/go/src/runtime/panic.go:884 +0x212 github.com/onflow/cadence/runtime/stdlib.NewAuthAccountConstructor.func1.1() /go/pkg/mod/github.com/onflow/cadence@v0.31.3/runtime/stdlib/account.go:125 +0xa5 github.com/onflow/cadence/runtime/interpreter.NewAddressValueFromConstructor({0x286e180?, 0xc15d5796e0?}, 0x11889119630?) /go/pkg/mod/github.com/onflow/cadence@v0.31.3/runtime/interpreter/value.go:17490 +0x64 github.com/onflow/cadence/runtime/stdlib.NewAuthAccountConstructor.func1({{{0x2890d68, 0x128b1a41760}, {0x28819d0, 0x118889f7ea0}}, 0x0, 0x11889909210, 0xc15d5796e0, {0x11889ad1870, 0x1, 0x1}, ...}) /go/pkg/mod/github.com/onflow/cadence@v0.31.3/runtime/stdlib/account.go:117 +0x245 github.com/onflow/cadence/runtime/interpreter.(*HostFunctionValue).invoke(0x1?, {{{0x2890d68, 0x128b1a41760}, {0x28819d0, 0x118889f7ea0}}, 0x0, 0x11889909210, 0xc15d5796e0, {0x11889ad1870, 0x1, ...}, ...}) /go/pkg/mod/github.com/onflow/cadence@v0.31.3/runtime/interpreter/function.go:255 +0x55 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).invokeFunctionValue(0xc15d5796e0?, {0x28b1160, 0xc205bdda10}, {0x11889ad1860?, 0x1?, 0x1?}, {0x11889ad1850?, 0x1?, 0x1?}, {0x11889909220, ...}, ...) /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(0xc15d5796e0, 0x118889f7ea0) /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?, 0x118889f7ea0}, {0x28b4598, 0xc15d5796e0}) /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).assignmentGetterSetter.func1(0xe0?) /go/pkg/mod/github.com/onflow/cadence@v0.31.3/runtime/interpreter/interpreter_expression.go:48 +0x33 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).visitVariableDeclaration(0xc15d5796e0, 0x11884a746e0, 0x11889119e40) /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(0x11889119e80?, 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?, 0x11884a746e0}, {0x28afce0, 0xc15d5796e0}) /go/pkg/mod/github.com/onflow/cadence@v0.31.3/runtime/ast/visitor.go:138 +0x3dd github.com/onflow/cadence/runtime/interpreter.(*Interpreter).evalStatement(0xc15d5796e0, {0x289d210?, 0x11884a746e0}) /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?, {0x1188992e000?, 0x14, 0x1188911a018?}) /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(0xc15d5796e0, {0x0, 0x0, 0x0}, {0x0, 0x0, 0xbd572d?}, 0x1188911a140, {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(0xc15d5796e0?, 0x11889947b80?, {0x118899509b0?, 0x1?, 0xc15d579740?}) /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(0xc15d5796e0, 0x11889947b80, {{{0x0, 0x0}, {0x0, 0x0}}, 0x118899509d0, 0x0, 0xc15d5796e0, {0x118899509b0, ...}, ...}) /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({{{0x0, 0x0}, {0x0, 0x0}}, 0x118899509d0, 0x0, 0xc15d5796e0, {0x118899509b0, 0x1, 0x1}, ...}) /go/pkg/mod/github.com/onflow/cadence@v0.31.3/runtime/interpreter/interpreter_transaction.go:107 +0x245 github.com/onflow/cadence/runtime/interpreter.(*HostFunctionValue).invoke(0x1?, {{{0x0, 0x0}, {0x0, 0x0}}, 0x0, 0x0, 0xc15d5796e0, {0x118899509b0, 0x1, ...}, ...}) /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, 0x1188994e708}, 0x1188990d900?, {0x118899509a0?, 0x1?, 0x1188911a6b8?}) /go/pkg/mod/github.com/onflow/cadence@v0.31.3/runtime/interpreter/interpreter.go:434 +0x21e github.com/onflow/cadence/runtime/interpreter.(*Interpreter).InvokeTransaction(0xc15d5796e0, 0x118899509a0?, {0x118899509a0, 0x1, 0x1}) /go/pkg/mod/github.com/onflow/cadence@v0.31.3/runtime/interpreter/interpreter.go:476 +0x2b6 github.com/onflow/cadence/runtime.(*interpreterTransactionExecutor).transactionExecutionFunction.func1(0xc15d5796e0) /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(0x1188911a998, {0x7df0e6ff41e0?, 0x117e70e2500?}, 0x1188911a980) /go/pkg/mod/github.com/onflow/cadence@v0.31.3/runtime/runtime.go:201 +0x65 github.com/onflow/cadence/runtime.(*interpreterEnvironment).Interpret(0xc1f4a5e080, {0x2890d68, 0x128b1a41760}, 0x1317e1bff40?, 0x118895557a0) /go/pkg/mod/github.com/onflow/cadence@v0.31.3/runtime/environment.go:988 +0x105 github.com/onflow/cadence/runtime.(*interpreterTransactionExecutor).execute(0x118889999e0) /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?, 0x1188990dc00?) /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(0x118889999e0?) /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?, 0x118889999e0?}}) /app/fvm/runtime/wrapped_cadence_runtime.go:89 +0x27 github.com/onflow/flow-go/fvm.(*transactionExecutor).normalExecution(0x117e2b698c0) /app/fvm/transactionInvoker.go:359 +0xc2 github.com/onflow/flow-go/fvm.(*transactionExecutor).ExecuteTransactionBody(0x117e2b698c0) /app/fvm/transactionInvoker.go:275 +0x10a github.com/onflow/flow-go/fvm.(*transactionExecutor).execute(0x117e2b698c0) /app/fvm/transactionInvoker.go:240 +0x9b github.com/onflow/flow-go/fvm.(*transactionExecutor).Execute(0x117e2b698c0?) /app/fvm/transactionInvoker.go:150 +0x1e github.com/onflow/flow-go/fvm.Run({0x2889fd0?, 0x117e2b698c0}) /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(_, {_, _}, {{0x11876707c40, 0x40}, 0x1, 0x2, 0x0, {0x0, 0x186a0, ...}, ...}, ...) /app/engine/execution/computation/computer/computer.go:456 +0x132d github.com/onflow/flow-go/engine/execution/computation/computer.(*blockComputer).executeCollection(_, {_, _}, _, {_, _}, {{0x11876707c40, 0x40}, 0x1, 0x1167a703d20, ...}, ...) /app/engine/execution/computation/computer/computer.go:394 +0xba8 github.com/onflow/flow-go/engine/execution/computation/computer.(*blockComputer).executeBlock(0xc1cd013200, {0x288e950, 0x1187f9bff80}, {0x28a4c60, 0x3cbe6c8}, 0x1167a740800, {0x28a4360, 0x1187f9d8c30?}, 0xede454?) /app/engine/execution/computation/computer/computer.go:281 +0x66a github.com/onflow/flow-go/engine/execution/computation/computer.(*blockComputer).ExecuteBlock(0xc1cd013200, {0x288e950, 0x1187f9bff80}, 0x1167a740800, {0x28a4360, 0x1187f9d8c30}, 0x1ebefb6d6311d592?) /app/engine/execution/computation/computer/computer.go:185 +0x33b github.com/onflow/flow-go/engine/execution/computation.(*Manager).ComputeBlock(0xc1ccf0a580, {0x288e950?, 0x1187f9bff80}, 0x1167a740800, {0x28a4360, 0x1187f9d8c30}) /app/engine/execution/computation/manager.go:293 +0x1d3 github.com/onflow/flow-go/engine/execution/ingestion.(*Engine).executeBlock(0xc1cfc90000, {0x288e8a8, 0xc1cd7fe700}, 0x1167a740800) /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 --> cc47e367614b462eee0d07c837e81812b35717953a3e951a25f54439f2923762:5:0 | 5 | let account_01 = AuthAccount(payer: signer) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^Loading...