Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added: IBatch Interface #326

Merged
merged 3 commits into from
Nov 3, 2024

Conversation

TheMarvelFan
Copy link
Contributor

Closes #325

Added IBatch interface and inherited it to ISablierFlowBase inerface.
Also inherited IBatch into Batch to fix inheritance issues during compile-time.

@andreivladbrg andreivladbrg self-requested a review November 3, 2024 14:07
Copy link
Member

@andreivladbrg andreivladbrg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for working on this, just left some comments bellow:

src/abstracts/Batch.sol Outdated Show resolved Hide resolved
src/abstracts/Batch.sol Outdated Show resolved Hide resolved
src/interfaces/ISablierFlowBase.sol Outdated Show resolved Hide resolved
Copy link
Member

@smol-ninja smol-ninja left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks @TheMarvelFan for the PR. We use slither to fetch the number of inherited components.

slither src/SablierFlow.sol --print inheritance

Copy link
Member

@andreivladbrg andreivladbrg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@andreivladbrg andreivladbrg merged commit bdd2c99 into sablier-labs:main Nov 3, 2024
6 of 7 checks passed
@TheMarvelFan TheMarvelFan deleted the feat/implement-ibatch branch November 3, 2024 20:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement IBatch interface
3 participants