Skip to content
This repository has been archived by the owner on Mar 3, 2021. It is now read-only.

Add sendCompilationResults API capability to remix-lib #973

Closed
wants to merge 0 commits into from

Conversation

oogetyboogety
Copy link

For ethereum/remix-ide#1521

Accepts any language's output from a compiler that follows the solc JSON API https://solidity.readthedocs.io/en/v0.4.24/using-the-compiler.html

@@ -177,6 +177,19 @@ function Compiler (handleImportCall) {
return null
}

this.ldCompilationResult = (file, source, languageVersion, data) => {
Copy link
Collaborator

Choose a reason for hiding this comment

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

is this still needed?

Copy link
Author

@oogetyboogety oogetyboogety Sep 19, 2018

Choose a reason for hiding this comment

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

@yann300 I think this might be still needed and necessary to actually change the compiler's lastCompilationResult, or else we might be missing a handler to set that state variable for the rest of Remix. Please let me know what you think!

Copy link
Author

Choose a reason for hiding this comment

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

@yann300 Oh were you referring to the log statements? removing those now

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

Successfully merging this pull request may close these issues.

2 participants