This repository was archived by the owner on Aug 21, 2023. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -128,7 +128,9 @@ def facet_cut(
128128 if facet_name == "ERC20Facet" :
129129 if initializer_address != ZERO_ADDRESS and action != "remove" :
130130 erc20_initializer = ERC20Initializer .ERC20Initializer (initializer_address )
131- calldata = erc20_initializer .contract .init .encode_input (initializer_params [0 ], initializer_params [1 ])
131+ calldata = erc20_initializer .contract .init .encode_input (
132+ initializer_params [0 ], initializer_params [1 ]
133+ )
132134 elif facet_name == "TerminusFacet" :
133135 if initializer_address != ZERO_ADDRESS and action != "remove" :
134136 terminus_initializer = TerminusInitializer .TerminusInitializer (
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ def setUpClass(cls) -> None:
3939 "add" ,
4040 {"from" : accounts [0 ]},
4141 initializer .address ,
42- initializer_params = ["Moonstream DAO" , "MNSTR" ]
42+ initializer_params = ["Moonstream DAO" , "MNSTR" ],
4343 )
4444
4545 cls .erc20_initializer = initializer .address
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ def test_add_and_replace(self):
2424 "add" ,
2525 {"from" : accounts [0 ]},
2626 initializer .address ,
27- initializer_params = ["Moonstream DAO" , "MNSTR" ]
27+ initializer_params = ["Moonstream DAO" , "MNSTR" ],
2828 )
2929
3030 diamond_erc20 = ERC20Facet .ERC20Facet (diamond_address )
@@ -49,7 +49,7 @@ def test_add_and_replace(self):
4949 "replace" ,
5050 {"from" : accounts [0 ]},
5151 initializer .address ,
52- initializer_params = ["ROFL" , "LOL" ]
52+ initializer_params = ["ROFL" , "LOL" ],
5353 )
5454
5555 name = diamond_erc20 .name ()
@@ -77,7 +77,7 @@ def test_remove_facet(self):
7777 "add" ,
7878 {"from" : accounts [0 ]},
7979 initializer .address ,
80- initializer_params = ["Moonstream DAO" , "MNSTR" ]
80+ initializer_params = ["Moonstream DAO" , "MNSTR" ],
8181 )
8282
8383 diamond_erc20 = ERC20Facet .ERC20Facet (diamond_address )
You can’t perform that action at this time.
0 commit comments