Skip to content

Commit 9d669cb

Browse files
committed
fix: import ProposedHeaderLib in Rollup.t.sol
The test calls ProposedHeaderLib.hash at lines 913/915 (added in A-1373) but only imported the ProposedHeader struct, so a from-scratch forge build fails with an undeclared-identifier error. Latent until now because CI restored a cached l1-contracts build; a cache miss exposed it.
1 parent f7cca39 commit 9d669cb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

l1-contracts/test/Rollup.t.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import {Registry} from "@aztec/governance/Registry.sol";
1212
import {Inbox} from "@aztec/core/messagebridge/Inbox.sol";
1313
import {Outbox} from "@aztec/core/messagebridge/Outbox.sol";
1414
import {Errors} from "@aztec/core/libraries/Errors.sol";
15-
import {ProposedHeader} from "@aztec/core/libraries/rollup/ProposedHeaderLib.sol";
15+
import {ProposedHeader, ProposedHeaderLib} from "@aztec/core/libraries/rollup/ProposedHeaderLib.sol";
1616

1717
import {
1818
IRollupCore,

0 commit comments

Comments
 (0)