Skip to content

Commit

Permalink
fix: tweaked .gitignore to ignore unnecessary default artifacts (#699)
Browse files Browse the repository at this point in the history
Signed-off-by: Logan Nguyen <[email protected]>
  • Loading branch information
quiet-node authored Mar 11, 2024
1 parent 9a18ac0 commit dfaedf9
Show file tree
Hide file tree
Showing 152 changed files with 27 additions and 32,958 deletions.
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

0 comments on commit dfaedf9

Please sign in to comment.