Skip to content
This repository has been archived by the owner on Oct 19, 2024. It is now read-only.

bug(ethers-solc): ConfigurableArtifacts strips extra output from evm.bytecode.X #1082

Closed
brockelmore opened this issue Mar 27, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@brockelmore
Copy link
Collaborator

Version
ethers-solc v0.3.0 (https://github.com/gakonst/ethers-rs#95a384b1)

Platform
Linux main 5.16.14-arch1-1 #1 SMP PREEMPT Fri, 11 Mar 2022 17:40:36 +0000 x86_64 GNU/Linux

Description
In foundry, if you pass in --extra-output evm.bytecode.generatedSources, what is written to file does not include this object. This is because ConfigurableContractArtifact uses CompactBytecode (or CompactDeployBytecode), which strips everything except whats necessary to deploy.

I expect that ConfigurableContractArtifact to enable us to specify bytecode sub-objects, instead requested items are stripped.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant