Flow price: --
d768f2e3bf70ba7b85b8a4969b816b1f1c7b63b8eda092e7005bf56f1185114c

Transaction

Hash: d768f2e3bf70ba7b85b8a4969b816b1f1c7b63b8eda092e7005bf56f1185114c
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:170:16

goroutine 161368904 [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(0x10100d3e0e0, 0x2520dd8)
	/go/pkg/mod/github.com/onflow/cadence@v0.28.0/runtime/interpreter/interpreter.go:563 +0x14e
panic({0x1f832c0, 0x11907add068})
	/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({0x27d90e0?, 0x10100d3e0e0?}, 0x10122d6f4e8?)
	/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}, {0x11438b755d0, 0x1, 0x1}, {0x11438b75180, 0x1, 0x1}, 0x11438b75170, {{0x27f9888, ...}, ...}, ...})
	/go/pkg/mod/github.com/onflow/cadence@v0.28.0/runtime/stdlib/account.go:115 +0x245
github.com/onflow/cadence/runtime/interpreter.(*HostFunctionValue).invoke(0x27f9888?, {{0x0, 0x0}, {0x11438b755d0, 0x1, 0x1}, {0x11438b75180, 0x1, 0x1}, 0x11438b75170, ...})
	/go/pkg/mod/github.com/onflow/cadence@v0.28.0/runtime/interpreter/function.go:261 +0x3a
github.com/onflow/cadence/runtime/interpreter.(*Interpreter).invokeFunctionValue(0x10100d3e0e0, {0x28180c0, 0xc0e0d95e78}, {0x11438b755c0, 0x1, 0x10122d6f740?}, {0x11438b755b0, 0x1, 0x100fa2d9600?}, {0x11438b75180, ...}, ...)
	/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(0x10100d3e0e0, 0x100fe2d5b20)
	/go/pkg/mod/github.com/onflow/cadence@v0.28.0/runtime/interpreter/interpreter_expression.go:868 +0x58c
github.com/onflow/cadence/runtime/ast.AcceptExpression[...]({0x280cb60?, 0x100fe2d5b20}, {0x281b6b8, 0x10100d3e0e0})
	/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(0xe0?)
	/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(0x10100d3e0e0, 0x11b08e51ea0, 0x10122d6fc98)
	/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(0x10122d6fcd8?, 0xe998e8?)
	/go/pkg/mod/github.com/onflow/cadence@v0.28.0/runtime/interpreter/interpreter_statement.go:415 +0x35
github.com/onflow/cadence/runtime/ast.AcceptStatement[...]({0x2804fb0?, 0x11b08e51ea0}, {0x2816c40, 0x10100d3e0e0})
	/go/pkg/mod/github.com/onflow/cadence@v0.28.0/runtime/ast/visitor.go:138 +0x3dd
