Skip to content

Commit fe246f2

Browse files
authored
feat: generate wrapper for ERC1967 proxy (#195)
<!-- Please read and fill out this form before submitting your PR. Please make sure you have reviewed our contributors guide before submitting your first PR. --> ## Overview <!-- Please provide an explanation of the PR, including the appropriate context, background, goal, and rationale. If there is an issue with this information, please provide a tl;dr and link the issue. --> Closes #194 ## Checklist <!-- Please complete the checklist to ensure that the PR is ready to be reviewed. IMPORTANT: PRs should be left in Draft until the below checklist is completed. --> - [ ] New and updated code has appropriate documentation - [ ] New and updated code has new and/or updated testing - [ ] Required CI checks are passing - [ ] Visual proof for any user facing features like CLI or documentation updates - [ ] Linked issues closed with keywords
1 parent ddcb943 commit fe246f2

File tree

3 files changed

+673
-1
lines changed

3 files changed

+673
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ gen: solidity-wrappers
88

99
SOLIDITY_DIR = .
1010
SOLIDITY_SRC_DIR = $(SOLIDITY_DIR)/src
11-
CONTRACTS = QuantumGravityBridge.sol
11+
CONTRACTS = QuantumGravityBridge.sol ERC1967Proxy.sol
1212

1313
fmt:
1414
@echo "--> Running forge fmt"

scripts/gen.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,12 @@ if (( $# < 2 )); then
1010
exit 1
1111
fi
1212

13+
# compile the QGB contracts
1314
forge build > /dev/null
1415

16+
# compile the proxy contracts
17+
forge build -C lib/openzeppelin-contracts/contracts/proxy > /dev/null
18+
1519
cd "$1"
1620

1721
for file in "${@: 2}"; do

0 commit comments

Comments
 (0)