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 115519419175 [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(0xfd2cdb8d00, 0x2387cd8) /go/pkg/mod/github.com/onflow/cadence@v0.25.0/runtime/interpreter/interpreter.go:1140 +0x14e panic({0x1d76aa0, 0xfd0ac68e10}) /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({0x25debe0?, 0xfd2cdb8d00?}, 0xfd2a2f5208?) /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}, {0xfd2cdd01a0, 0x1, 0x1}, {0xfd2c7e3b50, 0x1, 0x1}, 0xfd2c7e3b40, 0xfd2cd91d00, ...}) /go/pkg/mod/github.com/onflow/cadence@v0.25.0/runtime/runtime.go:1556 +0x272 github.com/onflow/cadence/runtime/interpreter.(*HostFunctionValue).invoke(0xfd2cd91d00?, {{0x0, 0x0}, {0xfd2cdd01a0, 0x1, 0x1}, {0xfd2c7e3b50, 0x1, 0x1}, 0xfd2c7e3b40, ...}) /go/pkg/mod/github.com/onflow/cadence@v0.25.0/runtime/interpreter/function.go:249 +0x55 github.com/onflow/cadence/runtime/interpreter.(*Interpreter).invokeFunctionValue(0xfd2cdb8d00, {0x2615068, 0xfd2c7e5620}, {0xfd2cdd0190, 0x1, 0xfd2cdd00a0?}, {0xfd2cdd0180, 0x1, 0x108ff099da0?}, {0xfd2c7e3b50, ...}, ...) /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(0xfd2cdb8d00, 0xfd2cdc0150) /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(0xfd2a2f56c0?, {0x261ebc0?, 0xfd2cdb8d00?}) /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(0x0?) /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(0xfd2cdb8d00, 0xfd2b2857c0, 0xfd2a2f57f0) /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?, 0xfd2a2f57e0?) /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(0xe5fa728540?, {0x261ebc0?, 0xfd2cdb8d00?}) /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(0xfd2cdb8d00, {0x260ada8?, 0xfd2b2857c0}) /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?, {0xfd2cdb6420?, 0x2, 0xfd2c7e5e60?}) /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(0xfd2cdb8d00, {0x0, 0x0, 0x0}, {0x0, 0x0, 0xc026000000?}, 0xfd2a2f5a60, {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(0xfd2cdb8d00?, 0xfd2cdc4380?, {0xfd2cdb6f90?, 0x1?, 0xc022f79bc0?}) /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(0xfd2cdb8d00, 0xfd2cdc4380, {{0x2616160, 0xc022f79bc0}, {0xfd2cdb6f90, 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({{0x2616160, 0xc022f79bc0}, {0xfd2cdb6f90, 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}, {0xfd2cdb6f80, 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(0x1d76020?, {0x2615068, 0xfd2c7e5d28}, 0xfd0ac68c18?, {0xfd2cdb6f60, 0x2, 0x108ff0984b0?}) /go/pkg/mod/github.com/onflow/cadence@v0.25.0/runtime/interpreter/interpreter.go:1082 +0x1be github.com/onflow/cadence/runtime/interpreter.(*Interpreter).InvokeTransaction(0xfd2cdb8d00, 0xfd2cdb6f70?, {0xfd2cdb6f60, 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(0xfd2cdb8d00) /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(0xfd2a2f62b0, {0x261ea60?, 0xfd1dda5600?}, 0xfd2a2f62d8) /go/pkg/mod/github.com/onflow/cadence@v0.25.0/runtime/runtime.go:230 +0x65 github.com/onflow/cadence/runtime.(*interpreterRuntime).interpret(0x16?, 0x260fa30?, {{0x261ea60, 0xfd1dda5600}, {0x2605f78, 0x1027c1ee3c0}, {0xfd2cdc0000, 0x1, 0x1}, 0x108ff0984b0, ...}, ...) /go/pkg/mod/github.com/onflow/cadence@v0.25.0/runtime/runtime.go:431 +0x217 github.com/onflow/cadence/runtime.(*interpreterTransactionExecutor).execute(0xfd0139a8c0) /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(0xfd0139a8c0?) /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(0xfaf566dd10, {{0xd3e2c84240, 0x8e, 0x8e}, {0xfbd37ae708, 0x1, 0x1}}, {{0x261ea60, 0xfd1dda5600}, {0x2605f78, ...}, ...}) /go/pkg/mod/github.com/onflow/cadence@v0.25.0/runtime/runtime.go:537 +0x226 github.com/onflow/flow-go/fvm.(*TransactionInvoker).Process(0xfaf8feaea0, 0xfaf8fded10, 0xfd0139a640, 0xfcd419fef0, 0xfd2c7e44c8, 0x40f505?) /app/fvm/transactionInvoker.go:92 +0x8c2 github.com/onflow/flow-go/fvm.(*TransactionProcedure).Run(_, _, {{0x260e270, 0x37155b0}, {0x25e00e0, 0xc025ee13d0}, {0x7ebc80a98050, 0xc000a79c00}, {0x260d4e8, 0xc000838dc0}, ...}, ...) /app/fvm/transaction.go:65 +0x218 github.com/onflow/flow-go/fvm.(*VirtualMachine).Run(_, {{0x260e270, 0x37155b0}, {0x25e00e0, 0xc025ee13d0}, {0x7ebc80a98050, 0xc000a79c00}, {0x260d4e8, 0xc000838dc0}, 0x1, ...}, ...) /app/fvm/fvm.go:59 +0x291 github.com/onflow/flow-go/engine/execution/computation/computer.(*blockComputer).executeTransaction(_, _, {_, _}, {_, _}, _, {{0x260e270, 0x37155b0}, {0x25e00e0, ...}, ...}, ...) /app/engine/execution/computation/computer/computer.go:406 +0xf95 github.com/onflow/flow-go/engine/execution/computation/computer.(*blockComputer).executeCollection(_, {_, _}, _, _, {{0x260e270, 0x37155b0}, {0x25e00e0, 0xc025ee13d0}, {0x25fc988, ...}, ...}, ...) /app/engine/execution/computation/computer/computer.go:341 +0x627 github.com/onflow/flow-go/engine/execution/computation/computer.(*blockComputer).executeBlock(0xfaf9120000, {0x25fb8b0, 0xf9c020b5c0}, {0x260dcc8, 0x392ce10}, 0xfbcd2e7900, {0x260d368, 0xfd27b5e280?}, 0x0?) /app/engine/execution/computation/computer/computer.go:189 +0xd65 github.com/onflow/flow-go/engine/execution/computation/computer.(*blockComputer).ExecuteBlock(0xfaf9120000, {0x25fb8b0, 0xf9c020b5c0}, 0xfbcd2e7900, {0x260d368, 0xfd27b5e280}, 0xfebae6ea80?) /app/engine/execution/computation/computer/computer.go:112 +0x33b github.com/onflow/flow-go/engine/execution/computation.(*Manager).ComputeBlock(0xfa1749f440, {0x25fb8b0?, 0xf9c020b5c0}, 0xfbcd2e7900, {0x260d368, 0xfd27b5e280}) /app/engine/execution/computation/manager.go:260 +0x2b5 github.com/onflow/flow-go/engine/execution/ingestion.(*Engine).executeBlock(0xf96a8f3500, {0x25fb808, 0xfafa57d7c0}, 0xfbcd2e7900) /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 --> 46a50561e7deb7c677428af49920bd05414da39962f247bcec09720850ac12ec:3:2 | 3 | let newAcct = AuthAccount(payer: acct) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^Arguments:
key:
f847b840dd5521fe8c47...95f343e34902038203e8
Loading...