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

Fix cli integration #4743

Merged
merged 27 commits into from
Jun 18, 2024
Merged

Fix cli integration #4743

merged 27 commits into from
Jun 18, 2024

Conversation

yann300
Copy link
Contributor

@yann300 yann300 commented Apr 18, 2024

This fixes the Foundry integration and improve e2e tests.

@yann300 yann300 added the WIP label Apr 18, 2024
Copy link

netlify bot commented Apr 18, 2024

Deploy Preview for remixproject ready!

Name Link
🔨 Latest commit f2bef04
🔍 Latest deploy log https://app.netlify.com/sites/remixproject/deploys/66709c087247c00008a88549
😎 Deploy Preview https://deploy-preview-4743--remixproject.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@yann300 yann300 force-pushed the fix_cli_integ branch 2 times, most recently from 6df1e2e to a2b6f87 Compare June 11, 2024 12:16
@yann300 yann300 added ready-to-review PR ready to review and removed WIP labels Jun 11, 2024
@yann300 yann300 force-pushed the fix_cli_integ branch 8 times, most recently from f990754 to 2a5d1f0 Compare June 12, 2024 08:31
@yann300 yann300 requested a review from Aniket-Engg June 12, 2024 08:50
@yann300 yann300 self-assigned this Jun 12, 2024
@yann300 yann300 force-pushed the fix_cli_integ branch 3 times, most recently from c331317 to a90a89d Compare June 13, 2024 20:24

browser.perform(async (done) => {
remixd = await spawnRemixd(join(process.cwd(), '/apps/remix-ide', '/contracts/hardhat'))
remixd = await spawnRemixd(join(process.cwd(), '/apps/remix-ide/hardhat-boilerplate'))
Copy link
Collaborator

Choose a reason for hiding this comment

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

is /apps/remix-ide/hardhat-boilerplate path existing?

async function setupHardhatProject(): Promise<void> {
console.log(process.cwd())
try {
const server = spawn('git clone https://github.com/NomicFoundation/hardhat-boilerplate && cd hardhat-boilerplate && yarn install && yarn add "@typechain/ethers-v5@^10.1.0" && yarn add "@typechain/hardhat@^6.1.2" && yarn add "typechain@^8.1.0" && echo "END"', [], { cwd: process.cwd() + '/apps/remix-ide', shell: true, detached: true })
Copy link
Collaborator

Choose a reason for hiding this comment

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

ok, I see. It is here

@@ -374,6 +374,7 @@ export function ContractDropdownUI(props: ContractDropdownProps) {
evmVersion = JSON.parse(loadedContractData.metadata).settings.evmVersion
}
} catch (err) {}
console.log('current file', currentFile)
Copy link
Collaborator

Choose a reason for hiding this comment

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

should be removed

@Aniket-Engg Aniket-Engg merged commit e841860 into master Jun 18, 2024
32 checks passed
@Aniket-Engg Aniket-Engg deleted the fix_cli_integ branch June 18, 2024 05:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-to-review PR ready to review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants