Skip to content

Support inequality validation for post in tests #2227

@fselmo

Description

@fselmo

Right now, we support validation for an Account in post to have its storage set as some value, or its balance be some value. For values that alter the starting state but is maybe a hash or some undetermined value, or even for tests where we may just want to make sure this value is different, it would be nice to have some way to validate this. It has more recently come up in a couple of different contexts:

  • BAL validation here
  • Benchmark testing for BALs here

It would be nice to be able to support that some starting value has changed at post... or even perhaps that it doesn't equal some value. It's a bit slippery but with great power comes great responsibility (🕷️) and I think we could distinguish well enough when this is warranted and when it isn't. I can see the argument to not have this at all as well though.

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