Skip to content

Commit

Permalink
dummy test
Browse files Browse the repository at this point in the history
  • Loading branch information
d1onys1us committed May 20, 2023
1 parent 13d6b47 commit 0fa621a
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 27 deletions.
55 changes: 29 additions & 26 deletions .github/workflows/protocol.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,37 +23,37 @@ jobs:
with:
submodules: recursive

- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
# - name: Install Foundry
# uses: foundry-rs/foundry-toolchain@v1

- name: Install pnpm dependencies
uses: ./.github/actions/install-pnpm-dependencies
# - name: Install pnpm dependencies
# uses: ./.github/actions/install-pnpm-dependencies

- name: protocol - Unit Tests
working-directory: ./packages/protocol
run: pnpm clean && pnpm compile:hardhat && pnpm test

- name: protocol - Generate Genesis
working-directory: ./packages/protocol
run: pnpm test:genesis
# - name: protocol - Unit Tests
# working-directory: ./packages/protocol
# run: pnpm clean && pnpm compile:hardhat && pnpm test

# TODO: CompilerError: Stack too deep
# - name: protocol - Test Coverage
# - name: protocol - Generate Genesis
# working-directory: ./packages/protocol
# run: pnpm test:coverage
# run: pnpm test:genesis

# # TODO: CompilerError: Stack too deep
# # - name: protocol - Test Coverage
# # working-directory: ./packages/protocol
# # run: pnpm test:coverage

- name: protocol - Run snapshot (foundry)
working-directory: ./packages/protocol
run: pnpm snapshot
# - name: protocol - Run snapshot (foundry)
# working-directory: ./packages/protocol
# run: pnpm snapshot

- name: protocol - Deploy L1 Contracts
working-directory: ./packages/protocol
run: |
anvil &
while ! nc -z localhost 8545; do
sleep 1
done
pnpm deploy:foundry
# - name: protocol - Deploy L1 Contracts
# working-directory: ./packages/protocol
# run: |
# anvil &
# while ! nc -z localhost 8545; do
# sleep 1
# done
# pnpm deploy:foundry

# - name: protocol - Upload coverage to Codecov
# uses: codecov/codecov-action@v3
Expand All @@ -64,5 +64,8 @@ jobs:
- name: protocol - Generate contract documentation
run: pnpm -F protocol export:docs

- name: protocol - Commit generated documentation
- 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: 1 addition & 1 deletion packages/protocol/contracts/L1/TaikoL1.sol
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ contract TaikoL1 is EssentialContract, ICrossChainSync, TaikoEvents, TaikoErrors
}

/**
* Initialize the rollup.
* Initialize the rollup. asdfasd
*
* @param _addressManager The AddressManager address.
* @param _genesisBlockHash The block hash of the genesis block.
Expand Down

0 comments on commit 0fa621a

Please sign in to comment.