Skip to content

Compile pipeline: update types #5965

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

Merged
merged 14 commits into from
Apr 30, 2025
Merged

Compile pipeline: update types #5965

merged 14 commits into from
Apr 30, 2025

Conversation

yann300
Copy link
Contributor

@yann300 yann300 commented Apr 22, 2025

  • pass viaIR and remappings to all the stack
  • update the compile function with more types.
  • fix overriding compiler_config.json at each load.
  • fix parse contract address in the compiler artefacts.

@yann300 yann300 added the WIP label Apr 22, 2025
Copy link

netlify bot commented Apr 22, 2025

Deploy Preview for remixproject ready!

Name Link
🔨 Latest commit 5bd7389
🔍 Latest deploy log https://app.netlify.com/sites/remixproject/deploys/6811d5e1914f870008482eeb
😎 Deploy Preview https://deploy-preview-5965--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 removed the WIP label Apr 23, 2025
@yann300 yann300 requested a review from Aniket-Engg April 23, 2025 08:08
@yann300 yann300 force-pushed the fix_remappings branch 3 times, most recently from 65a5f5e to 3bf21e4 Compare April 23, 2025 20:00
@yann300 yann300 added the ready-to-review PR ready to review label Apr 29, 2025
async (url, cb) => {
// we first try to resolve the content from the compilation target using a more appropriate path
const path = `${targetPath}/${url}`
if (compilationTargets[path] && compilationTargets[path].content) {
console.log('resolving', targetPath, url)
Copy link
Collaborator

Choose a reason for hiding this comment

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

remove log

return cb(null, compilationTargets[path].content)
} else {
await this.call('contentImport', 'resolveAndSave', url).then((result) => cb(null, result)).catch((error) => cb(error.message))
cb('dependency not found ' + url)
// await this.call('contentImport', 'resolveAndSave', url).then((result) => cb(null, result)).catch((error) => cb(error.message))
Copy link
Collaborator

Choose a reason for hiding this comment

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

remove commented code

@yann300 yann300 requested a review from Aniket-Engg April 30, 2025 08:10
@Aniket-Engg Aniket-Engg merged commit f8d9fa1 into master Apr 30, 2025
34 checks passed
@Aniket-Engg Aniket-Engg deleted the fix_remappings branch April 30, 2025 16:27
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