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

Stampit removal on contract compiler #1523

Closed

Conversation

martinkaintas
Copy link
Collaborator

@martinkaintas martinkaintas commented May 20, 2022

closes #1524
Based on: #1511

@lgtm-com
Copy link

lgtm-com bot commented May 20, 2022

This pull request introduces 2 alerts and fixes 1 when merging 2f00f7b into d42c90d - view on LGTM.com

new alerts:

  • 2 for Superfluous trailing arguments

fixed alerts:

  • 1 for Superfluous trailing arguments

@subhod-i
Copy link
Collaborator

subhod-i commented May 25, 2022

I am resolving the merge conflicts.
Edit: @martinkaintas Please resolve the merge conflicts. My changes are outdated.

@@ -145,9 +145,9 @@ describe('Contract instance', function () {

before(async function () {
aeSdk = await getSdk()
testContractAci = await aeSdk.compilerApi
testContractAci = await aeSdk.contractCompiler.compilerApi
Copy link
Member

Choose a reason for hiding this comment

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

the approach looks good, but I would combine ContractCompilerHttp and CompilerApi, to have just:

Suggested change
testContractAci = await aeSdk.contractCompiler.compilerApi
testContractAci = await aeSdk.compilerApi

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Other than the compilerApi property, ContractCompilerHttp also has other properties and methods, specifically compilerVersion and setCompilerUrl. How would we access those if ContractCompilerHttp was to become one with compilerApi?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Drop Stamps from contract compiler
3 participants