@openzeppelin/hardhat-upgrades
Version:
[](https://docs.openzeppelin.com/upgrades-plugins/hardhat-upgrades) [](https://www.npmjs.org/package/@openzeppelin/h
12 lines • 678 B
TypeScript
import type { SolidityHooks } from 'hardhat/types/hooks';
declare const _default: () => Promise<Partial<SolidityHooks>>;
export default _default;
/**
* Injects AST and metadata from HH3's split `.output.json` build-info files into artifact JSON.
*
* Required by the `@openzeppelin/foundry-upgrades` npm package, which reads this data from
* artifacts via FFI during `hardhat test solidity`. HH3's artifact schema does not include AST
* by default, so this bridges the gap. Removing it breaks `examples/BoxSolidityTests`.
*/
export declare function injectAstIntoArtifacts(artifactPaths: string[], buildInfoDir: string): Promise<void>;
//# sourceMappingURL=solidity.d.ts.map