diff --git a/CHANGELOG.md b/CHANGELOG.md index e8b1531..57502ac 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,10 @@ This is a development pre-release. +### Fixed + +- npm package: The `--bin` CLI flag was not producing bytecode because the `outputSelection` was not updated to explicitly requested it. + ## v1.0.0 Supported `polkadot-sdk` rev: `unstable2507` diff --git a/js/resolc/src/index.ts b/js/resolc/src/index.ts index 9843e4f..bd19a73 100644 --- a/js/resolc/src/index.ts +++ b/js/resolc/src/index.ts @@ -111,7 +111,7 @@ export async function compile( optimizer, outputSelection: { '*': { - '*': ['abi'], + '*': ['abi', 'evm.bytecode'], }, }, },