Flow price: --
9401da9b97925c897927b8118a64fd75fc9c8506d9d5a2506b0f1dbd74bdc1a1

Transaction

Hash: 9401da9b97925c897927b8118a64fd75fc9c8506d9d5a2506b0f1dbd74bdc1a1
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 8242350 [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(0xc029b37a40, 0x2520db8)
	/go/pkg/mod/github.com/onflow/cadence@v0.28.0/runtime/interpreter/interpreter.go:563 +0x14e
panic({0x1f832c0, 0x1035e2d2d20})
	/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({0x27d9060?, 0xc029b37a40?}, 0xc0472cb4e8?)
	/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}, {0x1027236c130, 0x1, 0x1}, {0x1024aba3f00, 0x1, 0x1}, 0x1024aba3ef0, {{0x27f9808, ...}, ...}, ...})
	/go/pkg/mod/github.com/onflow/cadence@v0.28.0/runtime/stdlib/account.go:115 +0x245
github.com/onflow/cadence/runtime/interpreter.(*HostFunctionValue).invoke(0x27f9808?, {{0x0, 0x0}, {0x1027236c130, 0x1, 0x1}, {0x1024aba3f00, 0x1, 0x1}, 0x1024aba3ef0, ...})
	/go/pkg/mod/github.com/onflow/cadence@v0.28.0/runtime/interpreter/function.go:261 +0x3a
github.com/onflow/cadence/runtime/interpreter.(*Interpreter).invokeFunctionValue(0xc029b37a40, {0x2818040, 0x100d46cdb30}, {0x1027236c120, 0x1, 0x0?}, {0x1027236c110, 0x1, 0x1047ab76b00?}, {0x1024aba3f00, ...}, ...)
	/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(0xc029b37a40, 0xc029b376c0)
	/go/pkg/mod/github.com/onflow/cadence@v0.28.0/runtime/interpreter/interpreter_expression.go:868 +0x58c
github.com/onflow/cadence/runtime/ast.AcceptExpression[...]({0x280cae0?, 0xc029b376c0}, {0x281b638, 0xc029b37a40})
	/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(0x40?)
	/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(0xc029b37a40, 0x11beb9ffd60, 0xc0472cbc98)
	/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(0xc0472cbcd8?, 0xe99828?)
	/go/pkg/mod/github.com/onflow/cadence@v0.28.0/runtime/interpreter/interpreter_statement.go:415 +0x35
github.com/onflow/cadence/runtime/ast.AcceptStatement[...]({0x2804f30?, 0x11beb9ffd60}, {0x2816bc0, 0xc029b37a40})
	/go/pkg/mod/github.com/onflow/cadence@v0.28.0/runtime/ast/visitor.go:138 +0x3dd
