Flow price: --
0e56b02c35df871785ddd401c4d9e6e99afb0cd25212ca06cb7af62868ed0d29

Transaction

Hash: 0e56b02c35df871785ddd401c4d9e6e99afb0cd25212ca06cb7af62868ed0d29
error
Error

Whoops! 😨 Something unexpected happened...

[Error Code: 1101] error caused by: 1 error occurred:
	* transaction invocation failed when executing 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:174:16

goroutine 20562817013 [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.28.0/runtime/errors/errors.go:139
github.com/onflow/cadence/runtime/interpreter.(*Interpreter).RecoverErrors(0x126e303d650, 0x2540b48)
	/go/pkg/mod/github.com/onflow/cadence@v0.28.0/runtime/interpreter/interpreter.go:563 +0x14e
panic({0x1f9fe80, 0x11c2f3861c8})
	/usr/local/go/src/runtime/panic.go:884 +0x212
github.com/onflow/cadence/runtime/stdlib.NewAuthAccountConstructor.func1.1()
	/go/pkg/mod/github.com/onflow/cadence@v0.28.0/runtime/stdlib/account.go:123 +0xa5
github.com/onflow/cadence/runtime/interpreter.NewAddressValueFromConstructor({0x27fbf80?, 0x126e303d650?}, 0x11c2bba34e8?)
	/go/pkg/mod/github.com/onflow/cadence@v0.28.0/runtime/interpreter/value.go:17332 +0x64
github.com/onflow/cadence/runtime/stdlib.NewAuthAccountConstructor.func1({{0x0, 0x0}, {0x11c19ae87a0, 0x1, 0x1}, {0x11c19ae8300, 0x1, 0x1}, 0x11c19ae82f0, {{0x281c860, ...}, ...}, ...})
	/go/pkg/mod/github.com/onflow/cadence@v0.28.0/runtime/stdlib/account.go:115 +0x245
github.com/onflow/cadence/runtime/interpreter.(*HostFunctionValue).invoke(0x281c860?, {{0x0, 0x0}, {0x11c19ae87a0, 0x1, 0x1}, {0x11c19ae8300, 0x1, 0x1}, 0x11c19ae82f0, ...})
	/go/pkg/mod/github.com/onflow/cadence@v0.28.0/runtime/interpreter/function.go:261 +0x3a
github.com/onflow/cadence/runtime/interpreter.(*Interpreter).invokeFunctionValue(0x126e303d650, {0x283b2c0, 0x12d4d2b2810}, {0x11c19ae8790, 0x1, 0x0?}, {0x11c19ae8780, 0x1, 0x3?}, {0x11c19ae8300, ...}, ...)
	/go/pkg/mod/github.com/onflow/cadence@v0.28.0/runtime/interpreter/interpreter_invocation.go:116 +0x17d
github.com/onflow/cadence/runtime/interpreter.(*Interpreter).VisitInvocationExpression(0x126e303d650, 0x126e303ca80)
	/go/pkg/mod/github.com/onflow/cadence@v0.28.0/runtime/interpreter/interpreter_expression.go:868 +0x58c
github.com/onflow/cadence/runtime/ast.AcceptExpression[...]({0x282fc80?, 0x126e303ca80}, {0x283e738, 0x126e303d650})
	/go/pkg/mod/github.com/onflow/cadence@v0.28.0/runtime/ast/visitor.go:218 +0x29d
github.com/onflow/cadence/runtime/interpreter.(*Interpreter).evalExpression(...)
	/go/pkg/mod/github.com/onflow/cadence@v0.28.0/runtime/interpreter/interpreter_expression.go:252
github.com/onflow/cadence/runtime/interpreter.(*Interpreter).assignmentGetterSetter.func1(0x50?)
	/go/pkg/mod/github.com/onflow/cadence@v0.28.0/runtime/interpreter/interpreter_expression.go:49 +0x33
github.com/onflow/cadence/runtime/interpreter.(*Interpreter).visitVariableDeclaration(0x126e303d650, 0x143d1742780, 0x11c2bba3c98)
	/go/pkg/mod/github.com/onflow/cadence@v0.28.0/runtime/interpreter/interpreter_statement.go:455 +0x109
github.com/onflow/cadence/runtime/interpreter.(*Interpreter).VisitVariableDeclaration(0x11c2bba3cd8?, 0xe99a08?)
	/go/pkg/mod/github.com/onflow/cadence@v0.28.0/runtime/interpreter/interpreter_statement.go:415 +0x35
github.com/onflow/cadence/runtime/ast.AcceptStatement[...]({0x28280b0?, 0x143d1742780}, {0x2839e40, 0x126e303d650})
	/go/pkg/mod/github.com/onflow/cadence@v0.28.0/runtime/ast/visitor.go:138 +0x3dd
github.com/onflow/cadence/runtime/interpreter.(*Interpreter).evalStatement(0x126e303d650, {0x28280b0?, 0x143d1742780})
	/go/pkg/mod/github.com/onflow/cadence@v0.28.0/runtime/interpreter/interpreter_statement.go:55 +0x145
github.com/onflow/cadence/runtime/interpreter.(*Interpreter).visitStatements(0xbc739a?, {0x11c19ad7780?, 0x3, 0xbc6fdb?})
	/go/pkg/mod/github.com/onflow/cadence@v0.28.0/runtime/interpreter/interpreter_statement.go:61 +0x68
github.com/onflow/cadence/runtime/interpreter.(*Interpreter).invokeInterpretedFunctionActivated.func2()
	/go/pkg/mod/github.com/onflow/cadence@v0.28.0/runtime/interpreter/interpreter_invocation.go:163 +0x2d
github.com/onflow/cadence/runtime/interpreter.(*Interpreter).visitFunctionBody(0x126e303d650, {0x0, 0x0, 0x0}, {0x0, 0x0, 0xbc3245?}, 0x11c2bba3f90, {0x0, 0x0, ...}, ...)
	/go/pkg/mod/github.com/onflow/cadence@v0.28.0/runtime/interpreter/interpreter.go:794 +0x1a7
github.com/onflow/cadence/runtime/interpreter.(*Interpreter).invokeInterpretedFunctionActivated(0x126e303d650?, 0x12e5b06e900?, {0x11c19af5430?, 0x1?, 0xc0d71bf620?})
	/go/pkg/mod/github.com/onflow/cadence@v0.28.0/runtime/interpreter/interpreter_invocation.go:159 +0x1a5
github.com/onflow/cadence/runtime/interpreter.(*Interpreter).invokeInterpretedFunction(0x126e303d650, 0x12e5b06e900, {{0x283b410, 0xc0d71bf620}, {0x11c19af5430, 0x1, 0x1}, {0x0, 0x0, 0x0}, ...})
	/go/pkg/mod/github.com/onflow/cadence@v0.28.0/runtime/interpreter/interpreter_invocation.go:137 +0x1b3
github.com/onflow/cadence/runtime/interpreter.(*InterpretedFunctionValue).invoke(...)
	/go/pkg/mod/github.com/onflow/cadence@v0.28.0/runtime/interpreter/function.go:130
github.com/onflow/cadence/runtime/interpreter.(*Interpreter).declareTransactionEntryPoint.func1({{0x283b410, 0xc0d71bf620}, {0x11c19af5430, 0x1, 0x1}, {0x0, 0x0, 0x0}, 0x0, {{0x0, ...}, ...}, ...})
	/go/pkg/mod/github.com/onflow/cadence@v0.28.0/runtime/interpreter/interpreter_transaction.go:106 +0x1e5
github.com/onflow/cadence/runtime/interpreter.(*HostFunctionValue).invoke(0x0?, {{0x283b170, 0x0}, {0x11c19af5410, 0x3, 0x3}, {0x0, 0x0, 0x0}, 0x0, ...})
	/go/pkg/mod/github.com/onflow/cadence@v0.28.0/runtime/interpreter/function.go:261 +0x3a
github.com/onflow/cadence/runtime/interpreter.(*Interpreter).InvokeExternally(0x1e4ee40?, {0x283b2c0, 0x11c19adce58}, 0x11c0ae8fef0?, {0x11c19ad7cc0, 0x3, 0x283bfa0?})
	/go/pkg/mod/github.com/onflow/cadence@v0.28.0/runtime/interpreter/interpreter.go:505 +0x23d
github.com/onflow/cadence/runtime/interpreter.(*Interpreter).InvokeTransaction(0x126e303d650, 0x11c19ad7ce0?, {0x11c19ad7cc0, 0x3, 0x4})
	/go/pkg/mod/github.com/onflow/cadence@v0.28.0/runtime/interpreter/interpreter.go:547 +0x2c5
github.com/onflow/cadence/runtime.transactionExecutionFunction.func1(0x126e303d650)
	/go/pkg/mod/github.com/onflow/cadence@v0.28.0/runtime/transaction_executor.go:269 +0x272
github.com/onflow/cadence/runtime.(*interpreterEnvironment).Interpret.func1()
	/go/pkg/mod/github.com/onflow/cadence@v0.28.0/runtime/environment.go:964 +0x9e
github.com/onflow/cadence/runtime.reportMetric(0x11c2bba4820, {0x7a0291665f60?, 0x14d8af12780?}, 0x11c2bba4808)
	/go/pkg/mod/github.com/onflow/cadence@v0.28.0/runtime/runtime.go:200 +0x65
github.com/onflow/cadence/runtime.(*interpreterEnvironment).Interpret(0x12d25063c80, {0x281c860, 0x1552e939860}, 0x0?, 0x11c19acbd60)
	/go/pkg/mod/github.com/onflow/cadence@v0.28.0/runtime/environment.go:958 +0x10f
github.com/onflow/cadence/runtime.(*interpreterTransactionExecutor).execute(0x137a2365e60)
	/go/pkg/mod/github.com/onflow/cadence@v0.28.0/runtime/transaction_executor.go:223 +0x19c
github.com/onflow/cadence/runtime.(*interpreterTransactionExecutor).Execute.func1()
	/go/pkg/mod/github.com/onflow/cadence@v0.28.0/runtime/transaction_executor.go:75 +0x25
sync.(*Once).doSlow(0x0?, 0x11c0ae8fe80?)
	/usr/local/go/src/sync/once.go:74 +0xc2
sync.(*Once).Do(...)
	/usr/local/go/src/sync/once.go:65
github.com/onflow/cadence/runtime.(*interpreterTransactionExecutor).Execute(0x137a2365e60?)
	/go/pkg/mod/github.com/onflow/cadence@v0.28.0/runtime/transaction_executor.go:74 +0x50
github.com/onflow/cadence/runtime.(*interpreterTransactionExecutor).Result(0x11c0ae8fe88?)
	/go/pkg/mod/github.com/onflow/cadence@v0.28.0/runtime/transaction_executor.go:82 +0x19
github.com/onflow/cadence/runtime.(*interpreterRuntime).ExecuteTransaction(0x12d4d2b26d8, {{0x1353c2f8580, 0x14a, 0x14a}, {0x11c23d0d9b0, 0x2, 0x2}}, {{0x7a0291665f60, 0x14d8af12780}, {0x281c860, ...}, ...})
	/go/pkg/mod/github.com/onflow/cadence@v0.28.0/runtime/runtime.go:306 +0x1f9
github.com/onflow/flow-go/fvm/runtime.WrappedCadenceRuntime.ExecuteTransaction({{0x2831ea8?, 0x12d4d2b26d8?}}, {{0x1353c2f8580, 0x14a, 0x14a}, {0x11c23d0d9b0, 0x2, 0x2}}, {{0x7a0291665f60, 0x14d8af12780}, ...})
	/app/fvm/runtime/wrapped_cadence_runtime.go:35 +0xb4
github.com/onflow/flow-go/fvm/runtime.(*ReusableCadenceRuntime).ExecuteTransaction(...)
	/app/fvm/runtime/reusable_cadence_runtime.go:140
github.com/onflow/flow-go/fvm.TransactionInvoker.normalExecution({}, 0x11c19aa6420, 0x11c19ac9480, {0x2849a30, 0x14d8af12780})
	/app/fvm/transactionInvoker.go:251 +0x2bc
github.com/onflow/flow-go/fvm.TransactionInvoker.Process({}, {0x0, 0x186a0, 0xffffffffffffffff, 0x3e80, 0xf424000, 0x1312d00, {0x108f66b7c50, 0x3, 0x3}, ...}, ...)
	/app/fvm/transactionInvoker.go:125 +0x4f0
github.com/onflow/flow-go/fvm.(*TransactionProcedure).Run(_, {0x0, 0x186a0, 0xffffffffffffffff, 0x3e80, 0xf424000, 0x1312d00, {0x108f66b7c50, 0x3, 0x3}, ...}, ...)
	/app/fvm/transaction.go:72 +0xe7
github.com/onflow/flow-go/fvm.(*VirtualMachine).Run(_, {0x0, 0x186a0, 0xffffffffffffffff, 0x3e80, 0xf424000, 0x1312d00, {0x108f66b7c50, 0x3, 0x3}, ...}, ...)
	/app/fvm/fvm.go:128 +0xf86
github.com/onflow/flow-go/engine/execution/computation/computer.(*blockComputer).executeTransaction(_, _, {_, _}, {_, _}, {0x0, 0x186a0, 0xffffffffffffffff, 0x3e80, ...}, ...)
	/app/engine/execution/computation/computer/computer.go:435 +0x1679
github.com/onflow/flow-go/engine/execution/computation/computer.(*blockComputer).executeCollection(_, {_, _}, _, _, {0x0, 0x186a0, 0xffffffffffffffff, 0x3e80, 0xf424000, ...}, ...)
	/app/engine/execution/computation/computer/computer.go:353 +0x596
github.com/onflow/flow-go/engine/execution/computation/computer.(*blockComputer).executeBlock(0x10977776d80, {0x281a4f0, 0x11c1f4620c0}, {0x2830940, 0x3c0d380}, 0x11c20c5d600, {0x2830040?, 0x11c1f45bf40?}, 0x11c1f43bf80)
	/app/engine/execution/computation/computer/computer.go:193 +0xd75
github.com/onflow/flow-go/engine/execution/computation/computer.(*blockComputer).ExecuteBlock(0x10977776d80, {0x281a4f0, 0x11c1f4620c0}, 0x11c20c5d600, {0x2830040, 0x11c1f45bf40}, 0xa30e2cd477307c7c?)
	/app/engine/execution/computation/computer/computer.go:119 +0x33b
github.com/onflow/flow-go/engine/execution/computation.(*Manager).ComputeBlock(0x109857762c0, {0x281a4f0?, 0x11c1f4620c0}, 0x11c20c5d600, {0x2830040, 0x11c1f45bf40})
	/app/engine/execution/computation/manager.go:292 +0x1d3
github.com/onflow/flow-go/engine/execution/ingestion.(*Engine).executeBlock(0x1096d696000, {0x281a448, 0xc392ac4a80}, 0x11c20c5d600)
	/app/engine/execution/ingestion/engine.go:618 +0x2ad
github.com/onflow/flow-go/engine/execution/ingestion.(*Engine).executeBlockIfComplete.func1()
	/app/engine/execution/ingestion/engine.go:845 +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

 --> 0e56b02c35df871785ddd401c4d9e6e99afb0cd25212ca06cb7af62868ed0d29:4:2
  |
4 | 		let acct = AuthAccount(payer: signer)
  | 		^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^


Hash:
0e56b02c35df871785ddd401c4d9e6e99afb0cd25212ca06cb7af62868ed0d29
Status:
ERROR
Block height:
43536201
Block id:
2abc97e08333ba27ea6d0c1fd1127c67bac79cab7f6d1d6cf992b00f784b3a5a
Timestamp:
Monday 26 December 2022 at 21:06:18 UTC
()
Proposer:
Authorizers:
Gas used:
43