▪○○*&╳○%*%*■▫#▒!╳▫$╳▫▫□@▒▪▒▪▓╱!●%▪*╳$~▓~#◇╳▪╳●░▓▫!▓%#▫$◇░$█@?■█$
Transaction ID
Execution Fee
0.00043461 FLOWExecution Error
internal error: unexpected: backend error: [Error Code: 1105] total event byte size (477004) exceeds limit (256000)
1import EVM from 0xe467b9dd11fa00df
2
3transaction(hexEncodedTx: String, coinbase: String) {
4 execute {
5 let txResult = EVM.run(
6 tx: hexEncodedTx.decodeHex(),
7 coinbase: EVM.addressFromString(coinbase)
8 )
9 assert(
10 txResult.status == EVM.Status.failed || txResult.status == EVM.Status.successful,Raw Error
[Error Code: 1105] error caused by: 1 error occurred: * transaction execute failed: [Error Code: 1101] cadence runtime error: Execution failed: --> 1eda251cdb3b608c8bd1e1930b743c9378ed566f504faab215c15cbaf212a587:5:23 | 5 | let txResult = EVM.run( 6 | tx: hexEncodedTx.decodeHex(), 7 | coinbase: EVM.addressFromString(coinbase) 8 | ) | ^^^^^^^^^^^^^^^^^^^^^^^^ error: internal error: unexpected: backend error: [Error Code: 1105] total event byte size (477004) exceeds limit (256000) goroutine 1160914564 [running]: runtime/debug.Stack() /usr/local/go/src/runtime/debug/stack.go:26 +0x5e github.com/onflow/cadence/errors.NewUnexpectedErrorFromCause(...) /go/pkg/mod/github.com/onflow/cadence-internal@v1.6.4-rc.1/errors/errors.go:184 github.com/onflow/cadence/interpreter.asCadenceError({0x33ab0e0?, 0xfe758303a0}) /go/pkg/mod/github.com/onflow/cadence-internal@v1.6.4-rc.1/interpreter/interpreter.go:594 +0x377 github.com/onflow/cadence/interpreter.(*Interpreter).RecoverErrors(0x122df3d1c20, 0x3c76c10) /go/pkg/mod/github.com/onflow/cadence-internal@v1.6.4-rc.1/interpreter/interpreter.go:546 +0x4e panic({0x33ab0e0?, 0xfe758303a0?}) /usr/local/go/src/runtime/panic.go:791 +0x132 github.com/onflow/flow-go/fvm/evm/handler.panicOnError({0x402f920, 0xfe758303a0}) /app/fvm/evm/handler/handler.go:923 +0xca github.com/onflow/flow-go/fvm/evm/handler.(*ContractHandler).Run.func1() /app/fvm/evm/handler/handler.go:155 +0x88 github.com/onflow/flow-go/fvm/evm/handler.(*ContractHandler).runWithGasFeeRefund(0x0?, {0xf3, 0x76, 0xa6, 0x84, 0x91, 0x84, 0x57, 0x1f, 0xee, ...}, ...) /app/fvm/evm/handler/handler.go:168 +0xa9 github.com/onflow/flow-go/fvm/evm/handler.(*ContractHandler).Run(0xfe3093d700, {0x14af5b47b30, 0xf0, 0xf0}, {0xf3, 0x76, 0xa6, 0x84, 0x91, 0x84, ...}) /app/fvm/evm/handler/handler.go:152 +0x1c5 github.com/onflow/flow-go/fvm/evm/impl.NewInternalEVMContractValue.newInternalEVMTypeRunFunction.func1({{{0x406d1a0, 0xfe70f70ed0}, {0x4052328, 0x134e1c4bb20}}, 0x0, 0x0, 0x134e2102100, {0x40c4488, 0x122df3d1c20}, {0xfe74ffd720, ...}, ...}) /app/fvm/evm/impl/impl.go:860 +0x21f github.com/onflow/cadence/interpreter.(*HostFunctionValue).Invoke(0x20?, {{{0x406d1a0, 0xfe70f70ed0}, {0x4052328, 0x134e1c4bb20}}, 0x0, 0x0, 0x134e2102100, {0x40c4488, 0x122df3d1c20}, ...}) /go/pkg/mod/github.com/onflow/cadence-internal@v1.6.4-rc.1/interpreter/value_function.go:259 +0x55 github.com/onflow/cadence/interpreter.invokeFunctionValue({0x40c4488, 0x122df3d1c20}, {0x409ace0, 0xfe70f710e0}, {0xfe74ffd700, 0x2, 0x1?}, {0xfe74ffd6e0, 0x2, 0x2}, ...) /go/pkg/mod/github.com/onflow/cadence-internal@v1.6.4-rc.1/interpreter/interpreter_invocation.go:134 +0x4a7 github.com/onflow/cadence/interpreter.(*Interpreter).visitInvocationExpressionWithImplicitArgument(0x122df3d1c20, 0x134e1c4bb20, 0x0) /go/pkg/mod/github.com/onflow/cadence-internal@v1.6.4-rc.1/interpreter/interpreter_expression.go:1210 +0x765 github.com/onflow/cadence/interpreter.(*Interpreter).VisitInvocationExpression(0x0?, 0x134e3269e48?) /go/pkg/mod/github.com/onflow/cadence-internal@v1.6.4-rc.1/interpreter/interpreter_expression.go:1128 +0x15 github.com/onflow/cadence/ast.AcceptExpression[...]({0x4081e40?, 0x134e1c4bb20}, {0x40a64c0, 0x122df3d1c20}) /go/pkg/mod/github.com/onflow/cadence-internal@v1.6.4-rc.1/ast/visitor.go:245 +0x28a github.com/onflow/cadence/interpreter.(*Interpreter).evalExpression(0x122df3d1c20, {0x4081e40, 0x134e1c4bb20}) /go/pkg/mod/github.com/onflow/cadence-internal@v1.6.4-rc.1/interpreter/interpreter_expression.go:398 +0x3a github.com/onflow/cadence/interpreter.(*Interpreter).VisitCastingExpression(0x122df3d1c20, 0x134e1c54b70) /go/pkg/mod/github.com/onflow/cadence-internal@v1.6.4-rc.1/interpreter/interpreter_expression.go:1331 +0x3c github.com/onflow/cadence/ast.AcceptExpression[...]({0x4081ea0?, 0x134e1c54b70}, {0x40a64c0, 0x122df3d1c20}) /go/pkg/mod/github.com/onflow/cadence-internal@v1.6.4-rc.1/ast/visitor.go:272 +0x487 github.com/onflow/cadence/interpreter.(*Interpreter).evalExpression(0x122df3d1c20, {0x4081ea0, 0x134e1c54b70}) /go/pkg/mod/github.com/onflow/cadence-internal@v1.6.4-rc.1/interpreter/interpreter_expression.go:398 +0x3a github.com/onflow/cadence/interpreter.(*Interpreter).VisitReturnStatement(0x122df3d1c20, 0x134e1c49c80) /go/pkg/mod/github.com/onflow/cadence-internal@v1.6.4-rc.1/interpreter/interpreter_statement.go:75 +0x45 github.com/onflow/cadence/ast.AcceptStatement[...]({0x40771a0?, 0x134e1c49c80}, {0x40a1ba0, 0x122df3d1c20}) /go/pkg/mod/github.com/onflow/cadence-internal@v1.6.4-rc.1/ast/visitor.go:118 +0x24a github.com/onflow/cadence/interpreter.(*Interpreter).evalStatement(0x122df3d1c20, {0x40771a0, 0x134e1c49c80}) /go/pkg/mod/github.com/onflow/cadence-internal@v1.6.4-rc.1/interpreter/interpreter_statement.go:53 +0x13b github.com/onflow/cadence/interpreter.(*Interpreter).visitStatements(0x122df3d1c20, {0x134e1c3e650?, 0x40ab0e0?, 0x402aa00?}) /go/pkg/mod/github.com/onflow/cadence-internal@v1.6.4-rc.1/interpreter/interpreter_statement.go:59 +0x52 github.com/onflow/cadence/interpreter.(*Interpreter).invokeInterpretedFunctionActivated.func2() /go/pkg/mod/github.com/onflow/cadence-internal@v1.6.4-rc.1/interpreter/interpreter_invocation.go:213 +0x27 github.com/onflow/cadence/interpreter.(*Interpreter).visitFunctionBody(0x122df3d1c20, {0x0, 0x0, 0x0}, {0x0, 0x0, 0xfe74ffd6c0?}, 0x134e326a510, {0x0, 0x0, ...}, ...) /go/pkg/mod/github.com/onflow/cadence-internal@v1.6.4-rc.1/interpreter/interpreter.go:837 +0x1a8 github.com/onflow/cadence/interpreter.(*Interpreter).invokeInterpretedFunctionActivated(0x122df3d1c20, 0xfe754dcf80?, {0xfe74ffd620?, 0x2?, 0x14c84ebebc0?}, {{0x406d360?, 0x14c84ebebc0?}, {0x4052328?, 0xfe6ee47d50?}}) /go/pkg/mod/github.com/onflow/cadence-internal@v1.6.4-rc.1/interpreter/interpreter_invocation.go:209 +0x1f3 github.com/onflow/cadence/interpreter.(*Interpreter).invokeInterpretedFunction(0x122df3d1c20, 0xfe754dcf80, {{{0x406d360, 0x14c84ebebc0}, {0x4052328, 0xfe6ee47d50}}, 0x13459e60450, 0x0, 0xfe32e7fe60, {0x40c4488, ...}, ...}) /go/pkg/mod/github.com/onflow/cadence-internal@v1.6.4-rc.1/interpreter/interpreter_invocation.go:187 +0x22b github.com/onflow/cadence/interpreter.(*InterpretedFunctionValue).Invoke(0x1?, {{{0x406d360, 0x14c84ebebc0}, {0x4052328, 0xfe6ee47d50}}, 0x13459e60450, 0x0, 0xfe32e7fe60, {0x40c4488, 0x11898b51260}, ...}) /go/pkg/mod/github.com/onflow/cadence-internal@v1.6.4-rc.1/interpreter/value_function.go:125 +0x5e github.com/onflow/cadence/interpreter.BoundFunctionValue.Invoke({{0x409af80, 0xfe754dcf80}, 0x0, {0x409c100, 0x13459e60450}, 0x0}, {{{0x406d360, 0x14c84ebebc0}, {0x4052328, 0xfe6ee47d50}}, ...}) /go/pkg/mod/github.com/onflow/cadence-internal@v1.6.4-rc.1/interpreter/value_function.go:459 +0x115 github.com/onflow/cadence/interpreter.invokeFunctionValue({0x40c4488, 0x11898b51260}, {0x409ac38, 0x13459e60480}, {0xfe74ffd2c0, 0x2, 0x0?}, {0xfe74ffd2a0, 0x2, 0x2}, ...) /go/pkg/mod/github.com/onflow/cadence-internal@v1.6.4-rc.1/interpreter/interpreter_invocation.go:134 +0x4a7 github.com/onflow/cadence/interpreter.(*Interpreter).visitInvocationExpressionWithImplicitArgument(0x11898b51260, 0xfe6ee47d50, 0x0) /go/pkg/mod/github.com/onflow/cadence-internal@v1.6.4-rc.1/interpreter/interpreter_expression.go:1210 +0x765 github.com/onflow/cadence/interpreter.(*Interpreter).VisitInvocationExpression(0x98?, 0x134e326ad10?) /go/pkg/mod/github.com/onflow/cadence-internal@v1.6.4-rc.1/interpreter/interpreter_expression.go:1128 +0x15 github.com/onflow/cadence/ast.AcceptExpression[...]({0x4081e40?, 0xfe6ee47d50}, {0x40a64c0, 0x11898b51260}) /go/pkg/mod/github.com/onflow/cadence-internal@v1.6.4-rc.1/ast/visitor.go:245 +0x28a github.com/onflow/cadence/interpreter.(*Interpreter).evalExpression(0x11898b51260, {0x4081e40, 0xfe6ee47d50}) /go/pkg/mod/github.com/onflow/cadence-internal@v1.6.4-rc.1/interpreter/interpreter_expression.go:398 +0x3a github.com/onflow/cadence/interpreter.(*Interpreter).assignmentGetterSetter.func1(0x60?) /go/pkg/mod/github.com/onflow/cadence-internal@v1.6.4-rc.1/interpreter/interpreter_expression.go:54 +0x1f github.com/onflow/cadence/interpreter.(*Interpreter).visitVariableDeclaration(0x11898b51260, 0xfdd8ccde40, 0x0) /go/pkg/mod/github.com/onflow/cadence-internal@v1.6.4-rc.1/interpreter/interpreter_statement.go:533 +0x1d3 github.com/onflow/cadence/interpreter.(*Interpreter).VisitVariableDeclaration(0x11898b51260, 0xfdd8ccde40) /go/pkg/mod/github.com/onflow/cadence-internal@v1.6.4-rc.1/interpreter/interpreter_statement.go:490 +0x1f github.com/onflow/cadence/ast.AcceptStatement[...]({0x40774c0?, 0xfdd8ccde40}, {0x40a1ba0, 0x11898b51260}) /go/pkg/mod/github.com/onflow/cadence-internal@v1.6.4-rc.1/ast/visitor.go:151 +0x44a github.com/onflow/cadence/interpreter.(*Interpreter).evalStatement(0x11898b51260, {0x40774c0, 0xfdd8ccde40}) /go/pkg/mod/github.com/onflow/cadence-internal@v1.6.4-rc.1/interpreter/interpreter_statement.go:53 +0x13b github.com/onflow/cadence/interpreter.(*Interpreter).visitStatements(0x11898b51260, {0xfe40d2ada0?, 0x40ab0e0?, 0x134e326b1c8?}) /go/pkg/mod/github.com/onflow/cadence-internal@v1.6.4-rc.1/interpreter/interpreter_statement.go:59 +0x52 github.com/onflow/cadence/interpreter.(*Interpreter).invokeInterpretedFunctionActivated.func2() /go/pkg/mod/github.com/onflow/cadence-internal@v1.6.4-rc.1/interpreter/interpreter_invocation.go:213 +0x27 github.com/onflow/cadence/interpreter.(*Interpreter).visitFunctionBody(0x11898b51260, {0x0, 0x0, 0x0}, {0x0, 0x0, 0x4029c40?}, 0x134e326b2f8, {0x0, 0x0, ...}, ...) /go/pkg/mod/github.com/onflow/cadence-internal@v1.6.4-rc.1/interpreter/interpreter.go:837 +0x1a8 github.com/onflow/cadence/interpreter.(*Interpreter).invokeInterpretedFunctionActivated(0x11898b51260, 0x40918d0?, {0x0?, 0x0?, 0x0?}, {{0x0?, 0x0?}, {0x0?, 0x0?}}) /go/pkg/mod/github.com/onflow/cadence-internal@v1.6.4-rc.1/interpreter/interpreter_invocation.go:209 +0x1f3 github.com/onflow/cadence/interpreter.(*Interpreter).invokeInterpretedFunction(0x11898b51260, 0xfe754dd700, {{{0x0, 0x0}, {0x0, 0x0}}, 0xfe748af8b0, 0x0, 0x0, {0x40c4488, ...}, ...}) /go/pkg/mod/github.com/onflow/cadence-internal@v1.6.4-rc.1/interpreter/interpreter_invocation.go:187 +0x22b github.com/onflow/cadence/interpreter.(*InterpretedFunctionValue).Invoke(...) /go/pkg/mod/github.com/onflow/cadence-internal@v1.6.4-rc.1/interpreter/value_function.go:125 github.com/onflow/cadence/interpreter.(*Interpreter).declareTransactionEntryPoint.func1.1() /go/pkg/mod/github.com/onflow/cadence-internal@v1.6.4-rc.1/interpreter/interpreter_transaction.go:126 +0x98 github.com/onflow/cadence/interpreter.(*Interpreter).visitFunctionBody(0x11898b51260, {0x0, 0x0, 0x0}, {0x0, 0x0, 0x134e326b688?}, 0x134e326b778, {0x0, 0x0, ...}, ...) /go/pkg/mod/github.com/onflow/cadence-internal@v1.6.4-rc.1/interpreter/interpreter.go:837 +0x1a8 github.com/onflow/cadence/interpreter.(*Interpreter).declareTransactionEntryPoint.func1({{{0x0, 0x0}, {0x0, 0x0}}, 0xfe748af8b0, 0x0, 0x0, {0x40c4488, 0x11898b51260}, {0xfe74ffcca0, ...}, ...}) /go/pkg/mod/github.com/onflow/cadence-internal@v1.6.4-rc.1/interpreter/interpreter_transaction.go:143 +0x413 github.com/onflow/cadence/interpreter.(*HostFunctionValue).Invoke(0x407d0d8?, {{{0x0, 0x0}, {0x0, 0x0}}, 0x0, 0x0, 0x0, {0x40c4488, 0x11898b51260}, ...}) /go/pkg/mod/github.com/onflow/cadence-internal@v1.6.4-rc.1/interpreter/value_function.go:259 +0x55 github.com/onflow/cadence/interpreter.InvokeExternally({0x40c4488, 0x11898b51260}, {0x409ace0, 0xfe751e6240}, 0x0?, {0xfe74ffcc80?, 0x134e326bb68?, 0x1303d9e?}) /go/pkg/mod/github.com/onflow/cadence-internal@v1.6.4-rc.1/interpreter/interpreter.go:454 +0x342 github.com/onflow/cadence/interpreter.(*Interpreter).InvokeTransaction(0x11898b51260, {0xfe74ffcbe0, 0x2, 0x2}, {0x6201320, 0x0, 0x0}) /go/pkg/mod/github.com/onflow/cadence-internal@v1.6.4-rc.1/interpreter/interpreter.go:533 +0x3bf github.com/onflow/cadence/runtime.(*transactionExecutor).preprocess.(*transactionExecutor).transactionExecutionFunction.func3(0x11898b51260) /go/pkg/mod/github.com/onflow/cadence-internal@v1.6.4-rc.1/runtime/transaction_executor.go:286 +0x205 github.com/onflow/cadence/runtime.(*InterpreterEnvironment).Interpret.func1() /go/pkg/mod/github.com/onflow/cadence-internal@v1.6.4-rc.1/runtime/environment.go:541 +0x7f github.com/onflow/cadence/runtime.reportMetric(0x134e326bdc0, {0x40b9bf8?, 0xfe32e7fc20}, 0x134e326bda8) /go/pkg/mod/github.com/onflow/cadence-internal@v1.6.4-rc.1/runtime/runtime.go:155 +0x68 github.com/onflow/cadence/runtime.(*InterpreterEnvironment).Interpret(0xff7e3c8680, {0x406d360, 0x14c84ebebc0}, 0x13356e0?, 0xfe70f71080) /go/pkg/mod/github.com/onflow/cadence-internal@v1.6.4-rc.1/runtime/environment.go:535 +0xe8 github.com/onflow/cadence/runtime.(*transactionExecutor).executeWithInterpreter(0x40?, 0xff7e3c8680) /go/pkg/mod/github.com/onflow/cadence-internal@v1.6.4-rc.1/runtime/transaction_executor.go:242 +0x31 github.com/onflow/cadence/runtime.(*transactionExecutor).execute(0xfe33b20e00) /go/pkg/mod/github.com/onflow/cadence-internal@v1.6.4-rc.1/runtime/transaction_executor.go:228 +0x16b github.com/onflow/cadence/runtime.(*transactionExecutor).Execute.func1() /go/pkg/mod/github.com/onflow/cadence-internal@v1.6.4-rc.1/runtime/transaction_executor.go:79 +0x1c sync.(*Once).doSlow(0x1312d00?, 0xfe73e8c130?) /usr/local/go/src/sync/once.go:76 +0xb4 sync.(*Once).Do(...) /usr/local/go/src/sync/once.go:67 github.com/onflow/cadence/runtime.(*transactionExecutor).Execute(0xfe33b20e00) /go/pkg/mod/github.com/onflow/cadence-internal@v1.6.4-rc.1/runtime/transaction_executor.go:78 +0x3e github.com/onflow/flow-go/fvm/runtime.WrappedCadenceExecutor.Execute({{0x405c2a0?, 0xfe33b20e00?}}) /app/fvm/runtime/wrapped_cadence_runtime.go:84 +0x22 github.com/onflow/flow-go/fvm.(*transactionExecutor).normalExecution(0xfd73786e08) /app/fvm/transactionInvoker.go:380 +0x15a github.com/onflow/flow-go/fvm.(*transactionExecutor).ExecuteTransactionBody(0xfd73786e08) /app/fvm/transactionInvoker.go:276 +0x97 github.com/onflow/flow-go/fvm.(*transactionExecutor).execute(0xfd73786e08?) /app/fvm/transactionInvoker.go:254 +0x1c github.com/onflow/flow-go/fvm.(*transactionExecutor).Execute(0xfd73786e08) /app/fvm/transactionInvoker.go:146 +0x18 github.com/onflow/flow-go/engine/execution/computation/computer.(*blockComputer).executeTransactionInternal(_, {_, _}, _, {{{0x4c, 0x67, 0xf7, 0xca, 0xf2, 0xcc, ...}, ...}, ...}, ...) /app/engine/execution/computation/computer/computer.go:546 +0x756 github.com/onflow/flow-go/engine/execution/computation/computer.(*blockComputer).executeTransaction(_, {_, _}, _, {{{0x4c, 0x67, 0xf7, 0xca, 0xf2, 0xcc, ...}, ...}, ...}, ...) /app/engine/execution/computation/computer/computer.go:473 +0x5e github.com/onflow/flow-go/engine/execution/computation/computer.(*blockComputer).executeTransactions(0x134d747c008, {0x4085d70, 0x61bc8b0}, 0xfe2df53180, 0xfe2962fdc0, 0xfe2f506c80?) /app/engine/execution/computation/computer/computer.go:447 +0x21e created by github.com/onflow/flow-go/engine/execution/computation/computer.(*blockComputer).executeBlock in goroutine 11702 /app/engine/execution/computation/computer/computer.go:403 +0xb0f --> e467b9dd11fa00df.EVM:590:8 Was this error unhelpful? Consider suggesting an improvement here: https://github.com/onflow/cadence/issues.
Script Arguments
Cadence Script
1import EVM from 0xe467b9dd11fa00df
2
3transaction(hexEncodedTx: String, coinbase: String) {
4 execute {
5 let txResult = EVM.run(
6 tx: hexEncodedTx.decodeHex(),
7 coinbase: EVM.addressFromString(coinbase)
8 )
9 assert(
10 txResult.status == EVM.Status.failed || txResult.status == EVM.Status.successful,
11 message: "evm_error=".concat(txResult.errorMessage).concat("\n")
12 )
13 }
14}