Flow price: --
d75097a739477bd713ded2ea0fb02ddb5a16ef2f29a7fe3ebee28da65c5a1e61

Transaction

Hash: d75097a739477bd713ded2ea0fb02ddb5a16ef2f29a7fe3ebee28da65c5a1e61
error
Error

Whoops! 😨 Something unexpected happened...

[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 513975908168 [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(0xc4b497c000, 0x2398bb8)
	/go/pkg/mod/github.com/onflow/cadence@v0.25.2/runtime/interpreter/interpreter.go:1140 +0x14e
panic({0x1d85a00, 0x10443f0d380})
	/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({0x25f18e0?, 0xc4b497c000?}, 0xc4b1678f78?)
	/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}, {0xc4b497e420, 0x1, 0x1}, {0xc4b491fb70, 0x1, 0x1}, 0xc4b491fb60, 0xc4b494f500, ...})
	/go/pkg/mod/github.com/onflow/cadence@v0.25.2/runtime/runtime.go:1556 +0x25f
github.com/onflow/cadence/runtime/interpreter.(*HostFunctionValue).invoke(0xc4b494f500?, {{0x0, 0x0}, {0xc4b497e420, 0x1, 0x1}, {0xc4b491fb70, 0x1, 0x1}, 0xc4b491fb60, ...})
	/go/pkg/mod/github.com/onflow/cadence@v0.25.2/runtime/interpreter/function.go:249 +0x55
