Skip to content

TxCache toVMAccount and toStateAccount are not compatible #121

@jaekwon

Description

@jaekwon

To reproduce:

  • An account is created and saved in a BlockCache
  • The block is committed
  • A new BlockCache is created
  • The account is loaded in a VM
  • The account is saved
  • The account is written to the BlockCache, but with the 0 prefix still attached, which is wrong.

Should write a simple test to convert between toVMAccount and toStateAccount.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions