@@ -435,7 +435,7 @@ impl Cheatcode for getChainIdCall {
435435impl Cheatcode for chainIdCall {
436436 fn apply_stateful ( & self , ccx : & mut CheatsCtxt ) -> Result {
437437 let Self { newChainId } = self ;
438- ensure ! ( * newChainId <= U256 :: from( u64 :: MAX ) , "chain ID must be less than 2^64 - 1 " ) ;
438+ ensure ! ( * newChainId <= U256 :: from( u64 :: MAX ) , "chain ID must be less than 2^64" ) ;
439439 ccx. ecx . cfg . chain_id = newChainId. to ( ) ;
440440 Ok ( Default :: default ( ) )
441441 }
@@ -465,7 +465,7 @@ impl Cheatcode for difficultyCall {
465465impl Cheatcode for feeCall {
466466 fn apply_stateful ( & self , ccx : & mut CheatsCtxt ) -> Result {
467467 let Self { newBasefee } = self ;
468- ensure ! ( * newBasefee <= U256 :: from( u64 :: MAX ) , "base fee must be less than 2^64 - 1 " ) ;
468+ ensure ! ( * newBasefee <= U256 :: from( u64 :: MAX ) , "base fee must be less than 2^64" ) ;
469469 ccx. ecx . block . basefee = newBasefee. saturating_to ( ) ;
470470 Ok ( Default :: default ( ) )
471471 }
@@ -542,7 +542,7 @@ impl Cheatcode for getBlockNumberCall {
542542impl Cheatcode for txGasPriceCall {
543543 fn apply_stateful ( & self , ccx : & mut CheatsCtxt ) -> Result {
544544 let Self { newGasPrice } = self ;
545- ensure ! ( * newGasPrice <= U256 :: from( u64 :: MAX ) , "gas price must be less than 2^64 - 1 " ) ;
545+ ensure ! ( * newGasPrice <= U256 :: from( u64 :: MAX ) , "gas price must be less than 2^64" ) ;
546546 ccx. ecx . tx . gas_price = newGasPrice. saturating_to ( ) ;
547547 Ok ( Default :: default ( ) )
548548 }
@@ -946,7 +946,7 @@ impl Cheatcode for broadcastRawTransactionCall {
946946impl Cheatcode for setBlockhashCall {
947947 fn apply_stateful ( & self , ccx : & mut CheatsCtxt ) -> Result {
948948 let Self { blockNumber, blockHash } = * self ;
949- ensure ! ( blockNumber <= U256 :: from( u64 :: MAX ) , "blockNumber must be less than 2^64 - 1 " ) ;
949+ ensure ! ( blockNumber <= U256 :: from( u64 :: MAX ) , "blockNumber must be less than 2^64" ) ;
950950 ensure ! (
951951 blockNumber <= U256 :: from( ccx. ecx. block. number) ,
952952 "block number must be less than or equal to the current block number"
0 commit comments