Skip to content

Error "RVCount doesn't match with EvaluationStack" / Transactions not being persisted #450

Open
@lock9

Description

@lock9

Describe the bug

  • When I use the testInvoke endpoint from Neo Express, I receive a "RVCount doesn't match with EvaluationStack" error.
  • The result appears to be fine when I use neoxp contract run contract method -r. However, changing the last parameter to -a account instead of -r returns a transaction hash that doesn't exist.
  • Looking at Neo Express logs, I found 20:04:15.91 akka://NeoSystem/user/$e Error Corruption: WriteBatch has wrong count'

I don't know if the problems are related.

To Reproduce

  1. Useneoxp contract run <contract> <method> <params> -a genesis. Copy the transaction hash
  2. Use neoxp show transaction <hash>
  3. See error: "Neo.Network.RPC.RpcException: Unknown transaction/blockhash"

Or

  1. Call 'invokeFunction' on the Neo Express RPC node.
  2. Check the result: "Exception: RVCount doesn't match with EvaluationStack"

Expected behavior
The transaction must persist and be findable using the hash, and the invokeFunction RPC should return the correct value.

please complete the following information

  • OS: macOS
  • Version 3.7.3

Additional context
The problem does not affect nodes on the Testnet. It returns the correct value without exceptions.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions