Skip to content

Commit e1f7f67

Browse files
committed
Merge remote master branch
2 parents a0e377a + 785964d commit e1f7f67

File tree

12,106 files changed

+3024056
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

12,106 files changed

+3024056
-0
lines changed

.DS_Store

6 KB
Binary file not shown.

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,6 @@ docs/
1212

1313
# Dotenv file
1414
.env
15+
16+
# macOS
17+
.DS_Store

.gitmodules

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,48 @@
11
[submodule "lib/forge-std"]
22
path = lib/forge-std
33
url = https://github.com/foundry-rs/forge-std
4+
[submodule "02 Foundry Fundamentals/Smart Contract Lottery/lib/solmate"]
5+
path = 02 Foundry Fundamentals/Smart Contract Lottery/lib/solmate
6+
url = https://github.com/transmissions11/solmate
7+
[submodule "02 Foundry Fundamentals/Smart Contract Lottery/lib/foundry-devops"]
8+
path = 02 Foundry Fundamentals/Smart Contract Lottery/lib/foundry-devops
9+
url = https://github.com/cyfrin/foundry-devops
10+
[submodule "02 Foundry Fundamentals/Smart Contract Lottery/lib/openzeppelin-contracts"]
11+
path = 02 Foundry Fundamentals/Smart Contract Lottery/lib/openzeppelin-contracts
12+
url = https://github.com/OpenZeppelin/openzeppelin-contracts
13+
[submodule "02 Foundry Fundamentals/Smart Contract Lottery/lib/forge-std"]
14+
path = 02 Foundry Fundamentals/Smart Contract Lottery/lib/forge-std
15+
url = https://github.com/foundry-rs/forge-std
16+
[submodule "04 Advanced Foundry/erc20/lib/forge-std"]
17+
path = 04 Advanced Foundry/erc20/lib/forge-std
18+
url = https://github.com/foundry-rs/forge-std
19+
[submodule "04 Advanced Foundry/erc20/lib/openzeppelin-contracts"]
20+
path = 04 Advanced Foundry/erc20/lib/openzeppelin-contracts
21+
url = https://github.com/openzeppelin/openzeppelin-contracts
22+
[submodule "04 Advanced Foundry/NFTCollection/lib/forge-std"]
23+
path = 04 Advanced Foundry/NFTCollection/lib/forge-std
24+
url = https://github.com/foundry-rs/forge-std
25+
[submodule "04 Advanced Foundry/NFTCollection/lib/openzeppelin-contracts"]
26+
path = 04 Advanced Foundry/NFTCollection/lib/openzeppelin-contracts
27+
url = https://github.com/openzeppelin/openzeppelin-contracts
28+
[submodule "04 Advanced Foundry/NFTCollection/lib/foundry-devops"]
29+
path = 04 Advanced Foundry/NFTCollection/lib/foundry-devops
30+
url = https://github.com/ChainAccelOrg/foundry-devops
31+
[submodule "04 Advanced Foundry/DeFiProtocol/lib/forge-std"]
32+
path = 04 Advanced Foundry/DeFiProtocol/lib/forge-std
33+
url = https://github.com/foundry-rs/forge-std
34+
[submodule "04 Advanced Foundry/DeFiProtocol/lib/openzeppelin-contracts"]
35+
path = 04 Advanced Foundry/DeFiProtocol/lib/openzeppelin-contracts
36+
url = https://github.com/openzeppelin/openzeppelin-contracts
37+
[submodule "04 Advanced Foundry/DeFiProtocol/lib/chainlink-brownie-contracts"]
38+
path = 04 Advanced Foundry/DeFiProtocol/lib/chainlink-brownie-contracts
39+
url = https://github.com/smartcontractkit/chainlink-brownie-contracts
40+
[submodule "04 Advanced Foundry/CCRebaseToken/lib/chainlink-brownie-contracts"]
41+
path = 04 Advanced Foundry/CCRebaseToken/lib/chainlink-brownie-contracts
42+
url = https://github.com/smartcontractkit/chainlink-brownie-contracts.git
43+
[submodule "04 Advanced Foundry/CCRebaseToken/lib/forge-std"]
44+
path = 04 Advanced Foundry/CCRebaseToken/lib/forge-std
45+
url = https://github.com/foundry-rs/forge-std.git
46+
[submodule "04 Advanced Foundry/CCRebaseToken/lib/openzeppelin-contracts"]
47+
path = 04 Advanced Foundry/CCRebaseToken/lib/openzeppelin-contracts
48+
url = https://github.com/openzeppelin/openzeppelin-contracts.git

00 Resources/Foundry Cheatsheet.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Foundry Cheat Sheet
2+
3+
## Commands
4+
5+
- `forge test` to run all tests
6+
- `forge test --mt <function name>` to run a specific test
7+
- `forge coverage` to see coverage
8+
- `forge coverage --report debug > coverage.txt` to get coverage report
9+
- `forge clean` to clean up the build folder

00 Resources/GitNotes.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Notes on Git
2+
3+
## Problem Solving
4+
5+
### Submoduling
6+
7+
When cloning a repo if you want to keep the folder you need to remove the .git folder and the submodules from the index:
8+
9+
- Remove submodules from index: `git rm --cached -r <folder where the git exists>`
10+
- Remove .git folders:`rm -rf folder/.git`
11+
12+
Then git add, commit and push.

0 commit comments

Comments
 (0)