Flow price: --
49ed3a5423c8e2bfc619aa493bc76343d806be155272a54b11fb9b5187fb5b32

Transaction

Hash: 49ed3a5423c8e2bfc619aa493bc76343d806be155272a54b11fb9b5187fb5b32
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 331037638571 [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(0x10df1d09380, 0x23997b0)
	/go/pkg/mod/github.com/onflow/cadence@v0.25.2/runtime/interpreter/interpreter.go:1140 +0x14e
panic({0x1d86880, 0x10de40dcee8})
	/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({0x25f20e0?, 0x10df1d09380?}, 0x10def45cf78?)
	/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}, {0x10df1d15280, 0x1, 0x1}, {0x10df1d149b0, 0x1, 0x1}, 0x10df1d149a0, 0x10df1d40040, ...})
	/go/pkg/mod/github.com/onflow/cadence@v0.25.2/runtime/runtime.go:1556 +0x25f
github.com/onflow/cadence/runtime/interpreter.(*HostFunctionValue).invoke(0x10df1d40040?, {{0x0, 0x0}, {0x10df1d15280, 0x1, 0x1}, {0x10df1d149b0, 0x1, 0x1}, 0x10df1d149a0, ...})
	/go/pkg/mod/github.com/onflow/cadence@v0.25.2/runtime/interpreter/function.go:249 +0x55
