-
Notifications
You must be signed in to change notification settings - Fork 21
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(router): CAN-596 add web-solc to compile on browser #1481
Conversation
|
@@ -111,16 +111,18 @@ const routerStep = { | |||
throw new Error(`contract not found: ${n}`); | |||
} | |||
|
|||
const contractName = n.replace('.', '_'); // Use step name, and replace '.' in case is pointing to an import. |
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.
This fixes a bug where it was not possible to render a Router that included contracts from an imported package 🐛
Closes https://linear.app/usecannon/issue/CAN-596/allow-to-build-the-router-on-website-using-solc