Skip to content

Commit 44d1f73

Browse files
authored
fix: pin zk-hardhat solidity to 0.8.28 (#8543)
1 parent 902e667 commit 44d1f73

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

solidity/zk-hardhat.config.cts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,13 @@ import { rootHardhatConfig } from './rootHardhatConfig.cjs';
1010
*/
1111
module.exports = {
1212
...rootHardhatConfig,
13-
// Override solidity version — era-solidity only supports up to 0.8.30
13+
// Override solidity version — zkvm-solc 0.8.30 crashes with EPIPE on CI
14+
// when compiling the full contract set. Pin to 0.8.28 (>=0.8.24 required
15+
// for transient storage opcodes used by TransientStorage.sol).
1416
// https://github.com/matter-labs/era-solidity/releases
1517
solidity: {
1618
...rootHardhatConfig.solidity,
17-
version: '0.8.30',
19+
version: '0.8.28',
1820
},
1921
zksolc: {
2022
version: '1.5.12',

0 commit comments

Comments
 (0)