I'm trying to understand whether notional resets on a floating-floating cross-currency basis swap play a role or not when the coupon payments are SOFR-based (with no spread) and they are discounted with the same SOFR rate.
From section 6.5.2.3 in Andersen-Piterbarg, we have \begin{align*} V_\text{basisswap,\\\$}(0) =& L_{\\\$}(0,t_i,t_{i+1})\tau_i P_{\\\$}(0,t_{i+1})+P_{\\\$}(0,t_n) \\ &-X(0)\left(\sum_{i=0}^{n-1}(L_{\yen}(0,t_i,t_{i+1})+e_{\yen})\tau_iP_{\yen}(0,t_{i+1})+P_{\yen}(0,t_n)\right) \\ =&1-X(0) \\ &\left(\sum_{i=0}^{n-1}\left(\frac{P^{(L)}_{\yen}(0,t_i)}{P^{(L)}_{\yen}(0,t_{i+1})}-1+e_{\yen}\tau_i\right)P_{\yen}(0,t_{i+1})+P_{\yen}(0,t_n)\right) \end{align*}
with $e_\yen^\text{par}$ being the market quotes making the basis swap $V_\text{basisswap,\\\$}(0)$ price at par.
The equality above was based on the assumption that the Libor discount curve was the same as the real discount curve. This is no longer true when using Libor rates for the coupons and OIS discounting, but what if coupons are RFR-based? Also what about the notional resets? My understanding is that these cancel out.