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 30878430075 [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.0/runtime/errors/errors.go:139 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).RecoverErrors(0x100d3347d40, 0x2386d38) /go/pkg/mod/github.com/onflow/cadence@v0.25.0/runtime/interpreter/interpreter.go:1140 +0x14e panic({0x1d75aa0, 0x100c9572fb8}) /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.0/runtime/runtime.go:1550 +0xf2 github.com/onflow/cadence/runtime/interpreter.NewAddressValueFromConstructor({0x25de500?, 0x100d3347d40?}, 0x100cb8a91f8?) /go/pkg/mod/github.com/onflow/cadence@v0.25.0/runtime/interpreter/value.go:17658 +0x64 github.com/onflow/cadence/runtime.(*interpreterRuntime).newCreateAccountFunction.func1({{0x0, 0x0}, {0x100d337f0a0, 0x1, 0x1}, {0x100d337ea60, 0x1, 0x1}, 0x100d337ea50, 0x100d3608780, ...}) /go/pkg/mod/github.com/onflow/cadence@v0.25.0/runtime/runtime.go:1556 +0x272 github.com/onflow/cadence/runtime/interpreter.(*HostFunctionValue).invoke(0x100d3608780?, {{0x0, 0x0}, {0x100d337f0a0, 0x1, 0x1}, {0x100d337ea60, 0x1, 0x1}, 0x100d337ea50, ...}) /go/pkg/mod/github.com/onflow/cadence@v0.25.0/runtime/interpreter/function.go:249 +0x55 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).invokeFunctionValue(0x100d3347d40, {0x2614988, 0x100d3337bf0}, {0x100d337f090, 0x1, 0x100d337efb0?}, {0x100d337f080, 0x1, 0x10387457800?}, {0x100d337ea60, ...}, ...) /go/pkg/mod/github.com/onflow/cadence@v0.25.0/runtime/interpreter/interpreter_invocation.go:110 +0x185 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).VisitInvocationExpression(0x100d3347d40, 0x100d360c070) /go/pkg/mod/github.com/onflow/cadence@v0.25.0/runtime/interpreter/interpreter_expression.go:817 +0x5b2 github.com/onflow/cadence/runtime/ast.(*InvocationExpression).AcceptExp(...) /go/pkg/mod/github.com/onflow/cadence@v0.25.0/runtime/ast/expression.go:799 github.com/onflow/cadence/runtime/ast.(*InvocationExpression).Accept(0x100cb8a96b0?, {0x261e4e0?, 0x100d3347d40?}) /go/pkg/mod/github.com/onflow/cadence@v0.25.0/runtime/ast/expression.go:788 +0x42 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).evalExpression(...) /go/pkg/mod/github.com/onflow/cadence@v0.25.0/runtime/interpreter/interpreter_expression.go:241 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).assignmentGetterSetter.func1(0x40?) /go/pkg/mod/github.com/onflow/cadence@v0.25.0/runtime/interpreter/interpreter_expression.go:49 +0x2d github.com/onflow/cadence/runtime/interpreter.(*Interpreter).visitVariableDeclaration(0x100d3347d40, 0x100d0f379a0, 0x100cb8a97e0) /go/pkg/mod/github.com/onflow/cadence@v0.25.0/runtime/interpreter/interpreter_statement.go:436 +0x123 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).VisitVariableDeclaration(0x1?, 0x100cb8a97d0?) /go/pkg/mod/github.com/onflow/cadence@v0.25.0/runtime/interpreter/interpreter_statement.go:397 +0x35 github.com/onflow/cadence/runtime/ast.(*VariableDeclaration).Accept(0x10387457b60?, {0x261e4e0?, 0x100d3347d40?}) /go/pkg/mod/github.com/onflow/cadence@v0.25.0/runtime/ast/variable_declaration.go:103 +0x2d github.com/onflow/cadence/runtime/interpreter.(*Interpreter).evalStatement(0x100d3347d40, {0x260a6c8?, 0x100d0f379a0}) /go/pkg/mod/github.com/onflow/cadence@v0.25.0/runtime/interpreter/interpreter_statement.go:52 +0x143 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).visitStatements(0x1deb180?, {0x100d28b5fc0?, 0x2, 0x100d3618438?}) /go/pkg/mod/github.com/onflow/cadence@v0.25.0/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.0/runtime/interpreter/interpreter_invocation.go:157 +0x2d github.com/onflow/cadence/runtime/interpreter.(*Interpreter).visitFunctionBody(0x100d3347d40, {0x0, 0x0, 0x0}, {0x0, 0x0, 0xc000180000?}, 0x100cb8a9a50, {0x0, 0x0, ...}, ...) /go/pkg/mod/github.com/onflow/cadence@v0.25.0/runtime/interpreter/interpreter.go:1372 +0x164 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).invokeInterpretedFunctionActivated(0x100d3347d40?, 0x100d3330a80?, {0x100d360eb30?, 0x1?, 0xe5fcb32300?}) /go/pkg/mod/github.com/onflow/cadence@v0.25.0/runtime/interpreter/interpreter_invocation.go:153 +0x189 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).invokeInterpretedFunction(0x100d3347d40, 0x100d3330a80, {{0x2615a80, 0xe5fcb32300}, {0x100d360eb30, 0x1, 0x1}, {0x0, 0x0, 0x0}, ...}) /go/pkg/mod/github.com/onflow/cadence@v0.25.0/runtime/interpreter/interpreter_invocation.go:131 +0x265 github.com/onflow/cadence/runtime/interpreter.(*InterpretedFunctionValue).invoke(...) /go/pkg/mod/github.com/onflow/cadence@v0.25.0/runtime/interpreter/function.go:124 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).declareTransactionEntryPoint.func1({{0x2615a80, 0xe5fcb32300}, {0x100d360eb30, 0x1, 0x1}, {0x0, 0x0, 0x0}, 0x0, 0x2386d60, ...}) /go/pkg/mod/github.com/onflow/cadence@v0.25.0/runtime/interpreter/interpreter_transaction.go:106 +0x27e github.com/onflow/cadence/runtime/interpreter.(*HostFunctionValue).invoke(0x2386d60?, {{0x0, 0x0}, {0x100d360eb20, 0x2, 0x2}, {0x0, 0x0, 0x0}, 0x0, ...}) /go/pkg/mod/github.com/onflow/cadence@v0.25.0/runtime/interpreter/function.go:249 +0x55 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).invokeExternally(0x1d75020?, {0x2614988, 0x100d3618300}, 0x100c9572db8?, {0x100d360eb00, 0x2, 0x10387456030?}) /go/pkg/mod/github.com/onflow/cadence@v0.25.0/runtime/interpreter/interpreter.go:1082 +0x1be github.com/onflow/cadence/runtime/interpreter.(*Interpreter).InvokeTransaction(0x100d3347d40, 0x100d360eb10?, {0x100d360eb00, 0x2, 0x2}) /go/pkg/mod/github.com/onflow/cadence@v0.25.0/runtime/interpreter/interpreter.go:1124 +0x2c5 github.com/onflow/cadence/runtime.(*interpreterRuntime).transactionExecutionFunction.func1(0x100d3347d40) /go/pkg/mod/github.com/onflow/cadence@v0.25.0/runtime/runtime.go:614 +0x20a github.com/onflow/cadence/runtime.(*interpreterRuntime).interpret.func1() /go/pkg/mod/github.com/onflow/cadence@v0.25.0/runtime/runtime.go:437 +0x90 github.com/onflow/cadence/runtime.reportMetric(0x100cb8aa2a0, {0x261e380?, 0x100d0f1cc00?}, 0x100cb8aa2c8) /go/pkg/mod/github.com/onflow/cadence@v0.25.0/runtime/runtime.go:230 +0x65 github.com/onflow/cadence/runtime.(*interpreterRuntime).interpret(0x16?, 0x260f350?, {{0x261e380, 0x100d0f1cc00}, {0x2605898, 0x10389322ae0}, {0x100d19f5f10, 0x1, 0x1}, 0x10387456030, ...}, ...) /go/pkg/mod/github.com/onflow/cadence@v0.25.0/runtime/runtime.go:431 +0x217 github.com/onflow/cadence/runtime.(*interpreterTransactionExecutor).execute(0x100c0957b80) /go/pkg/mod/github.com/onflow/cadence@v0.25.0/runtime/transaction_executor.go:203 +0x356 github.com/onflow/cadence/runtime.(*interpreterTransactionExecutor).Execute.func1() /go/pkg/mod/github.com/onflow/cadence@v0.25.0/runtime/transaction_executor.go:80 +0x25 sync.(*Once).doSlow(0x0?, 0x1?) /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(0x100c0957b80?) /go/pkg/mod/github.com/onflow/cadence@v0.25.0/runtime/transaction_executor.go:79 +0x50 github.com/onflow/cadence/runtime.(*interpreterTransactionExecutor).Result(0x4c22c104e37b586a?) /go/pkg/mod/github.com/onflow/cadence@v0.25.0/runtime/transaction_executor.go:87 +0x19 github.com/onflow/cadence/runtime.(*interpreterRuntime).ExecuteTransaction(0xfe8f8b6390, {{0x109ad6bfcb0, 0x8e, 0x8e}, {0xf9bed347b0, 0x1, 0x1}}, {{0x261e380, 0x100d0f1cc00}, {0x2605898, ...}, ...}) /go/pkg/mod/github.com/onflow/cadence@v0.25.0/runtime/runtime.go:537 +0x226 github.com/onflow/flow-go/fvm.(*TransactionInvoker).Process(0xfe8e42fce0, 0xfe8e43da10, 0x100c0957900, 0x100ba0b5600, 0x100d3336a98, 0x40f505?) /app/fvm/transactionInvoker.go:100 +0x8c2 github.com/onflow/flow-go/fvm.(*TransactionProcedure).Run(_, _, {{0x260db90, 0x37155b0}, {0x25dfa00, 0xc1811b36c0}, {0x7c71e73490e8, 0xc0002c9500}, {0x260ce08, 0xc0004b75e0}, ...}, ...) /app/fvm/transaction.go:65 +0x218 github.com/onflow/flow-go/fvm.(*VirtualMachine).Run(_, {{0x260db90, 0x37155b0}, {0x25dfa00, 0xc1811b36c0}, {0x7c71e73490e8, 0xc0002c9500}, {0x260ce08, 0xc0004b75e0}, 0x1, ...}, ...) /app/fvm/fvm.go:59 +0x291 github.com/onflow/flow-go/engine/execution/computation/computer.(*blockComputer).executeTransaction(_, _, {_, _}, {_, _}, _, {{0x260db90, 0x37155b0}, {0x25dfa00, ...}, ...}, ...) /app/engine/execution/computation/computer/computer.go:406 +0xf9c github.com/onflow/flow-go/engine/execution/computation/computer.(*blockComputer).executeCollection(_, {_, _}, _, _, {{0x260db90, 0x37155b0}, {0x25dfa00, 0xc1811b36c0}, {0x25fc2a8, ...}, ...}, ...) /app/engine/execution/computation/computer/computer.go:341 +0x627 github.com/onflow/flow-go/engine/execution/computation/computer.(*blockComputer).executeBlock(0xfe8f8fe000, {0x25fb1d0, 0x102b4ecc1b0}, {0x260d5e8, 0x392ce10}, 0xf9c28595c0, {0x260cc88, 0x100ca24caa0?}, 0x0?) /app/engine/execution/computation/computer/computer.go:189 +0xd6d github.com/onflow/flow-go/engine/execution/computation/computer.(*blockComputer).ExecuteBlock(0xfe8f8fe000, {0x25fb1d0, 0x102b4ecc1b0}, 0xf9c28595c0, {0x260cc88, 0x100ca24caa0}, 0x100c8ef53c0?) /app/engine/execution/computation/computer/computer.go:112 +0x33b github.com/onflow/flow-go/engine/execution/computation.(*Manager).ComputeBlock(0xf8571ff680, {0x25fb1d0?, 0x102b4ecc1b0}, 0xf9c28595c0, {0x260cc88, 0x100ca24caa0}) /app/engine/execution/computation/manager.go:260 +0x2bd github.com/onflow/flow-go/engine/execution/ingestion.(*Engine).executeBlock(0xfb343141c0, {0x25fb128, 0xfe92134340}, 0xf9c28595c0) /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 --> 19903d044bdc18115463ebe5e685941cdeb30be95355aec6654ea46f8745eb70:3:2 | 3 | let newAcct = AuthAccount(payer: acct) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^Arguments:
key:
f847b840dd5521fe8c47...95f343e34902038203e8
Loading...