Skip to content

Commit

Permalink
Merge branch 'develop' into feature/add-verify-contract-to-cli
Browse files Browse the repository at this point in the history
  • Loading branch information
zomglings committed Feb 3, 2023
2 parents e729f5a + 2fe6095 commit 4248b2f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/game7ctl.lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,9 @@ jobs:
python-version: "3.10"
- name: Upgrade pip and setuptools
run: pip install --upgrade pip setuptools
- name: Install dependencies (including dev dependencies)
- name: Install black
working-directory: game7ctl/
env:
BROWNIE_LIB: 1
run: pip install -e ".[dev]"
run: pip install black
- name: Black syntax check
working-directory: game7ctl/
run: black --check game7ctl
1 change: 1 addition & 0 deletions brownie-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ dependencies:

compiler:
solc:
version: 0.8.17
remappings:
- "@openzeppelin-contracts=OpenZeppelin/openzeppelin-contracts@4.3.2"
- "@openzeppelin/contracts=OpenZeppelin/openzeppelin-contracts@4.3.2"
Expand Down
4 changes: 4 additions & 0 deletions game7ctl/game7ctl/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -368,6 +368,7 @@ def handle_facet_cut(args: argparse.Namespace) -> None:
ignore_selectors=args.ignore_selectors,
methods=args.methods,
selectors=args.selectors,
initializer_args=args.initializer_args,
)


Expand Down Expand Up @@ -429,6 +430,9 @@ def generate_cli():
required=True,
help=f"Address of contract to run as initializer after cut (default: {ZERO_ADDRESS})",
)
facet_cut_parser.add_argument(
"--initializer-args", nargs="*", help="Arguments to initializer"
)
facet_cut_parser.add_argument(
"--ignore-methods",
nargs="+",
Expand Down

0 comments on commit 4248b2f

Please sign in to comment.