github.com/onflow/cadence/runtime/interpreter.(*Interpreter).invokeFunctionValue(0x10df1d09380, {0x2628688, 0x10df1d1a468}, {0x10df1d15270, 0x1, 0x1f3d420?}, {0x10df1d15260, 0x1, 0x40f505?}, {0x10df1d149b0, ...}, ...)
	/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(0x10df1d09380, 0x10df1d04c40)
	/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?, {0x26321f0?, 0x10df1d09380?})
	/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(0x80?)
	/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(0x10df1d09380, 0x10df03f08c0, 0x10def45d578)
	/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?, 0x10def45d568?)
	/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(0x10d6991dc20?, {0x26321f0?, 0x10df1d09380?})
	/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(0x10df1d09380, {0x261e3c8?, 0x10df03f08c0})
	/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(0x1dfc4c0?, {0x10df16e5940?, 0x3, 0x10df1d1b110?})
	/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(0x10df1d09380, {0x0, 0x0, 0x0}, {0x0, 0x0, 0xc01b100800?}, 0x10def45d7e8, {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(0x10df1d09380?, 0x10df1d34380?, {0x10d6991db50?, 0x1?, 0xe756c2fbc0?})
	/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(0x10df1d09380, 0x10df1d34380, {{0x2629780, 0xe756c2fbc0}, {0x10d6991db50, 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({{0x2629780, 0xe756c2fbc0}, {0x10d6991db50, 0x1, 0x1}, {0x0, 0x0, 0x0}, 0x0, 0x23997d8, ...})
	/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(0x23997d8?, {{0x0, 0x0}, {0x10d6991db30, 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(0x1d85f00?, {0x2628688, 0x10df1d1af30}, 0x10de40dcce0?, {0x10df16e5fc0, 0x3, 0x10df1d09380?})
	/go/pkg/mod/github.com/onflow/cadence@v0.25.2/runtime/interpreter/interpreter.go:1082 +0x1be
github.com/onflow/cadence/runtime/interpreter.(*Interpreter).InvokeTransaction(0x10df1d09380, 0x10df16e5fe0?, {0x10df16e5fc0, 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(0x10df1d09380)
	/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(0x10def45e050, {0x2632090?, 0x10de1e2da00?}, 0x10def45e078)
	/go/pkg/mod/github.com/onflow/cadence@v0.25.2/runtime/runtime.go:230 +0x65
github.com/onflow/cadence/runtime.(*interpreterRuntime).interpret(0x0?, 0x0?, {{0x2632090, 0x10de1e2da00}, {0x2619598, 0x10ed5a5fde0}, {0x10df1d04a80, 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(0x10df169ef20)
	/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?, 0xc01b100801?)
	/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(0x10df169ef20?)
	/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(0x1015001be60, {{0x10de75c6160, 0x14a, 0x14a}, {0x10e5f70e960, 0x2, 0x2}}, {{0x2632090, 0x10de1e2da00}, {0x2619598, ...}, ...})
	/go/pkg/mod/github.com/onflow/cadence@v0.25.2/runtime/runtime.go:537 +0x1ff
github.com/onflow/flow-go/fvm.(*TransactionInvoker).Process(0x10150030900, 0x1015003e820, 0x10dcf4c1400, 0x10ddab59a20, 0x10df16d12d8, 0x40f505?)
	/app/fvm/transactionInvoker.go:101 +0x9a4
github.com/onflow/flow-go/fvm.(*TransactionProcedure).Run(_, _, {{0x2621890, 0x372e5b0}, {0x25f3600, 0xc22b449fd0}, {0x7a7bc8d6a068, 0xc01b281800}, {0x2620b08, 0xc000771c20}, ...}, ...)
	/app/fvm/transaction.go:65 +0x218
github.com/onflow/flow-go/fvm.(*VirtualMachine).Run(_, {{0x2621890, 0x372e5b0}, {0x25f3600, 0xc22b449fd0}, {0x7a7bc8d6a068, 0xc01b281800}, {0x2620b08, 0xc000771c20}, 0x1, ...}, ...)
	/app/fvm/fvm.go:59 +0x291
github.com/onflow/flow-go/engine/execution/computation/computer.(*blockComputer).executeTransaction(_, _, {_, _}, {_, _}, _, {{0x2621890, 0x372e5b0}, {0x25f3600, ...}, ...}, ...)
	/app/engine/execution/computation/computer/computer.go:406 +0xf9c
github.com/onflow/flow-go/engine/execution/computation/computer.(*blockComputer).executeCollection(_, {_, _}, _, _, {{0x2621890, 0x372e5b0}, {0x25f3600, 0xc22b449fd0}, {0x260ff68, ...}, ...}, ...)
	/app/engine/execution/computation/computer/computer.go:341 +0x627
github.com/onflow/flow-go/engine/execution/computation/computer.(*blockComputer).executeBlock(0xfc72f6ec00, {0x260ee90, 0x10b923d1bc0}, {0x26212e8, 0x3945ef0}, 0x10dec10e540, {0x2620988, 0x10de6b6d7c0?}, 0x0?)
	/app/engine/execution/computation/computer/computer.go:189 +0xd6d
github.com/onflow/flow-go/engine/execution/computation/computer.(*blockComputer).ExecuteBlock(0xfc72f6ec00, {0x260ee90, 0x10b923d1bc0}, 0x10dec10e540, {0x2620988, 0x10de6b6d7c0}, 0x10ded8dfd80?)
	/app/engine/execution/computation/computer/computer.go:112 +0x33b
github.com/onflow/flow-go/engine/execution/computation.(*Manager).ComputeBlock(0xfc6d30efc0, {0x260ee90?, 0x10b923d1bc0}, 0x10dec10e540, {0x2620988, 0x10de6b6d7c0})
	/app/engine/execution/computation/manager.go:264 +0x2bd
github.com/onflow/flow-go/engine/execution/ingestion.(*Engine).executeBlock(0xf7313fe3c0, {0x260ede8, 0x1015192e300}, 0x10dec10e540)
	/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

 --> 49ed3a5423c8e2bfc619aa493bc76343d806be155272a54b11fb9b5187fb5b32:4:2
  |
4 | 		let acct = AuthAccount(payer: signer)
  | 		^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Hash:
49ed3a5423c8e2bfc619aa493bc76343d806be155272a54b11fb9b5187fb5b32
Status:
ERROR
Block height:
38496596
Block id:
1204a9864846dbed72902d891473be31ae933159d690c89d22817b167e5b6fc8
Timestamp:
Thursday 6 October 2022 at 00:32:28 UTC
()
Proposer:
Authorizers:
Gas used:
67