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

feat: base processors package #8

Merged
merged 4 commits into from
Oct 11, 2024
Merged

Conversation

0xnigir1
Copy link
Collaborator

@0xnigir1 0xnigir1 commented Oct 11, 2024

🤖 Linear

Closes GIT-95

Description

  • scaffolds processors package with IProcessor interface
  • empty implementation for Allo and Strategy
  • add Changeset type

Checklist before requesting a review

  • I have conducted a self-review of my code.
  • I have conducted a QA.
  • If it is a core feature, I have included comprehensive tests.

Copy link

linear bot commented Oct 11, 2024

GIT-95 Base Processor package

Scaffold the processors package

0xkenj1
0xkenj1 previously approved these changes Oct 11, 2024
Copy link
Collaborator

@0xkenj1 0xkenj1 left a comment

Choose a reason for hiding this comment

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

Approve with a comment, is up to you. Looks good :)

Copy link
Collaborator

Choose a reason for hiding this comment

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

Lets add a better description here, giving more detail about the contracts and what should process function does. (Factory+process)

Or should be more abstracted as it is ? wdyt?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

you think Contract should be explained here? I was thinking the latter, a more abstract description. (We can go deeper in readme)

@@ -0,0 +1,143 @@
import { ChainId } from "@grants-stack-indexer/shared";
import { Address } from "@grants-stack-indexer/shared/dist/src/internal.js";
Copy link
Collaborator

Choose a reason for hiding this comment

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

did you mean to import this from the dist?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

good catch

@0xnigir1 0xnigir1 requested a review from jahabeebs October 11, 2024 21:11
@0xnigir1 0xnigir1 merged commit 8113bcb into dev Oct 11, 2024
6 checks passed
@0xnigir1 0xnigir1 deleted the feat/base-processors-package branch October 11, 2024 23:40
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.

3 participants