github.com/onflow/cadence/runtime/interpreter.(*Interpreter).evalStatement(0xc029b37a40, {0x2804f30?, 0x11beb9ffd60})
	/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?, {0x10129009ea0?, 0x2, 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(0xc029b37a40, {0x0, 0x0, 0x0}, {0x0, 0x0, 0xbc3105?}, 0xc0472cbf90, {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(0xc029b37a40?, 0xc078a94f00?, {0x1012b6c6150?, 0x1?, 0xc044f66f00?})
	/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(0xc029b37a40, 0xc078a94f00, {{0x2818190, 0xc044f66f00}, {0x1012b6c6150, 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({{0x2818190, 0xc044f66f00}, {0x1012b6c6150, 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?, {{0x2817ef0, 0x0}, {0x1012b6c6140, 0x2, 0x2}, {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?, {0x2818040, 0x103624ca720}, 0x10d0719b3d8?, {0x1012b6c6120, 0x2, 0x2818d20?})
	/go/pkg/mod/github.com/onflow/cadence@v0.28.0/runtime/interpreter/interpreter.go:505 +0x23d
github.com/onflow/cadence/runtime/interpreter.(*Interpreter).InvokeTransaction(0xc029b37a40, 0x1012b6c6130?, {0x1012b6c6120, 0x2, 0x2})
	/go/pkg/mod/github.com/onflow/cadence@v0.28.0/runtime/interpreter/interpreter.go:547 +0x2c5
github.com/onflow/cadence/runtime.transactionExecutionFunction.func1(0xc029b37a40)
	/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(0xc0472cc820, {0x7f19a38f37c8?, 0x11c72ecb400?}, 0xc0472cc808)
	/go/pkg/mod/github.com/onflow/cadence@v0.28.0/runtime/runtime.go:200 +0x65
github.com/onflow/cadence/runtime.(*interpreterEnvironment).Interpret(0x100d47afa80, {0x27f9808, 0x11bd910a3e0}, 0x0?, 0xc02a0dfbd0)
	/go/pkg/mod/github.com/onflow/cadence@v0.28.0/runtime/environment.go:958 +0x10f
github.com/onflow/cadence/runtime.(*interpreterTransactionExecutor).execute(0xc03eb286c0)
	/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?, 0x10d0719b368?)
	/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(0xc03eb286c0?)
	/go/pkg/mod/github.com/onflow/cadence@v0.28.0/runtime/transaction_executor.go:74 +0x50
github.com/onflow/cadence/runtime.(*interpreterTransactionExecutor).Result(0x10d0719b370?)
	/go/pkg/mod/github.com/onflow/cadence@v0.28.0/runtime/transaction_executor.go:82 +0x19
github.com/onflow/cadence/runtime.(*interpreterRuntime).ExecuteTransaction(0x100d46cd9f8, {{0x10d5ae2def0, 0x8e, 0x8e}, {0x1026fc31d88, 0x1, 0x1}}, {{0x7f19a38f37c8, 0x11c72ecb400}, {0x27f9808, ...}, ...})
	/go/pkg/mod/github.com/onflow/cadence@v0.28.0/runtime/runtime.go:306 +0x1f9
github.com/onflow/flow-go/fvm/runtime.WrappedCadenceRuntime.ExecuteTransaction({{0x280eca8?, 0x100d46cd9f8?}}, {{0x10d5ae2def0, 0x8e, 0x8e}, {0x1026fc31d88, 0x1, 0x1}}, {{0x7f19a38f37c8, 0x11c72ecb400}, ...})
	/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({}, 0x1047ab76840, 0x10129009bc0, {0x2826570, 0x11c72ecb400})
	/app/fvm/transactionInvoker.go:251 +0x2bc
github.com/onflow/flow-go/fvm.TransactionInvoker.Process({}, {0x0, 0x186a0, 0xffffffffffffffff, 0x3e80, 0xf424000, 0x1312d00, {0xe87476d110, 0x3, 0x3}, ...}, ...)
	/app/fvm/transactionInvoker.go:125 +0x4f0
github.com/onflow/flow-go/fvm.(*TransactionProcedure).Run(_, {0x0, 0x186a0, 0xffffffffffffffff, 0x3e80, 0xf424000, 0x1312d00, {0xe87476d110, 0x3, 0x3}, ...}, ...)
	/app/fvm/transaction.go:72 +0xe7
github.com/onflow/flow-go/fvm.(*VirtualMachine).Run(_, {0x0, 0x186a0, 0xffffffffffffffff, 0x3e80, 0xf424000, 0x1312d00, {0xe87476d110, 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(0xe7f20a0d80, {0x27f74d0, 0xc042d41a10}, {0x280d800, 0x3bda000}, 0x104a62ba840, {0x280cea0?, 0xc02a046910?}, 0x1021d3cbfc0)
	/app/engine/execution/computation/computer/computer.go:193 +0xd75
github.com/onflow/flow-go/engine/execution/computation/computer.(*blockComputer).ExecuteBlock(0xe7f20a0d80, {0x27f74d0, 0xc042d41a10}, 0x104a62ba840, {0x280cea0, 0xc02a046910}, 0x31baae567ba5fb3c?)
	/app/engine/execution/computation/computer/computer.go:119 +0x33b
github.com/onflow/flow-go/engine/execution/computation.(*Manager).ComputeBlock(0xe79d5fc840, {0x27f74d0?, 0xc042d41a10}, 0x104a62ba840, {0x280cea0, 0xc02a046910})
	/app/engine/execution/computation/manager.go:292 +0x1d3
github.com/onflow/flow-go/engine/execution/ingestion.(*Engine).executeBlock(0x100c4e82000, {0x27f7428, 0x100c3618700}, 0x104a62ba840)
	/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

 --> 9401da9b97925c897927b8118a64fd75fc9c8506d9d5a2506b0f1dbd74bdc1a1:3:2
  |
3 | 		let newAcct = AuthAccount(payer: acct)
  | 		^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^


Hash:
9401da9b97925c897927b8118a64fd75fc9c8506d9d5a2506b0f1dbd74bdc1a1
Status:
ERROR
Block height:
40174647
Block id:
82d9e160c205a25bc86a36a5f5f026900bbb2d33e57895735bba36801a134ab1
Timestamp:
Wednesday 2 November 2022 at 17:45:28 UTC
()
Proposer:
Authorizers:
Gas used:
43