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

added e2e to verify remappings #4267

Merged
merged 4 commits into from
Nov 27, 2023
Merged

added e2e to verify remappings #4267

merged 4 commits into from
Nov 27, 2023

Conversation

Aniket-Engg
Copy link
Collaborator

fixes #4235

Copy link

netlify bot commented Nov 23, 2023

Deploy Preview for remixproject ready!

Name Link
🔨 Latest commit 161c326
🔍 Latest deploy log https://app.netlify.com/sites/remixproject/deploys/656471deb581a600080aa05b
😎 Deploy Preview https://deploy-preview-4267--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.

.addFile('contracts/lib/storage/src/Storage.sol', { content: retrieverContract })
.addFile('remappings.txt', { content: 'storage=contracts/lib/storage/src' })
.addFile('contracts/Retreiver.sol', { content: storageContract })
.verifyContracts(['Retreiver', 'Storage'])
Copy link
Contributor

Choose a reason for hiding this comment

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

typo, the test should actually fails.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

no, remappings are defined, so it will pass.

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 you are checking Retreiver but the contract is named Retriever

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Ah, fixed it.

v0.38.0 - Feature Freeze 29/11 automation moved this from In progress to Reviewer approved Nov 23, 2023
@yann300 yann300 merged commit 13db056 into master Nov 27, 2023
32 checks passed
v0.38.0 - Feature Freeze 29/11 automation moved this from Reviewer approved to Done Nov 27, 2023
@yann300 yann300 deleted the remapE2e branch November 27, 2023 10:45
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
No open projects
Development

Successfully merging this pull request may close these issues.

E2E: use of remappings.txt
2 participants