neo-project / neo-express

Neo Private Net optimized for development scenarios
MIT License
35 stars 37 forks source link

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

Open lock9 opened 2 months ago

lock9 commented 2 months ago

Describe the bug

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

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

cschuchardt88 commented 2 months ago

@chenzhitong Look into this please.

chenzhitong commented 2 months ago

image Things are good on my end, and I haven’t encountered any recurring bugs.