-
Notifications
You must be signed in to change notification settings - Fork 20.4k
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
allow passing custom compiler args #24925
Conversation
still working out the details, just checking if you are willing to merge such a PR? |
Signed-off-by: Krasi Georgiev <8903888+krasi-georgiev@users.noreply.github.com>
Not so sure about that -- but I guess that depends on the usecase. I'm sceptical as to why we need compiler integration in the first place, rather than have the user compile whatever he desires with whatever compiler he desires, and then just provide geth with the artefacts. Then we could remove a lot of code, and we would not have to maintain and update the compiler integration in the coming years. But maybe you have some good arguments and insights into why that would be a bad idea, and wouldn't work in some cases? I'm curious, since I've never used this feature myself, I really do not have any intuition about how people use it and why. |
Removing the compilation part means removing the I have built my own wrapper which adds downloading the contracts from etherscan directly, downloading the required compiler and generating the bindings. It uses the https://github.com/cryptoriums/contraget/blob/main/pkg/contraget/contraget.go |
Yes, I meant that geth would only look at the compiler outputs, the abi definitions, but not try to orchestrate the compilers. |
that sounds reasonable, I can refactor the PR to do that and as an addition can move the |
The compiler calls were removed on master, so this PR is not not relevant any more. Sorry for the wasted effort, though your PR did prompt cleaning up our code a bit, so I guess that's a plus :) |
Signed-off-by: Krasi Georgiev 8903888+krasi-georgiev@users.noreply.github.com