func B
crossing ActionB is a crossing function that prints the captured chain reached via .Previous() walks and asserts parity with unsafe.CurrentRealm() / unsafe.PreviousRealm() at the cross-callee position. The chain-root case is covered separately by zrealm_cur_parity.
Chain layout for callsite main -> curchain_a.A -> curchain_b.B: