File tree Expand file tree Collapse file tree 1 file changed +4
-9
lines changed
Expand file tree Collapse file tree 1 file changed +4
-9
lines changed Original file line number Diff line number Diff line change @@ -112,15 +112,12 @@ async fn test_new_wallet_api() -> Result<(), Box<dyn std::error::Error>> {
112112 }
113113
114114 let provider = ProviderBuilder :: new ( ) . connect_http ( REPLICA_RPC . clone ( ) ) ;
115- let signer = PrivateKeySigner :: from_bytes ( & b256 ! (
116- "59c6995e998f97a5a0044966f0945389dc9e86dae88c7a8412f4603b6b78690d"
117- ) ) ?;
115+ let signer = PrivateKeySigner :: from_bytes ( & TEST_PRIVATE_KEY ) ?;
118116
119117 let delegation_address = Address :: from_str (
120118 & std:: env:: var ( "DELEGATION_ADDRESS" )
121- . unwrap_or_else ( |_| "0x90f79bf6eb2c4f870365e785982e1f101e93b906" . to_string ( ) ) ,
122- )
123- . unwrap ( ) ;
119+ . unwrap_or_else ( |_| DEFAULT_DELEGATION_ADDRESS . to_string ( ) ) ,
120+ ) ?;
124121
125122 let auth = Authorization {
126123 chain_id : U256 :: from ( provider. get_chain_id ( ) . await ?) ,
@@ -181,9 +178,7 @@ async fn test_withdrawal_proof_with_fallback() -> Result<(), Box<dyn std::error:
181178
182179 // If not targeting the withdrawal contract, it defaults back to the standard getProof
183180 // implementation
184- let signer = PrivateKeySigner :: from_bytes ( & b256 ! (
185- "59c6995e998f97a5a0044966f0945389dc9e86dae88c7a8412f4603b6b78690d"
186- ) ) ?;
181+ let signer = PrivateKeySigner :: from_bytes ( & TEST_PRIVATE_KEY ) ?;
187182
188183 let eoa_response: EIP1186AccountProofResponse = provider
189184 . client ( )
You can’t perform that action at this time.
0 commit comments