Skip to content

Commit

Permalink
more
Browse files Browse the repository at this point in the history
  • Loading branch information
dantaik committed Feb 5, 2025
1 parent 060225b commit 050b53a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import "src/layer1/based/ITaikoInbox.sol";
/// @title IPreconfRouter
/// @custom:security-contact [email protected]
interface IPreconfRouter {
error ForcedInclusionNotSupportted();

Check warning on line 9 in packages/protocol/contracts/layer1/preconf/iface/IPreconfRouter.sol

View workflow job for this annotation

GitHub Actions / check-for-typos

"Supportted" should be "Supported".
error NotTheOperator();
error ProposerIsNotTheSender();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,10 @@ contract PreconfRouter is EssentialContract, IPreconfRouter {
// check if we have a forced inclusion inbox
address wrapper = resolve(LibStrings.B_TAIKO_WRAPPER, true);
if (wrapper == address(0)) {
// Call the proposeBatch function on the TaikoInbox
require(_forcedInclusionParams.length == 0, ForcedInclusionNotSupportted());

Check warning on line 39 in packages/protocol/contracts/layer1/preconf/impl/PreconfRouter.sol

View workflow job for this annotation

GitHub Actions / check-for-typos

"Supportted" should be "Supported".
address taikoInbox = resolve(LibStrings.B_TAIKO, false);
(, meta_) = ITaikoInbox(taikoInbox).proposeBatch(_batchParams, _batchTxList);
} else {
// Call the proposeBatchWithForcedInclusion function on the ForcedInclusionInbox
(, meta_) = TaikoWrapper(wrapper).proposeBatchWithForcedInclusion(
_forcedInclusionParams, _batchParams, _batchTxList
);
Expand Down
2 changes: 1 addition & 1 deletion packages/protocol/script/gen-layouts.sh
Original file line number Diff line number Diff line change
Expand Up @@ -90,4 +90,4 @@ while IFS= read -r line; do
# Remove everything behind the second-to-last "|"
echo "$line" | sed -E 's/\|[^|]*\|[^|]*$/|/'
done < "$output_file" > "$temp_file"
mv "$temp_file" "$output_file"
mv "$temp_file" "$output_file"

0 comments on commit 050b53a

Please sign in to comment.