github.com/onflow/cadence/runtime/interpreter.(*Interpreter).invokeFunctionValue(0xc4b497c000, {0x2627e68, 0xc4b4952990}, {0xc4b497e410, 0x1, 0x1f3c700?}, {0xc4b497e400, 0x1, 0x40f505?}, {0xc4b491fb70, ...}, ...)
	/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(0xc4b497c000, 0xc4b4905dc0)
	/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(0x48?, {0x26319d0?, 0xc4b497c000?})
	/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(0x0?)
	/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(0xc4b497c000, 0xc4b2aff180, 0xc4b1679578)
	/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?, 0xc4b1679568?)
	/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(0x10d0cd0eae0?, {0x26319d0?, 0xc4b497c000?})
	/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(0xc4b497c000, {0x261dba8?, 0xc4b2aff180})
	/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(0x1dfb640?, {0xc4b494ee00?, 0x3, 0xc4b4953620?})
	/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(0xc4b497c000, {0x0, 0x0, 0x0}, {0x0, 0x0, 0xc00bb80400?}, 0xc4b16797e8, {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(0xc4b497c000?, 0xc4b4978300?, {0x10d0cd0ea10?, 0x1?, 0xc9dd90a6c0?})
	/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(0xc4b497c000, 0xc4b4978300, {{0x2628f60, 0xc9dd90a6c0}, {0x10d0cd0ea10, 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({{0x2628f60, 0xc9dd90a6c0}, {0x10d0cd0ea10, 0x1, 0x1}, {0x0, 0x0, 0x0}, 0x0, 0x2398be0, ...})
	/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(0x2398be0?, {{0x0, 0x0}, {0x10d0cd0e9f0, 0x3, 0x3}, {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(0x1d85080?, {0x2627e68, 0xc4b4953440}, 0x10443f0d180?, {0xc4b494f480, 0x3, 0xc4b497c000?})
	/go/pkg/mod/github.com/onflow/cadence@v0.25.2/runtime/interpreter/interpreter.go:1082 +0x1be
github.com/onflow/cadence/runtime/interpreter.(*Interpreter).InvokeTransaction(0xc4b497c000, 0xc4b494f4a0?, {0xc4b494f480, 0x3, 0x4})
	/go/pkg/mod/github.com/onflow/cadence@v0.25.2/runtime/interpreter/interpreter.go:1124 +0x2c5
github.com/onflow/cadence/runtime.(*interpreterRuntime).transactionExecutionFunction.func1(0xc4b497c000)
	/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(0xc4b167a050, {0x2631870?, 0xc4b31a3800?}, 0xc4b167a078)
	/go/pkg/mod/github.com/onflow/cadence@v0.25.2/runtime/runtime.go:230 +0x65
github.com/onflow/cadence/runtime.(*interpreterRuntime).interpret(0x0?, 0x0?, {{0x2631870, 0xc4b31a3800}, {0x2618d78, 0x11204775ac0}, {0xc4b4905c00, 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(0x102d2040b00)
	/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?, 0xc00bb80401?)
	/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(0x102d2040b00?)
	/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(0xc4d5c42df8, {{0x105dcd2e840, 0x14a, 0x14a}, {0x10cc2bd19b0, 0x2, 0x2}}, {{0x2631870, 0xc4b31a3800}, {0x2618d78, ...}, ...})
	/go/pkg/mod/github.com/onflow/cadence@v0.25.2/runtime/runtime.go:537 +0x1ff
github.com/onflow/flow-go/fvm.(*TransactionInvoker).Process(0xd2d3212180, 0xc4d54cb560, 0xc4b2d5e640, 0xc4b10b7c30, 0xc4b4917830, 0x40f505?)
	/app/fvm/transactionInvoker.go:101 +0x9a4
github.com/onflow/flow-go/fvm.(*TransactionProcedure).Run(_, _, {{0x2621070, 0x372e5b0}, {0x25f2e00, 0xc01a0a4d00}, {0x784ca232ffe0, 0xc011501400}, {0x26202e8, 0xc000affd60}, ...}, ...)
	/app/fvm/transaction.go:65 +0x218
github.com/onflow/flow-go/fvm.(*VirtualMachine).Run(_, {{0x2621070, 0x372e5b0}, {0x25f2e00, 0xc01a0a4d00}, {0x784ca232ffe0, 0xc011501400}, {0x26202e8, 0xc000affd60}, 0x1, ...}, ...)
	/app/fvm/fvm.go:59 +0x291
github.com/onflow/flow-go/engine/execution/computation/computer.(*blockComputer).executeTransaction(_, _, {_, _}, {_, _}, _, {{0x2621070, 0x372e5b0}, {0x25f2e00, ...}, ...}, ...)
	/app/engine/execution/computation/computer/computer.go:406 +0xf9c
github.com/onflow/flow-go/engine/execution/computation/computer.(*blockComputer).executeCollection(_, {_, _}, _, _, {{0x2621070, 0x372e5b0}, {0x25f2e00, 0xc01a0a4d00}, {0x260f748, ...}, ...}, ...)
	/app/engine/execution/computation/computer/computer.go:341 +0x627
github.com/onflow/flow-go/engine/execution/computation/computer.(*blockComputer).executeBlock(0x1035cd4e000, {0x260e670, 0x110d066af30}, {0x2620ac8, 0x3945ef0}, 0xc1f1396300, {0x2620168, 0xc4af9d2690?}, 0x0?)
	/app/engine/execution/computation/computer/computer.go:189 +0xd6d
github.com/onflow/flow-go/engine/execution/computation/computer.(*blockComputer).ExecuteBlock(0x1035cd4e000, {0x260e670, 0x110d066af30}, 0xc1f1396300, {0x2620168, 0xc4af9d2690}, 0xc4afd732c0?)
	/app/engine/execution/computation/computer/computer.go:112 +0x33b
github.com/onflow/flow-go/engine/execution/computation.(*Manager).ComputeBlock(0xc603810d80, {0x260e670?, 0x110d066af30}, 0xc1f1396300, {0x2620168, 0xc4af9d2690})
	/app/engine/execution/computation/manager.go:264 +0x2bd
github.com/onflow/flow-go/engine/execution/ingestion.(*Engine).executeBlock(0x10367362000, {0x260e5c8, 0x1008a4eca80}, 0xc1f1396300)
	/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

 --> d75097a739477bd713ded2ea0fb02ddb5a16ef2f29a7fe3ebee28da65c5a1e61:4:2
  |
4 | 		let acct = AuthAccount(payer: signer)
  | 		^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Hash:
d75097a739477bd713ded2ea0fb02ddb5a16ef2f29a7fe3ebee28da65c5a1e61
Status:
ERROR
Block height:
39673399
Block id:
9e4048dc67905cfca7e12c3b154cf2e6f848a5608e299affd82025bbb5202d28
Timestamp:
Tuesday 25 October 2022 at 06:40:00 UTC
()
Proposer:
Authorizers:
Gas used:
67