Skip to content

Implement State Bloating scenarios for Bloatnet #71

@CPerezz

Description

@CPerezz

https://bloatnet.info/ initiative attempts to clear the doubts on when state-size will become an issue for clients and which will be the exact triggers that will require work.

This initiative, requires 2 things: Bloating scenarios & attack scenarios.

Bloating Scenarios

These refer to all the scenarios whose goal is to increate state size as much as possible with a single tx.

Notice some of these scenarios will serve as attacks too when testing at 100M gas-limit.

Attack Scenarios

  • Perform the maximum amount of EXTCODESIZE to 24kB contracts in a single block.
  • Perform the maximum amount of SLOADs to random slots introduced by rand_sstore scenario
  • Implement XEN contract worst-cases adaptative to max gas-limit
  • Perform max amount of warm EXTCODESIZE by calling BALANCE first for all of them. This exploits the warm access discount and exploits a double-access to the same contract in a possibly lost-cache entry.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions