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(examples): minimal viable ExEx #7565

Merged
merged 53 commits into from Apr 11, 2024
Merged

feat(examples): minimal viable ExEx #7565

merged 53 commits into from Apr 11, 2024

Conversation

shekhirin
Copy link
Collaborator

Closes #7557

@shekhirin shekhirin added A-exex Execution Extensions C-example Examples labels Apr 11, 2024
@shekhirin shekhirin marked this pull request as ready for review April 11, 2024 11:05
@shekhirin shekhirin requested a review from gakonst as a code owner April 11, 2024 11:06
Copy link
Collaborator

@mattsse mattsse left a comment

Choose a reason for hiding this comment

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

cosmetic nits

examples/exex/minimal/src/main.rs Outdated Show resolved Hide resolved
let this = self.get_mut();

// Process all new chain state notifications until there are no more
while let Poll::Ready(Some(notification)) = this.ctx.notifications.poll_recv(cx) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

while let Some(notification) = ready!(

and return Ok(()) on end

Comment on lines +33 to +34
old.first().number..=old.tip().number,
new.first().number..=new.tip().number
Copy link
Member

Choose a reason for hiding this comment

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

nit: include hashes of the old/new tip otherwise it might look confusing if we reorg a similar chain length

Base automatically changed from onbjerg/exex-manager to main April 11, 2024 16:26
@shekhirin shekhirin added this pull request to the merge queue Apr 11, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to a conflict with the base branch Apr 11, 2024
@shekhirin shekhirin added this pull request to the merge queue Apr 11, 2024
Merged via the queue into main with commit 39dea65 Apr 11, 2024
28 checks passed
@shekhirin shekhirin deleted the alexey/minimal-exex branch April 11, 2024 17:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-exex Execution Extensions C-example Examples
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants