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

Test contracts compiled with many Solidity versions and handle reserved words #501

Merged
merged 9 commits into from
Oct 11, 2021

Conversation

hasparus
Copy link
Contributor

@hasparus hasparus commented Oct 8, 2021

I decided #497 is a good reason to test with multiple Soliditiy versions, so this PR aims to solve both the crash on reserved words and address #474.

@changeset-bot
Copy link

changeset-bot bot commented Oct 8, 2021

🦋 Changeset detected

Latest commit: 0472e11

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
typechain Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@hasparus hasparus marked this pull request as ready for review October 8, 2021 16:33
.eslintrc.js Outdated
@@ -12,7 +12,7 @@ module.exports = {
},
rules: {
// this gets inlined into a package eslint, so it means: use current package's package.info or the one at the project root
'import/no-extraneous-dependencies': ['error', { packageDir: ['./', __dirname] }],
'import/no-extraneous-dependencies': ['error', { packageDir: ['./', __dirname], }],
Copy link
Member

Choose a reason for hiding this comment

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

nit: it would be best to ensure formatting in this file via prettier

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Nice spot. I don't remember changing this to be fair, I expected it to be a result of lint:fix.

@krzkaczor
Copy link
Member

It's missing changesets. You can try a minor change in TC core and we see if changeset properly changes peer dependency on targets (now ethers-v5 will require at least 5.2) I feel we will need to do a major release for that.

@hasparus
Copy link
Contributor Author

hasparus commented Oct 11, 2021

You can try a minor change in TC core and we see if changeset properly changes peer dependency on targets (now ethers-v5 will require at least 5.2) I feel we will need to do a major release for that.

image
image

It seems that regardless if we bump typechain as minor or major changesets sets target bumps to patch. It might be okay if we consider this change to be a bugfix.

@hasparus hasparus merged commit c7c2913 into dethcrypto:master Oct 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants