-
Notifications
You must be signed in to change notification settings - Fork 959
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
Fix cli integration #4743
Conversation
✅ Deploy Preview for remixproject ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
6df1e2e
to
a2b6f87
Compare
f990754
to
2a5d1f0
Compare
c331317
to
a90a89d
Compare
|
||
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')) |
There was a problem hiding this comment.
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 }) |
There was a problem hiding this comment.
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) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should be removed
51d50da
to
ae878da
Compare
This fixes the Foundry integration and improve e2e tests.