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(anvil): enable IPC for Windows #3976

Merged
merged 10 commits into from
Jan 3, 2023

Conversation

DaniPopes
Copy link
Member

@DaniPopes DaniPopes commented Dec 27, 2022

Motivation

blocked by gakonst/ethers-rs#1976, #3977

Solution

@DaniPopes DaniPopes marked this pull request as draft December 27, 2022 17:02
@DaniPopes
Copy link
Member Author

DaniPopes commented Dec 27, 2022

cross-platform tests don't run on PR but tested locally

image

@DaniPopes DaniPopes marked this pull request as ready for review December 27, 2022 18:22
@DaniPopes DaniPopes requested a review from mattsse December 27, 2022 18:22
@DaniPopes DaniPopes marked this pull request as draft December 27, 2022 18:26
@mattsse
Copy link
Member

mattsse commented Dec 27, 2022

yeh you can switch to push and it should run

workflow_dispatch:
workflow_call:

@DaniPopes
Copy link
Member Author

opened #3977

@@ -212,6 +212,5 @@ jobs:

cross-platform:
name: Cross-platform tests
if: github.event_name != 'pull_request'
Copy link
Member

Choose a reason for hiding this comment

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

why did we use this?

Copy link
Member Author

Choose a reason for hiding this comment

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

Maybe to not get spammed? I removed it just so we can test the CI here in this pr

@@ -7,7 +7,6 @@ mod ganache;
mod gas;
mod genesis;
mod geth;
#[cfg(not(windows))]
Copy link
Member

Choose a reason for hiding this comment

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

nice :)

@@ -270,10 +270,9 @@ impl NodeHandle {
}

/// Connects to the ipc endpoint of the node, if spawned
#[cfg(not(windows))]
Copy link
Member

Choose a reason for hiding this comment

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

🥳

@DaniPopes
Copy link
Member Author

@gakonst
Copy link
Member

gakonst commented Jan 3, 2023

lint failing - otherwise im open to merging as is and we can fix the windows ci separately

@mattsse mattsse marked this pull request as ready for review January 3, 2023 16:31
@mattsse mattsse added T-feature Type: feature C-anvil Command: anvil labels Jan 3, 2023
@gakonst gakonst merged commit 4935765 into foundry-rs:master Jan 3, 2023
@DaniPopes DaniPopes deleted the test/anvil-windows-ipc branch January 30, 2023 15:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-anvil Command: anvil T-feature Type: feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants