Skip to content

Commit 4e93a8f

Browse files
build.sh: read the default-profile artifacts of dual-compiled interfaces
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent 3f36b18 commit 4e93a8f

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

‎script/build.sh‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,12 @@ jq "{abi}" out/DecimalFloat.sol/DecimalFloat.json > subgraph/abis/DecimalFloat.j
3838
(cd subgraph && npm ci && graph codegen)
3939

4040
mkdir -p crates/bindings/abis
41-
jq "{abi}" out/IRaindexV6.sol/IRaindexV6.json > crates/bindings/abis/IRaindexV6.json
41+
# Sources the `raindex` compiler profile also compiles get per-profile artifacts.
42+
jq "{abi}" out/IRaindexV6.sol/IRaindexV6.default.json > crates/bindings/abis/IRaindexV6.json
4243
jq "{abi}" out/RaindexV6.sol/RaindexV6.json > crates/bindings/abis/RaindexV6.json
4344
jq "{abi}" out/ERC20.sol/ERC20.json > crates/bindings/abis/ERC20.json
44-
jq "{abi}" out/IERC20Metadata.sol/IERC20Metadata.json > crates/bindings/abis/IERC20Metadata.json
45-
jq "{abi}" out/IInterpreterStoreV3.sol/IInterpreterStoreV3.json > crates/bindings/abis/IInterpreterStoreV3.json
45+
jq "{abi}" out/IERC20Metadata.sol/IERC20Metadata.default.json > crates/bindings/abis/IERC20Metadata.json
46+
jq "{abi}" out/IInterpreterStoreV3.sol/IInterpreterStoreV3.default.json > crates/bindings/abis/IInterpreterStoreV3.json
4647

4748
mkdir -p crates/test_fixtures/abis
4849
# bytecode.sourceMap embeds a file-ID that depends on solc input ordering and

0 commit comments

Comments
 (0)