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

consider remappings while compilation #4229

Merged
merged 4 commits into from
Nov 10, 2023
Merged

consider remappings while compilation #4229

merged 4 commits into from
Nov 10, 2023

Conversation

Aniket-Engg
Copy link
Collaborator

@Aniket-Engg Aniket-Engg commented Nov 9, 2023

mappings will be fetched from remapping.txt file

Copy link

netlify bot commented Nov 9, 2023

Deploy Preview for remixproject ready!

Name Link
🔨 Latest commit c9b99c8
🔍 Latest deploy log https://app.netlify.com/sites/remixproject/deploys/654e938fef721e0008fe03dc
😎 Deploy Preview https://deploy-preview-4229--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.

@Aniket-Engg Aniket-Engg added this to In progress in v0.38.0 - Feature Freeze 29/11 via automation Nov 9, 2023
@Aniket-Engg Aniket-Engg added the WIP label Nov 9, 2023
const sources = { [target]: { content } }
this.event.emit('removeAnnotations')
this.event.emit('startingCompilation')
if(!this.useFileConfiguration && await this.api.fileExists('remappings.txt')) {
Copy link
Contributor

Choose a reason for hiding this comment

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

even if the fileConfiguration is used, maybe still relevant to useremappings.txt. what's the behavior in foundry?

Copy link
Contributor

Choose a reason for hiding this comment

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

I mean in foundry who has the priority, remapping.txt or the compileConfig, or is this a merge of both?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Foundry picks the remappings from remappings.txt and foundry.toml both. CompilerConfig is specific to Remix

v0.38.0 - Feature Freeze 29/11 automation moved this from In progress to Reviewer approved Nov 10, 2023
@yann300 yann300 merged commit e79bd99 into master Nov 10, 2023
32 checks passed
v0.38.0 - Feature Freeze 29/11 automation moved this from Reviewer approved to Done Nov 10, 2023
@yann300 yann300 deleted the remaps branch November 10, 2023 20:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

2 participants