Skip to content

feat(utils): implement ERC-7751 wrapping bubbled reverts #34

@jose-compu

Description

@jose-compu

Context

ERC-7751 (Wrapping Bubbled Reverts) is a utility standard for better error handling in Solidity. OZ contributors co-authored it. The idea is to wrap inner revert data with additional context when bubbling up errors — similar to how you would wrap exceptions in other languages.

Scope

  • BubbledRevert.sol — library with the wrapping/unwrapping logic
  • Tests with nested call scenarios where reverts bubble through multiple levels
  • Could integrate with our existing contracts as a utility

Small implementation, useful utility, and having OZ contributors as co-authors gives it credibility. Good candidate for a quick win.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestsoliditySolidity smart contract implementation

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions