Skip to content

Commit

Permalink
ci(protocol): forge fmt --check in protocol workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
d1onys1us committed Feb 12, 2024
1 parent e3fde54 commit a9bf1d1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
12 changes: 3 additions & 9 deletions .github/workflows/protocol.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ jobs:
- name: Install pnpm dependencies
uses: ./.github/actions/install-pnpm-dependencies

- name: Check formatting
run: forge fmt --check

- name: protocol - Unit Tests
working-directory: ./packages/protocol
run: pnpm clean && pnpm test
Expand Down Expand Up @@ -60,12 +63,3 @@ jobs:
# with:
# directory: ./packages/protocol/coverage
# flags: protocol

# - name: protocol - Generate contract documentation
# run: pnpm -F protocol export:docs

# - name: protocol - Commit contract documentation
# uses: stefanzweifel/git-auto-commit-action@v4
# with:
# commit_message: Add auto-generated contract documentation
# file_pattern: "**/*.md"
2 changes: 2 additions & 0 deletions packages/protocol/contracts/L1/TaikoL1.sol
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ contract TaikoL1 is
TaikoData.State public state;
uint256[100] private __gap;



/// @dev Fallback function to receive Ether from Hooks
receive() external payable {
if (!_inNonReentrant()) revert L1_RECEIVE_DISABLED();
Expand Down

0 comments on commit a9bf1d1

Please sign in to comment.