You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Provide a way to override anvil-zksync's binary path and tag. Either via a CLI parameter or an env var, no strong opinion here.
🤔 Rationale
Adds flexibility to use a specific version of anvil-zksync as needed (latest might have bugs, drop compatibility with certain feature that a user relies on etc). Additionally, an option to use a locally built binary is great for debugging.
🖼️ Mockups/Examples
Just to give an idea of how this can look like, here is how I patched hardhat-zksync to override anvil-zksync path in my most recent debugging attempt:
let binaryPath: string;
const anvilPath = env.HARDHAT_ANVIL_ZKSYNC_PATH;
if (anvilPath) {
console.log(`Using custom anvil-zksync binary at '${anvilPath}'`);
binaryPath = anvilPath;
} else {
binaryPath = await run(TASK_NODE_ZKSYNC_DOWNLOAD_BINARY, { force: false, tag });
}
📋 Additional Context
Add any other context or information about the feature request here.
The text was updated successfully, but these errors were encountered:
🌟 Feature Request for hardaht-zksync plugins
💥 Plugin name
hardhat-zksync-node
📝 Description
Provide a way to override anvil-zksync's binary path and tag. Either via a CLI parameter or an env var, no strong opinion here.
🤔 Rationale
Adds flexibility to use a specific version of anvil-zksync as needed (latest might have bugs, drop compatibility with certain feature that a user relies on etc). Additionally, an option to use a locally built binary is great for debugging.
🖼️ Mockups/Examples
Just to give an idea of how this can look like, here is how I patched hardhat-zksync to override anvil-zksync path in my most recent debugging attempt:
📋 Additional Context
Add any other context or information about the feature request here.
The text was updated successfully, but these errors were encountered: