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 102639713610 [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(0xffbdba5860, 0x2387cd8) /go/pkg/mod/github.com/onflow/cadence@v0.25.0/runtime/interpreter/interpreter.go:1140 +0x14e panic({0x1d76aa0, 0xff9a090d18}) /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({0x25dec00?, 0xffbdba5860?}, 0xffb9251200?) /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}, {0xffbdbd0510, 0x1, 0x1}, {0xffbdb93c50, 0x1, 0x1}, 0xffbdb93c40, 0xffbdba1940, ...}) /go/pkg/mod/github.com/onflow/cadence@v0.25.0/runtime/runtime.go:1556 +0x272 github.com/onflow/cadence/runtime/interpreter.(*HostFunctionValue).invoke(0xffbdba1940?, {{0x0, 0x0}, {0xffbdbd0510, 0x1, 0x1}, {0xffbdb93c50, 0x1, 0x1}, 0xffbdb93c40, ...}) /go/pkg/mod/github.com/onflow/cadence@v0.25.0/runtime/interpreter/function.go:249 +0x55 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).invokeFunctionValue(0xffbdba5860, {0x2615088, 0xffbdb89cc8}, {0xffbdbd0500, 0x1, 0x1f2c8c0?}, {0xffbdbd04f0, 0x1, 0x40f505?}, {0xffbdb93c50, ...}, ...) /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(0xffbdba5860, 0xffbd5f2620) /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(0x48?, {0x261ebe0?, 0xffbdba5860?}) /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(0x60?) /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(0xffbdba5860, 0xffbdbac1e0, 0xffb92517e8) /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?, 0xffb92517d8?) /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(0xffbdbcb1a0?, {0x261ebe0?, 0xffbdba5860?}) /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(0xffbdba5860, {0x260adc8?, 0xffbdbac1e0}) /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(0x1dec180?, {0xffbdba1240?, 0x3, 0xffbdbc8960?}) /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(0xffbdba5860, {0x0, 0x0, 0x0}, {0x0, 0x0, 0xc018d00000?}, 0xffb9251a58, {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(0xffbdba5860?, 0xffbd5cb900?, {0xffbdbcb0d0?, 0x1?, 0xe2bcd9e5a0?}) /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(0xffbdba5860, 0xffbd5cb900, {{0x2616180, 0xe2bcd9e5a0}, {0xffbdbcb0d0, 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({{0x2616180, 0xe2bcd9e5a0}, {0xffbdbcb0d0, 0x1, 0x1}, {0x0, 0x0, 0x0}, 0x0, 0x2387d00, ...}) /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(0x2387d00?, {{0x0, 0x0}, {0xffbdbcb0b0, 0x3, 0x3}, {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(0x1d76020?, {0x2615088, 0xffbdbc8798}, 0xff9a090b10?, {0xffbdba18c0, 0x3, 0xffbdbbcde0?}) /go/pkg/mod/github.com/onflow/cadence@v0.25.0/runtime/interpreter/interpreter.go:1082 +0x1be github.com/onflow/cadence/runtime/interpreter.(*Interpreter).InvokeTransaction(0xffbdba5860, 0xffbdba18e0?, {0xffbdba18c0, 0x3, 0x4}) /go/pkg/mod/github.com/onflow/cadence@v0.25.0/runtime/interpreter/interpreter.go:1124 +0x2c5 github.com/onflow/cadence/runtime.(*interpreterRuntime).transactionExecutionFunction.func1(0xffbdba5860) /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(0xffb92522a8, {0x261ea80?, 0xff9a0a1200?}, 0xffb92522d0) /go/pkg/mod/github.com/onflow/cadence@v0.25.0/runtime/runtime.go:230 +0x65 github.com/onflow/cadence/runtime.(*interpreterRuntime).interpret(0x16?, 0x260fa50?, {{0x261ea80, 0xff9a0a1200}, {0x2605f98, 0xf95ccc1ee0}, {0xffbd5f2460, 0x1, 0x1}, 0xffbdbbcde0, ...}, ...) /go/pkg/mod/github.com/onflow/cadence@v0.25.0/runtime/runtime.go:431 +0x217 github.com/onflow/cadence/runtime.(*interpreterTransactionExecutor).execute(0xff981c72c0) /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(0xff981c72c0?) /go/pkg/mod/github.com/onflow/cadence@v0.25.0/runtime/transaction_executor.go:79 +0x50 github.com/onflow/cadence/runtime.(*interpreterTransactionExecutor).Result(0xbeab03f325661d02?) /go/pkg/mod/github.com/onflow/cadence@v0.25.0/runtime/transaction_executor.go:87 +0x19 github.com/onflow/cadence/runtime.(*interpreterRuntime).ExecuteTransaction(0xc2808d6360, {{0x102a8ea8420, 0x14a, 0x14a}, {0xfd597603c0, 0x2, 0x2}}, {{0x261ea80, 0xff9a0a1200}, {0x2605f98, ...}, ...}) /go/pkg/mod/github.com/onflow/cadence@v0.25.0/runtime/runtime.go:537 +0x226 github.com/onflow/flow-go/fvm.(*TransactionInvoker).Process(0xdc5b166660, 0xc2808c44c0, 0xff981c7040, 0xff98196c60, 0xffbdb88b40, 0x40f505?) /app/fvm/transactionInvoker.go:100 +0x8c2 github.com/onflow/flow-go/fvm.(*TransactionProcedure).Run(_, _, {{0x260e290, 0x37155b0}, {0x25e0100, 0xc0ad040c60}, {0x7e2856343908, 0xc000903180}, {0x260d508, 0xc0006310e0}, ...}, ...) /app/fvm/transaction.go:65 +0x218 github.com/onflow/flow-go/fvm.(*VirtualMachine).Run(_, {{0x260e290, 0x37155b0}, {0x25e0100, 0xc0ad040c60}, {0x7e2856343908, 0xc000903180}, {0x260d508, 0xc0006310e0}, 0x1, ...}, ...) /app/fvm/fvm.go:59 +0x291 github.com/onflow/flow-go/engine/execution/computation/computer.(*blockComputer).executeTransaction(_, _, {_, _}, {_, _}, _, {{0x260e290, 0x37155b0}, {0x25e0100, ...}, ...}, ...) /app/engine/execution/computation/computer/computer.go:406 +0xf95 github.com/onflow/flow-go/engine/execution/computation/computer.(*blockComputer).executeCollection(_, {_, _}, _, _, {{0x260e290, 0x37155b0}, {0x25e0100, 0xc0ad040c60}, {0x25fc9a8, ...}, ...}, ...) /app/engine/execution/computation/computer/computer.go:341 +0x627 github.com/onflow/flow-go/engine/execution/computation/computer.(*blockComputer).executeBlock(0xfd4ce86c00, {0x25fb8d0, 0xffb033ff50}, {0x260d628, 0xffb0372f00}, 0xfd5f0b5100, {0x260d388, 0xff9ff3d1d0?}, 0x0?) /app/engine/execution/computation/computer/computer.go:189 +0xd65 github.com/onflow/flow-go/engine/execution/computation/computer.(*blockComputer).ExecuteBlock(0xfd4ce86c00, {0x25fb8d0, 0xffb033ff50}, 0xfd5f0b5100, {0x260d388, 0xff9ff3d1d0}, 0x7e28b8984390?) /app/engine/execution/computation/computer/computer.go:112 +0x33b github.com/onflow/flow-go/engine/execution/computation.(*Manager).ComputeBlock(0xffa6e83b00, {0x25fb8d0?, 0xffb033ff50}, 0xfd5f0b5100, {0x260d388, 0xff9ff3d1d0}) /app/engine/execution/computation/manager.go:260 +0x2b5 github.com/onflow/flow-go/engine/execution/ingestion.(*Engine).executeBlock(0xff94bc0c40, {0x25fb828, 0xc2831deb40}, 0xfd5f0b5100) /app/engine/execution/ingestion/engine.go:579 +0x284 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 --> a0a5fe2e6e938feae2c6890d18db03d2190d0ae3253f111d69548f4007084b3c:4:2 | 4 | let acct = AuthAccount(payer: signer) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^Arguments:
publicKeys:
["f847b840a561a1321f...ef1112b202038203e8"]
contracts:
Empty
Loading...