@@ -57,7 +57,7 @@ def test_build_transaction_not_paying_to_nonpayable_function(
5757 'data' : '0xe4cb8f5c' ,
5858 'value' : 0 ,
5959 'gasPrice' : 1 ,
60- 'chainId' : None ,
60+ 'chainId' : 1 ,
6161 }
6262
6363
@@ -78,7 +78,7 @@ def test_build_transaction_with_contract_no_arguments(web3, math_contract, build
7878 'data' : '0xd09de08a' ,
7979 'value' : 0 ,
8080 'gasPrice' : 1 ,
81- 'chainId' : None ,
81+ 'chainId' : 1 ,
8282 }
8383
8484
@@ -89,7 +89,7 @@ def test_build_transaction_with_contract_fallback_function(web3, fallback_functi
8989 'data' : '0x' ,
9090 'value' : 0 ,
9191 'gasPrice' : 1 ,
92- 'chainId' : None ,
92+ 'chainId' : 1 ,
9393 }
9494
9595
@@ -108,7 +108,7 @@ def test_build_transaction_with_contract_class_method(
108108 'data' : '0xd09de08a' ,
109109 'value' : 0 ,
110110 'gasPrice' : 1 ,
111- 'chainId' : None ,
111+ 'chainId' : 1 ,
112112 }
113113
114114
@@ -122,7 +122,7 @@ def test_build_transaction_with_contract_default_account_is_set(
122122 'data' : '0xd09de08a' ,
123123 'value' : 0 ,
124124 'gasPrice' : 1 ,
125- 'chainId' : None ,
125+ 'chainId' : 1 ,
126126 }
127127
128128
@@ -136,7 +136,7 @@ def my_gas_price_strategy(web3, transaction_params):
136136 'data' : '0xd09de08a' ,
137137 'value' : 0 ,
138138 'gasPrice' : 5 ,
139- 'chainId' : None ,
139+ 'chainId' : 1 ,
140140 }
141141
142142
@@ -164,31 +164,31 @@ def test_build_transaction_with_contract_to_address_supplied_errors(web3,
164164 (
165165 {}, (5 ,), {}, {
166166 'data' : '0x7cf5dab00000000000000000000000000000000000000000000000000000000000000005' , # noqa: E501
167- 'value' : 0 , 'gasPrice' : 1 , 'chainId' : None ,
167+ 'value' : 0 , 'gasPrice' : 1 , 'chainId' : 1 ,
168168 }, False
169169 ),
170170 (
171171 {'gas' : 800000 }, (5 ,), {}, {
172172 'data' : '0x7cf5dab00000000000000000000000000000000000000000000000000000000000000005' , # noqa: E501
173- 'value' : 0 , 'gasPrice' : 1 , 'chainId' : None ,
173+ 'value' : 0 , 'gasPrice' : 1 , 'chainId' : 1 ,
174174 }, False
175175 ),
176176 (
177177 {'gasPrice' : 21000000000 }, (5 ,), {}, {
178178 'data' : '0x7cf5dab00000000000000000000000000000000000000000000000000000000000000005' , # noqa: E501
179- 'value' : 0 , 'gasPrice' : 21000000000 , 'chainId' : None ,
179+ 'value' : 0 , 'gasPrice' : 21000000000 , 'chainId' : 1 ,
180180 }, False
181181 ),
182182 (
183183 {'nonce' : 7 }, (5 ,), {}, {
184184 'data' : '0x7cf5dab00000000000000000000000000000000000000000000000000000000000000005' , # noqa: E501
185- 'value' : 0 , 'gasPrice' : 1 , 'nonce' : 7 , 'chainId' : None ,
185+ 'value' : 0 , 'gasPrice' : 1 , 'nonce' : 7 , 'chainId' : 1 ,
186186 }, True
187187 ),
188188 (
189189 {'value' : 20000 }, (5 ,), {}, {
190190 'data' : '0x7cf5dab00000000000000000000000000000000000000000000000000000000000000005' , # noqa: E501
191- 'value' : 20000 , 'gasPrice' : 1 , 'chainId' : None ,
191+ 'value' : 20000 , 'gasPrice' : 1 , 'chainId' : 1 ,
192192 }, False
193193 ),
194194 ),
0 commit comments