File tree 2 files changed +4
-3
lines changed
v-next/hardhat/src/internal/builtin-plugins/solidity/build-system
2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -263,8 +263,9 @@ export class SolidityBuildSystemImplementation implements SolidityBuildSystem {
263
263
DependencyGraphImplementation
264
264
> = new Map ( ) ;
265
265
266
- // Note: This is merging solc config object identity, not a deep
267
- // comparison. This is Hardhat v2's behavior.
266
+ // Note: This groups the subgraphs by solc config. It compares the configs
267
+ // based on reference, and not by deep equality. It misses some merging
268
+ // opportunities, but this is Hardhat v2's behavior and works well enough.
268
269
for ( const [ solcConfig , subgraph ] of subgraphsWithConfig ) {
269
270
const mergedSubgraph = mergedSubgraphsByConfig . get ( solcConfig ) ;
270
271
Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ import {
52
52
// packages, by forbidding user remappings with context and starting with
53
53
// `npm/`.
54
54
// - We do allow users to remap imports of non-npm files, including remmapping
55
- // them into file within npm packages.
55
+ // them into npm packages.
56
56
// - Every import in an npm file is either relative or remapped by a remapping
57
57
// generated by the resolver.
58
58
// - A direct import (i.e. not relative) is considered to be local within the
You can’t perform that action at this time.
0 commit comments