Skip to content

Implement pre.empty_account() #1428

Open
@marioevz

Description

@marioevz

We do a lot the trick of pre.fund_eoa(amount=0) to signal in a test that we want an account that is guaranteed to be empty (and it's not a precompile or a system contract).

It would be better to have an explicit function like pre.empty_account() that would take no arguments and would always return an empty account in any context.

We would have to add an abstract method here

And then an implementation to:


and

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions