Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: tweaked .gitignore to ignore unnecessary default artifacts #699

Merged
merged 1 commit into from
Mar 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 23 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,36 @@ cache
.idea

# ignore non repo contract related aritifacts
artifacts/@openzeppelin
artifacts/build-info
artifacts/contracts/**/**/*.dbg.json
.openzeppelin/unknown-298.json
.env
test-results.*
contracts-abi/*
!contracts-abi/contracts

## --- Foundry Gitignore ---
# Ignore all default artifacts except for TokenCreateCustomContract, TokenManagementContract, TokenQueryContract, TokenTransferContract, IHRC729Contract, PrngSystemContract, ERC20Mock, ERC721Mock
# because the System Contract DApp requires the bytecode of these contracts
artifacts/contracts/*
artifacts/build-info
artifacts/@openzeppelin
artifacts/contracts/**/**/*.dbg.json

!artifacts/contracts/hts-precompile
artifacts/contracts/hts-precompile/*
!artifacts/contracts/hts-precompile/examples
!artifacts/contracts/hts-precompile/IHRC.sol

!artifacts/contracts/exchange-rate-precompile
artifacts/contracts/exchange-rate-precompile/*
!artifacts/contracts/exchange-rate-precompile/ExchangeRateMock.sol

!artifacts/contracts/util-precompile

!artifacts/contracts/openzeppelin
artifacts/contracts/openzeppelin/*
!artifacts/contracts/openzeppelin/ERC-20
!artifacts/contracts/openzeppelin/ERC-721

## --- Foundry Gitignore ---
# Compiler files
forge-cache/
out/
Expand Down
10 changes: 0 additions & 10 deletions artifacts/contracts/base/NoDelegateCall.sol/NoDelegateCall.json

This file was deleted.

112 changes: 0 additions & 112 deletions artifacts/contracts/diamond-pattern/Diamond.sol/Diamond.json

This file was deleted.

This file was deleted.

Loading
Loading