github.com/onflow/cadence/runtime/interpreter.(*Interpreter).evalStatement(0x10100d3e0e0, {0x2804fb0?, 0x11b08e51ea0})
	/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(0xbc725a?, {0x10100cb5980?, 0x3, 0xbc6e9b?})
	/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(0x10100d3e0e0, {0x0, 0x0, 0x0}, {0x0, 0x0, 0xbc3105?}, 0x10122d6ff90, {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(0x10100d3e0e0?, 0x10100c54b00?, {0xc098a1e1a0?, 0x1?, 0xeeeffd6480?})
	/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(0x10100d3e0e0, 0x10100c54b00, {{0x2818210, 0xeeeffd6480}, {0xc098a1e1a0, 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({{0x2818210, 0xeeeffd6480}, {0xc098a1e1a0, 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?, {{0x2817f70, 0x0}, {0xc098a1e180, 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(0x1e34860?, {0x28180c0, 0x11900c6dd70}, 0x11b2e327010?, {0x10100cb5d40, 0x3, 0x2818da0?})
	/go/pkg/mod/github.com/onflow/cadence@v0.28.0/runtime/interpreter/interpreter.go:505 +0x23d
github.com/onflow/cadence/runtime/interpreter.(*Interpreter).InvokeTransaction(0x10100d3e0e0, 0x10100cb5d60?, {0x10100cb5d40, 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(0x10100d3e0e0)
	/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(0x10122d70820, {0x7f14fc838860?, 0x100f8aebe00?}, 0x10122d70808)
	/go/pkg/mod/github.com/onflow/cadence@v0.28.0/runtime/runtime.go:200 +0x65
github.com/onflow/cadence/runtime.(*interpreterEnvironment).Interpret(0xc0e25a4800, {0x27f9888, 0x12431f95740}, 0x0?, 0x10100c794a0)
	/go/pkg/mod/github.com/onflow/cadence@v0.28.0/runtime/environment.go:958 +0x10f
github.com/onflow/cadence/runtime.(*interpreterTransactionExecutor).execute(0x10100cb0ea0)
	/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?, 0x11b2e326fa0?)
	/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(0x10100cb0ea0?)
	/go/pkg/mod/github.com/onflow/cadence@v0.28.0/runtime/transaction_executor.go:74 +0x50
github.com/onflow/cadence/runtime.(*interpreterTransactionExecutor).Result(0x11b2e326fa8?)
	/go/pkg/mod/github.com/onflow/cadence@v0.28.0/runtime/transaction_executor.go:82 +0x19
github.com/onflow/cadence/runtime.(*interpreterRuntime).ExecuteTransaction(0xc0e0d95d40, {{0x122738e7600, 0x14a, 0x14a}, {0x11b65b1aae0, 0x2, 0x2}}, {{0x7f14fc838860, 0x100f8aebe00}, {0x27f9888, ...}, ...})
	/go/pkg/mod/github.com/onflow/cadence@v0.28.0/runtime/runtime.go:306 +0x1f9
github.com/onflow/flow-go/fvm/runtime.WrappedCadenceRuntime.ExecuteTransaction({{0x280ed28?, 0xc0e0d95d40?}}, {{0x122738e7600, 0x14a, 0x14a}, {0x11b65b1aae0, 0x2, 0x2}}, {{0x7f14fc838860, 0x100f8aebe00}, ...})
	/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({}, 0x100fa2d9340, 0x107f0910a80, {0x28265f0, 0x100f8aebe00})
	/app/fvm/transactionInvoker.go:251 +0x2bc
github.com/onflow/flow-go/fvm.TransactionInvoker.Process({}, {0x0, 0x186a0, 0xffffffffffffffff, 0x3e80, 0xf424000, 0x1312d00, {0x100e965d530, 0x3, 0x3}, ...}, ...)
	/app/fvm/transactionInvoker.go:125 +0x4f0
github.com/onflow/flow-go/fvm.(*TransactionProcedure).Run(_, {0x0, 0x186a0, 0xffffffffffffffff, 0x3e80, 0xf424000, 0x1312d00, {0x100e965d530, 0x3, 0x3}, ...}, ...)
	/app/fvm/transaction.go:72 +0xe7
github.com/onflow/flow-go/fvm.(*VirtualMachine).Run(_, {0x0, 0x186a0, 0xffffffffffffffff, 0x3e80, 0xf424000, 0x1312d00, {0x100e965d530, 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(0x10141161680, {0x27f7550, 0x1144272e7e0}, {0x280d1c0, 0x100f9292d80}, 0x123b5172bc0, {0x280cf20?, 0x100fb8d1180?}, 0x100fe258ac0)
	/app/engine/execution/computation/computer/computer.go:193 +0xd75
github.com/onflow/flow-go/engine/execution/computation/computer.(*blockComputer).ExecuteBlock(0x10141161680, {0x27f7550, 0x1144272e7e0}, 0x123b5172bc0, {0x280cf20, 0x100fb8d1180}, 0x30cd9eb5d097b113?)
	/app/engine/execution/computation/computer/computer.go:119 +0x33b
github.com/onflow/flow-go/engine/execution/computation.(*Manager).ComputeBlock(0xc050798580, {0x27f7550?, 0x1144272e7e0}, 0x123b5172bc0, {0x280cf20, 0x100fb8d1180})
	/app/engine/execution/computation/manager.go:292 +0x1d3
github.com/onflow/flow-go/engine/execution/ingestion.(*Engine).executeBlock(0xc02aa1e1e0, {0x27f74a8, 0xe5daddbec0}, 0x123b5172bc0)
	/app/engine/execution/ingestion/engine.go:596 +0x2ad
github.com/onflow/flow-go/engine/execution/ingestion.(*Engine).executeBlockIfComplete.func1()
	/app/engine/execution/ingestion/engine.go:812 +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

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


Hash:
d768f2e3bf70ba7b85b8a4969b816b1f1c7b63b8eda092e7005bf56f1185114c
Status:
ERROR
Block height:
40301584
Block id:
01c9298c4a48b445afa5458115ce6e7b251936b621afdd97e4d279ecb38e7126
Timestamp:
Friday 4 November 2022 at 18:56:53 UTC
()
Proposer:
Authorizers:
Gas used:
43